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