TCL_obj_templates.h File Reference
#include "TCL_obj_base.h"
Include dependency graph for TCL_obj_templates.h:

Go to the source code of this file.

Classes

struct  ecolab::TCL_obj_checkr< T >
 
struct  ecolab::array_handler< Object >
 
struct  classdesc_access::access_pack< ecolab::TCL_obj_ref< T > >
 
struct  classdesc_access::access_unpack< ecolab::TCL_obj_ref< T > >
 
struct  classdesc_access::access_TCL_obj< classdesc::ref< T > >
 

Namespaces

 ecolab
 _OPENMP
 
 classdesc_access
 Contains access_* structs, and nothing else. These structs are used to gain access to private members.
 

Macros

#define make_model(x)
 TCL register the object x with same name. More...
 
#define register(x)
 TCL register the object x with same name. More...
 
#define TCLTYPE(x)   TCLTYPEBASE(x,x,)
 TCL register the type x.
 
#define TCLTYPEARGS(x)   TCLTYPEBASE(x,x,(largv))
 
#define TCLPOLYTYPE(x, itf)   TCLTYPEBASE(x,itf,)
 
#define TCLPOLYTYPEARGS(x, itf)   TCLTYPEBASE(x,itf,(largv))
 
#define TCLTYPEBASE(x, itf, contructorArgs)
 

Functions

template<class T >
enable_if< Not< is_container< T > >, void >::T ecolab::TCL_objp (TCL_obj_t &t, const classdesc::string &desc, T &arg, dummy< 0 > d=0)
 
template<class T >
void ecolab::TCL_obj (TCL_obj_t &, const string &, T &)
 
template<class T >
void ecolab::TCL_obj_onbase (TCL_obj_t &, const string &, T &)
 
template<class T >
int ecolab::TCL_obj_init (T &x)
 
template<class T >
void ecolab::tclret (const T &)
 
void ecolab::tclret (const char &x)
 
void ecolab::tclret (const signed char &x)
 
void ecolab::tclret (const unsigned char &x)
 
void ecolab::tclret (const int &x)
 
void ecolab::tclret (const unsigned int &x)
 
void ecolab::tclret (const long &x)
 
void ecolab::tclret (const unsigned long &x)
 
void ecolab::tclret (const short &x)
 
void ecolab::tclret (const unsigned short &x)
 
void ecolab::tclret (const bool &x)
 
void ecolab::tclret (const float &x)
 
void ecolab::tclret (const double &x)
 
void ecolab::tclret (const long double &x)
 
template<class T >
void ecolab::asgtclret (T &x, TCL_args &y)
 
void ecolab::asgtclret (int &x, TCL_args &y)
 
void ecolab::asgtclret (unsigned int &x, TCL_args &y)
 
void ecolab::asgtclret (long &x, TCL_args &y)
 
void ecolab::asgtclret (bool &x, TCL_args &y)
 
void ecolab::asgtclret (float &x, TCL_args &y)
 
void ecolab::asgtclret (double &x, TCL_args &y)
 
template<class T >
bool ecolab::is_simpletype (const T &x)
 
bool ecolab::is_simpletype (const char &x)
 
bool ecolab::is_simpletype (const signed char &x)
 
bool ecolab::is_simpletype (const unsigned char &x)
 
bool ecolab::is_simpletype (const int &x)
 
bool ecolab::is_simpletype (const unsigned int &x)
 
bool ecolab::is_simpletype (const long &x)
 
bool ecolab::is_simpletype (const unsigned long &x)
 
bool ecolab::is_simpletype (const short &x)
 
bool ecolab::is_simpletype (const unsigned short &x)
 
bool ecolab::is_simpletype (const bool &x)
 
bool ecolab::is_simpletype (const float &x)
 
bool ecolab::is_simpletype (const double &x)
 
bool ecolab::is_simpletype (const long double &x)
 
template<class T >
void ecolab::TCL_obj (TCL_obj_t &targ, const string &desc, classdesc::is_array ia, T &arg, int dims,...)
 
template<class T >
void ecolab::TCL_obj (TCL_obj_t &targ, const string &desc, classdesc::is_treenode dum, T &arg)
 
template<class T >
void ecolab::TCL_obj (TCL_obj_t &targ, const string &desc, classdesc::is_graphnode dum, T &arg)
 
template<class T , class CharT , class Traits >
classdesc::enable_if< And< classdesc::Not< classdesc::is_enum< T > >, Not< is_container< T > > >, std::basic_istream< CharT, Traits > & >::T ecolab::operator>> (std::basic_istream< CharT, Traits > &x, T &y)
 
template<class T , class CharT , class Traits >
classdesc::enable_if< classdesc::is_enum< T >, std::basic_istream< CharT, Traits > & >::T ecolab::operator>> (std::basic_istream< CharT, Traits > &x, T &y)
 
template<class T >
std::istream & ecolab::operator>> (std::istream &i, ecolab::ref< T > &a)
 
template<class T >
eco_strstream & ecolab::operator| (eco_strstream &o, ecolab::ref< T > &a)
 
template<class T >
TCL_args & ecolab::operator>> (TCL_args &a, T &x)
 

Macro Definition Documentation

◆ make_model

#define make_model (   x)
Value:
namespace x##_ns { \
DEFINE_ECOLAB_LIBRARY; \
int TCL_obj_##x=(ecolab::TCL_obj_init(x),TCL_obj(ecolab::null_TCL_obj,(std::string)#x,x),1); \
}
classdesc::TCL_obj_t null_TCL_obj
a null TCL_obj_t suitable for nothing if needed.

TCL register the object x with same name.

◆ register

#define register (   x)
Value:
static int \
TCL_obj_register_##x=(ecolab::TCL_obj_register(ecolab::null_TCL_obj,(string)#x,x), \
TCL_obj(ecolab::null_TCL_obj,(string)#x,x),1)
classdesc::TCL_obj_t null_TCL_obj
a null TCL_obj_t suitable for nothing if needed.

TCL register the object x with same name.