SML::SHAPEOBJECT Class Reference

#include <sml/shapeobject.h>

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

List of all members.

Public Member Functions

RVC::SHAPEGetInterface () const
void SetInterface (RVC::SHAPE *obj)

Member Function Documentation

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.


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

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