#include <sml/cadobject.h>

Public Member Functions | |
| CADBLOCK * | GetBlock () const |
| RVC::CAD * | GetInterface () const |
| void | SetBlock (CADBLOCK *block) |
| void | SetInterface (RVC::CAD *obj) |
| CADBLOCK* SML::CADOBJECT::GetBlock | ( | ) | const |
current block being accessed
| RVC::CAD* SML::CADOBJECT::GetInterface | ( | ) | const |
Get a pointer to the RVC::CAD interface class.
Do NOT free this pointer. It will be destroyed when the SMLOBJECT is destroyed. The interface returned is Attached to the object but may or may not be open. If the SMLBOJECT does not refer to any existing real object, this method will return NULL.
| void SML::CADOBJECT::SetBlock | ( | CADBLOCK * | block | ) |
| void SML::CADOBJECT::SetInterface | ( | RVC::CAD * | obj | ) |
Set a pointer to the RVC::CAD interface class.
After setting the interface, the SMLOBJECT "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 SMLOBJECT is implemented in rvcsys.dll it does not have have access to the copy constructor.
1.6.1