SML::CADOBJECT Class Reference

#include <sml/cadobject.h>

Inheritance diagram for SML::CADOBJECT:
Inheritance graph
[legend]

List of all members.

Public Member Functions

CADBLOCKGetBlock () const
RVC::CADGetInterface () const
void SetBlock (CADBLOCK *block)
void SetInterface (RVC::CAD *obj)

Member Function Documentation

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.


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

Generated on Sun Oct 7 21:39:07 2012 for TNTsdk 2012 by  doxygen 1.6.1