HQP  1.9.6
If_StdString Class Reference

Interface variable of standard string type. More...

#include <If_StdString.h>

Inheritance diagram for If_StdString:
[legend]

Public Member Functions

 If_StdString (const char *ifName, If_GetIf< If_StdString_t > *getCb, If_SetIf< If_StdString_t > *setCb=NULL)
 Constructor taking callback methods as arguments. More...
 
- Public Member Functions inherited from If_Variable< If_StdString_t >
virtual ~If_Variable ()
 Destructor.
 
virtual If_StdString_t get () const
 Get value of interface variable.
 
virtual void set (If_StdString_tvalue)
 Set value of interface variable.
 
- Public Member Functions inherited from If_Element
 If_Element (const char *ifName)
 constructor
 
virtual ~If_Element ()
 destructor
 
const char * ifName ()
 get interface name
 
- Public Member Functions inherited from If_ListElement
 If_ListElement ()
 constructor
 
virtual ~If_ListElement ()
 destructor
 

Protected Member Functions

int getTclObj (Tcl_Interp *)
 Get the value of the interface variable and create a Tcl object containing it. More...
 
int setTclObj (Tcl_Interp *, Tcl_Obj *CONST objPtr)
 Convert Tcl object to internal type and set the value of the interface variable. More...
 
- Protected Member Functions inherited from If_Variable< If_StdString_t >
 If_Variable (const char *ifName, If_GetIf< If_StdString_t > *getCb, If_SetIf< If_StdString_t > *setCb=NULL)
 Constructor taking callback methods as arguments. More...
 
int invoke (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
 Process command invokation.
 

Additional Inherited Members

- Protected Attributes inherited from If_Variable< If_StdString_t >
If_GetIf< If_StdString_t > * _getCb
 callback for reading
 
If_SetIf< If_StdString_t > * _setCb
 callback for writing
 

Detailed Description

Interface variable of standard string type.

Constructor & Destructor Documentation

If_StdString::If_StdString ( const char *  ifName,
If_GetIf< If_StdString_t > *  getCb,
If_SetIf< If_StdString_t > *  setCb = NULL 
)
inline

Constructor taking callback methods as arguments.

Member Function Documentation

int If_StdString::getTclObj ( Tcl_Interp *  )
protectedvirtual

Get the value of the interface variable and create a Tcl object containing it.

Implements If_Variable< If_StdString_t >.

int If_StdString::setTclObj ( Tcl_Interp *  ,
Tcl_Obj *CONST  objPtr 
)
protectedvirtual

Convert Tcl object to internal type and set the value of the interface variable.

Implements If_Variable< If_StdString_t >.

References If_Variable< If_StdString_t >::set().


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