Yate
|
Object wrapper for evaluation. More...
#include <yatescript.h>
Public Member Functions | |
ExpWrapper (GenObject *object, const char *name=0) | |
virtual | ~ExpWrapper () |
virtual void * | getObject (const String &name) const |
virtual ExpOperation * | clone (const char *name) const |
GenObject * | object () const |
Object wrapper for evaluation.
Helper class that allows wrapping entire objects in an operation
ExpWrapper | ( | GenObject * | object, |
const char * | name = 0 |
||
) | [inline] |
Constructor
object | Pointer to the object to wrap |
name | Optional name of the wrapper |
virtual ~ExpWrapper | ( | ) | [inline, virtual] |
Destuctor, deletes the held object
References TelEngine::destruct().
virtual ExpOperation* clone | ( | const char * | name | ) | const [virtual] |
Clone and rename method
name | Name of the cloned operation |
Reimplemented from ExpOperation.
Get a pointer to a derived class given that class name
name | Name of the class we are asking for |
Reimplemented from NamedString.