#include <lktypebase.h>
Inheritance diagram for look::LookTypeBase::
Public Methods | |
LookTypeBase () | |
Constructor. | |
virtual | ~LookTypeBase () |
Destructor. | |
LookTypeBase (LookTypeBase &theOther) | |
Copy constructor. | |
virtual LookTypeBase* | GetNewCopy (void) const=0 |
Virtual copy constructor. | |
virtual long | GetTypeID (void) const=0 |
Pseudo-RTTI. |
The database interface (LookDbLibrary) uses LookTypeBase pointers to pass its data round.
Given a LookTypeBase pointer, you can find out its actual type using GetTypeID, and then cast/act appropriately.