#include <sml/shapeobject.h>

Public Member Functions | |
| RVC::SHAPE * | GetInterface () const |
| void | SetInterface (RVC::SHAPE *obj) |
| RVC::SHAPE* SML::SHAPEOBJECT::GetInterface | ( | ) | const |
Get a pointer to the RVC::SHAPE interface class.
Do NOT free this pointer. It will be destroyed when the SML::OBJECT is destroyed. The interface returned is Attached to the object but may or may not be open. If the SML::BOJECT does not refer to any existing real object, this method will return NULL.
| void SML::SHAPEOBJECT::SetInterface | ( | RVC::SHAPE * | obj | ) |
Set a pointer to the RVC::SHAPE interface class.
After setting the interface, the SML::OBJECT "owns" it and will delete it in its own destructor. Do not under any circumstances pass a pointer to an local variable that will go out of scope. Since SML::OBJECT is implemented in rvcsys.dll it does not have have access to the copy constructor.
1.6.1