Minsky
minsky::ItemT< T, Base > Struct Template Reference

#include <typescriptAPI_base.h>

Inheritance diagram for minsky::ItemT< T, Base >:
Inheritance graph
Collaboration diagram for minsky::ItemT< T, Base >:
Collaboration graph

Public Member Functions

std::string classType () const override
 
ItemTclone () const override
 
void TCL_obj (classdesc::TCL_obj_t &t, const std::string &d) override
 
void RESTProcess (classdesc::RESTProcess_t &rp, const std::string &d) override
 dummy template definition for use with gui executable More...
 
void RESTProcess (classdesc::RESTProcess_t &rp, const std::string &d) const override
 
void json_pack (classdesc::json_pack_t &j) const override
 
 ItemT ()=default
 
 ItemT (const ItemT &)=default
 
ItemToperator= (const ItemT &)=default
 
 ItemT (ItemT &&)=delete
 
ItemToperator= (ItemT &&)=delete
 

Detailed Description

template<class T, class Base = Item>
struct minsky::ItemT< T, Base >

curiously recursive template pattern for generating overrides

Definition at line 11 of file typescriptAPI_base.h.

Constructor & Destructor Documentation

◆ ItemT() [1/3]

template<class T, class Base = Item>
minsky::ItemT< T, Base >::ItemT ( )
default

◆ ItemT() [2/3]

template<class T, class Base = Item>
minsky::ItemT< T, Base >::ItemT ( const ItemT< T, Base > &  )
default

◆ ItemT() [3/3]

template<class T, class Base = Item>
minsky::ItemT< T, Base >::ItemT ( ItemT< T, Base > &&  )
delete

Member Function Documentation

◆ classType()

◆ clone()

template<class T, class Base = Item>
ItemT* minsky::ItemT< T, Base >::clone ( ) const
inlineoverride

◆ json_pack()

template<class T , class B >
void minsky::ItemT< T, B >::json_pack ( classdesc::json_pack_t &  j) const
inlineoverride

Reimplemented in minsky::ItemT< Ravel, Operation< OperationType::ravel > >, minsky::ItemT< IntOp, Operation< minsky::OperationType::integrate > >, and minsky::ItemT< UserFunction, Operation< OperationType::userFunction > >.

Definition at line 51 of file itemT.h.

Referenced by minsky::ItemT< UserFunction, Operation< OperationType::userFunction > >::json_pack().

52  {::json_pack(j,"",dynamic_cast<const T&>(*this));}
void json_pack(classdesc::json_pack_t &j) const override
Definition: itemT.h:51
Here is the caller graph for this function:

◆ operator=() [1/2]

template<class T, class Base = Item>
ItemT& minsky::ItemT< T, Base >::operator= ( const ItemT< T, Base > &  )
default

◆ operator=() [2/2]

template<class T, class Base = Item>
ItemT& minsky::ItemT< T, Base >::operator= ( ItemT< T, Base > &&  )
delete

◆ RESTProcess() [1/2]

template<class T , class B >
void minsky::ItemT< T, B >::RESTProcess ( classdesc::RESTProcess_t &  rp,
const std::string &  d 
)
inlineoverride

dummy template definition for use with gui executable

Definition at line 47 of file itemT.h.

Referenced by minsky::ItemT< UserFunction, Operation< OperationType::userFunction > >::RESTProcess().

48  {::RESTProcess(rp,d,dynamic_cast<T&>(*this));}
void RESTProcess(classdesc::RESTProcess_t &rp, const std::string &d) override
dummy template definition for use with gui executable
Definition: itemT.h:47
Here is the caller graph for this function:

◆ RESTProcess() [2/2]

template<class T , class B >
void minsky::ItemT< T, B >::RESTProcess ( classdesc::RESTProcess_t &  rp,
const std::string &  d 
) const
inlineoverride

Definition at line 49 of file itemT.h.

50  {::RESTProcess(rp,d,dynamic_cast<const T&>(*this));}
void RESTProcess(classdesc::RESTProcess_t &rp, const std::string &d) override
dummy template definition for use with gui executable
Definition: itemT.h:47

◆ TCL_obj()

template<class T, class Base = Item>
void minsky::ItemT< T, Base >::TCL_obj ( classdesc::TCL_obj_t &  t,
const std::string &  d 
)
inlineoverride

Reimplemented in minsky::ItemT< Ravel, Operation< OperationType::ravel > >, minsky::ItemT< IntOp, Operation< minsky::OperationType::integrate > >, and minsky::ItemT< UserFunction, Operation< OperationType::userFunction > >.

Definition at line 45 of file itemT.h.

Referenced by minsky::ItemT< UserFunction, Operation< OperationType::userFunction > >::TCL_obj().

46  {::TCL_obj(t,d,*dynamic_cast<T*>(this));}
void TCL_obj(classdesc::TCL_obj_t &t, const std::string &d) override
Definition: itemT.h:45
Here is the caller graph for this function:

The documentation for this struct was generated from the following files: