Class Spinnaker::GenApi::CPointer¶
Encapsulates a GenApi pointer dealing with the dynamic_cast automatically.
#include <Pointer.h>
Public Functions¶
| Type | Name |
|---|---|
| CPointer (void) |
|
| CPointer (B * pB) |
|
| bool | IsValid () const |
| operator T* (void) const |
|
| operator bool (void) const |
|
| bool | operator!= (const CPointer< T, B > & rT) const |
| bool | operator!= (T * pT) const |
| bool | operator!= (const long int nMustBeNull) const |
| bool | operator!= (const int nMustBeNull) const |
| bool | operator!= (const std::nullptr_t nullPtr) const |
| T & | operator() (void) const |
| T & | operator* (void) const |
| T * | operator-> (void) const |
| void | operator= (B * pB) |
| bool | operator== (T * pT) const |
| bool | operator== (const CPointer< T, B > & rT) const |
| bool | operator== (int nMustBeNull) const |
| virtual | ~CPointer (void) |
Protected Attributes¶
| Type | Name |
|---|---|
| T * | m_pT |
Public Functions Documentation¶
function CPointer [1/2]¶
Default constructor.
function CPointer [2/2]¶
Constructor from INode pointer type.
function IsValid¶
true if the pointer is valid
function operator T*¶
Dereferencing
function operator bool¶
true if the pointer is valid
function operator!=¶
pointer inequal
function operator!=¶
pointer inequal
function operator!=¶
pointer inequal
function operator!=¶
pointer inequal
function operator!=¶
pointer inequal
function operator()¶
Dereferencing
function operator*¶
Dereferencing
function operator->¶
Dereferencing
function operator=¶
Assign INode Pointer
function operator==¶
pointer equal
function operator==¶
pointer equal
function operator==¶
pointer equal
function ~CPointer¶
Protected Attributes Documentation¶
variable m_pT¶
Underlying raw pointer.
The documentation for this class was generated from the following file C:/workspace/include/SpinGenApi/Pointer.h