#include <SOMEObject.h>
Inheritance diagram for SOME::SmartObject:
Public Methods | |
SmartObject (const SOME::ClassCatalog& cat) | |
Create a SmartObject which will hold an object of the class represented by the SOME::ClassCatalog when construct is called. More... | |
SmartObject (const SmartObject& r) | |
Copy constructor. More... | |
~SmartObject () | |
Destructor. More... | |
SmartObject& | operator= (const SmartObject& r) |
Assignment operator. More... | |
virtual BaseClass* | get () const |
Returns the pointer SmartObject contains. More... |
It also holds a pointer to classes defined within the plugin library. However, it will automatically deletion the object when no more SmartObject's refer to the object. It is instanciated with your plugin's base class and the ClassInfo for the plugin. The construct members are used to call the constructor for the plugin class. SmartObject (through its base class) overloads all operators necessary for it to work exactly as a pointer to the BaseClass.
Definition at line 211 of file SOMEObject.h.
|
Create a SmartObject which will hold an object of the class represented by the SOME::ClassCatalog when construct is called.
Definition at line 219 of file SOMEObject.h. |
|
Copy constructor.
Definition at line 227 of file SOMEObject.h. |
|
Destructor.
Definition at line 233 of file SOMEObject.h. |
|
Returns the pointer SmartObject contains.
Reimplemented from SOME::ObjectBase. Definition at line 248 of file SOMEObject.h. |
|
Assignment operator.
Definition at line 239 of file SOMEObject.h. |