A reference to a bool which can bei either an bool variable, or a pointer to an IInteger, an IEnumeration, or an IBoolean. More...
#include <PolyReference.h>
Public Member Functions | |
CBooleanPolyRef () | |
Constructor. | |
ECachingMode | GetCachingMode () const |
GENICAM_NAMESPACE::gcstring | GetName () const |
INodePrivate * | GetPointer () const |
returns the pointer referenced | |
bool | GetValue (bool Verify=false, bool IgnoreCache=false) const |
see IBoolean interface | |
bool | IsInitialized () const |
True if the object is initilaized. | |
bool | IsPointer () const |
True if the object references a pointer. | |
operator INode * (void) const | |
cast to INode (may be zero) | |
void | operator= (bool Value) |
set integer value | |
void | operator= (IBase *pValue) |
set pointer | |
void | SetValue (bool Value, bool Verify=true) |
see IBoolean interface | |
Protected Types | |
enum | _EType { typeUninitialized, typeValue, typeIInteger, typeIEnumeration, typeIBoolean } |
possible types of the internally held pointer More... | |
typedef enum GENAPI_NAMESPACE::CBooleanPolyRef::_EType | EType |
possible types of the internally held pointer | |
Protected Attributes | |
EType | m_Type |
the type of the internally held pointer | |
union { | |
IBoolean * pBoolean | |
> Enumeration node | |
IEnumeration * pEnumeration | |
> Integer node | |
IInteger * pInteger | |
> fixed value | |
bool Value | |
} | m_Value |
the place to store the value or the pointers to the nodes to get the value from |
A reference to a bool which can bei either an bool variable, or a pointer to an IInteger, an IEnumeration, or an IBoolean.
Definition at line 446 of file PolyReference.h.
typedef enum GENAPI_NAMESPACE::CBooleanPolyRef::_EType GENAPI_NAMESPACE::CBooleanPolyRef::EType [protected] |
possible types of the internally held pointer
enum GENAPI_NAMESPACE::CBooleanPolyRef::_EType [protected] |
possible types of the internally held pointer
Definition at line 603 of file PolyReference.h.
GENAPI_NAMESPACE::CBooleanPolyRef::CBooleanPolyRef | ( | ) | [inline] |
Constructor.
Definition at line 450 of file PolyReference.h.
ECachingMode GENAPI_NAMESPACE::CBooleanPolyRef::GetCachingMode | ( | ) | const [inline] |
Definition at line 582 of file PolyReference.h.
GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CBooleanPolyRef::GetName | ( | ) | const [inline] |
Definition at line 457 of file PolyReference.h.
INodePrivate* GENAPI_NAMESPACE::CBooleanPolyRef::GetPointer | ( | ) | const [inline] |
returns the pointer referenced
Definition at line 509 of file PolyReference.h.
bool GENAPI_NAMESPACE::CBooleanPolyRef::GetValue | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | const [inline] |
see IBoolean interface
Definition at line 537 of file PolyReference.h.
bool GENAPI_NAMESPACE::CBooleanPolyRef::IsInitialized | ( | ) | const [inline] |
True if the object is initilaized.
Definition at line 503 of file PolyReference.h.
bool GENAPI_NAMESPACE::CBooleanPolyRef::IsPointer | ( | ) | const [inline] |
True if the object references a pointer.
Definition at line 497 of file PolyReference.h.
GENAPI_NAMESPACE::CBooleanPolyRef::operator INode * | ( | void | ) | const [inline] |
cast to INode (may be zero)
Definition at line 531 of file PolyReference.h.
void GENAPI_NAMESPACE::CBooleanPolyRef::operator= | ( | bool | Value | ) | [inline] |
set integer value
Definition at line 468 of file PolyReference.h.
void GENAPI_NAMESPACE::CBooleanPolyRef::operator= | ( | IBase * | pValue | ) | [inline] |
set pointer
Definition at line 475 of file PolyReference.h.
void GENAPI_NAMESPACE::CBooleanPolyRef::SetValue | ( | bool | Value, |
bool | Verify = true |
||
) | [inline] |
see IBoolean interface
Definition at line 558 of file PolyReference.h.
EType GENAPI_NAMESPACE::CBooleanPolyRef::m_Type [protected] |
the type of the internally held pointer
Definition at line 613 of file PolyReference.h.
union { ... } GENAPI_NAMESPACE::CBooleanPolyRef::m_Value [protected] |
the place to store the value or the pointers to the nodes to get the value from
> Enumeration node
Definition at line 621 of file PolyReference.h.
> Integer node
Definition at line 620 of file PolyReference.h.
> fixed value
Definition at line 619 of file PolyReference.h.
Definition at line 618 of file PolyReference.h.