![]() |
GenApi
3.5.1
|
Encapsulates a GenApi pointer dealing with the dynamic_cast automatically.
Public Member Functions | |
| CPointer (void) throw () | |
| Default constructor. | |
| CPointer (B *pB) | |
| Constructor from INode pointer type. | |
| CPointer & | operator= (B *pB) |
| Assign INode Pointer. | |
| operator T* (void) const | |
| Dereferencing. | |
| T & | operator* (void) const |
| Dereferencing. | |
| T & | operator() (void) const |
| Dereferencing. | |
| T * | operator-> (void) const |
| Dereferencing. | |
| bool | IsValid () const throw () |
| true if the pointer is valid | |
| operator bool (void) const throw () | |
| true if the pointer is valid | |
| bool | operator== (T *pT) const |
| pointer equal | |
| bool | operator== (const CPointer< T, B > &rT) const |
| pointer equal | |
| bool | operator== (int nMustBeNull) const |
| pointer equal | |
Protected Attributes | |
| T * | m_pT |
| Underlying raw pointer. | |
1.8.13