A reference to a gcstring which can be either a gcstring variable, or a pointer to an IString. More...
#include <PolyReference.h>
Public Member Functions | |
| CStringPolyRef () | |
| Constructor. More... | |
| int64_t | GetMaxLength (bool Verify=false) |
| see IString interface More... | |
| GENICAM_NAMESPACE::gcstring | GetName () const |
| INodePrivate * | GetPointer () const |
| returns the pointer referenced More... | |
| GENICAM_NAMESPACE::gcstring | GetValue (bool Verify=false, bool IgnoreCache=false) const |
| see IString interface More... | |
| bool | IsInitialized () const |
| True if the object is initilaized. More... | |
| bool | IsPointer () const |
| True if the object references a pointer. More... | |
| bool | IsValue () const |
| True if the object references a pointer. More... | |
| bool | IsValueCacheValid () const |
| see IValue interface More... | |
| operator INode * (void) const | |
| cast to INode (may be zero) More... | |
| CStringPolyRef & | operator= (const GENICAM_NAMESPACE::gcstring &Value) |
| set string value More... | |
| CStringPolyRef & | operator= (IBase *pValue) |
| set pointer More... | |
| void | SetValue (const GENICAM_NAMESPACE::gcstring &Value, bool Verify=true) |
| see IString interface More... | |
Protected Types | |
| enum | _EType { typeUninitialized, typeValue, typeIString } |
| possible types of the internally held pointer More... | |
| typedef enum GENAPI_NAMESPACE::CStringPolyRef::_EType | EType |
| possible types of the internally held pointer More... | |
Protected Attributes | |
| EType | m_Type |
| the type of the internally held pointer More... | |
| struct { | |
| IString * pString | |
More... | |
| GENICAM_NAMESPACE::gcstring 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 gcstring which can be either a gcstring variable, or a pointer to an IString.
Definition at line 1064 of file PolyReference.h.
|
protected |
possible types of the internally held pointer
|
protected |
possible types of the internally held pointer
| Enumerator | |
|---|---|
| typeUninitialized | |
| typeValue | |
| typeIString | |
Definition at line 1222 of file PolyReference.h.
|
inline |
Constructor.
Definition at line 1068 of file PolyReference.h.
|
inline |
see IString interface
Definition at line 1183 of file PolyReference.h.
|
inline |
Definition at line 1075 of file PolyReference.h.
|
inline |
returns the pointer referenced
Definition at line 1123 of file PolyReference.h.
|
inline |
see IString interface
Definition at line 1147 of file PolyReference.h.
|
inline |
True if the object is initilaized.
Definition at line 1117 of file PolyReference.h.
|
inline |
True if the object references a pointer.
Definition at line 1111 of file PolyReference.h.
|
inline |
True if the object references a pointer.
Definition at line 1104 of file PolyReference.h.
|
inline |
see IValue interface
Definition at line 1203 of file PolyReference.h.
|
inline |
cast to INode (may be zero)
Definition at line 1141 of file PolyReference.h.
|
inline |
set string value
Definition at line 1086 of file PolyReference.h.
|
inline |
set pointer
Definition at line 1094 of file PolyReference.h.
|
inline |
see IString interface
Definition at line 1164 of file PolyReference.h.
|
protected |
the type of the internally held pointer
Definition at line 1230 of file PolyReference.h.
| struct { ... } GENAPI_NAMESPACE::CStringPolyRef::m_Value |
the place to store the value or the pointers to the nodes to get the value from
| IString* GENAPI_NAMESPACE::CStringPolyRef::pString |
fixed value
Definition at line 1236 of file PolyReference.h.
| GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CStringPolyRef::Value |
Definition at line 1235 of file PolyReference.h.