ecolab::TCL_accessor< F > Struct Template Reference

for accessors (overloaded getter/setters that pretend to be attributes) More...

#include <TCL_obj_base.h>

Inheritance diagram for ecolab::TCL_accessor< F >:
Inheritance graph
Collaboration diagram for ecolab::TCL_accessor< F >:
Collaboration graph

Public Member Functions

 TCL_accessor (const F &f)
 
void proc (int argc, Tcl_Obj *const argv[])
 
void proc (int, const char **)
 
- Public Member Functions inherited from ecolab::cmd_data
virtual void proc (int argc, CONST84 char **argv)=0
 
 cmd_data (const char *nm, int na=-1)
 

Public Attributes

const F & f
 
- Public Attributes inherited from ecolab::cmd_data
int nargs
 
string name
 
bool is_const
 true if this command doesn't affect the object's (or global state)
 
bool is_setterGetter
 true if this command is a setter/getter (no argument=getter, 1 or more arguments a setter)
 

Additional Inherited Members

- Public Types inherited from ecolab::cmd_data
enum  functor_class {
  invalid, memvoid, mem, func,
  nonconst
}
 

Detailed Description

template<class F>
struct ecolab::TCL_accessor< F >

for accessors (overloaded getter/setters that pretend to be attributes)


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