#include <IEnumerationT.h>
Public Member Functions | |
CEnumerationTRef () | |
virtual void | FromString (const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true) |
Set content of the node as string. | |
virtual EAccessMode | GetAccessMode () const |
Get the access mode of the node. | |
virtual IEnumEntry * | GetCurrentEntry (bool Verify=false, bool IgnoreCache=false) |
Get the current entry. | |
virtual void | GetEntries (NodeList_t &Entries) |
Get list of entry nodes. | |
virtual IEnumEntry * | GetEntry (const int64_t IntValue) |
Get an entry node by its IntValue. | |
virtual IEnumEntry * | GetEntry (const EnumT Value) |
returns the EnumEntry object belonging to the Value | |
virtual IEnumEntry * | GetEntryByName (const GENICAM_NAMESPACE::gcstring &Symbolic) |
Get an entry node by name. | |
virtual int64_t | GetIntValue (bool Verify=false, bool IgnoreCache=false) |
Get node value. | |
virtual INode * | GetNode () |
Get the INode interface of the node. | |
virtual void | GetSymbolics (StringList_t &Symbolics) |
Get list of symbolic Values. | |
virtual EnumT | GetValue (bool Verify=false, bool IgnoreCache=false) |
Get node value. | |
bool | IsValueCacheValid () const |
Checks if the value comes from cache or is requested from another node. | |
virtual EnumT | operator() () |
Get node value. | |
virtual GENICAM_NAMESPACE::gcstring | operator* () |
Get node value. | |
virtual IEnumeration & | operator= (const GENICAM_NAMESPACE::gcstring &ValueStr) |
Set node value. | |
virtual IEnumeration & | operator= (const char *pValueStr) |
Set node value. | |
virtual IEnumeration & | operator= (EnumT Value) |
Set node value. | |
virtual void | SetEnumReference (int Index, GENICAM_NAMESPACE::gcstring Name) |
sets the Enum value corresponding to a value | |
virtual void | SetIntValue (int64_t Value, bool Verify=true) |
Set node value. | |
virtual void | SetNumEnums (int NumEnums) |
sets the number of enum values | |
virtual void | SetReference (IBase *ptr) |
sets the implementation to the reference | |
virtual void | SetValue (EnumT Value, bool Verify=true) |
Set node value. | |
virtual GENICAM_NAMESPACE::gcstring | ToString (bool Verify=false, bool IgnoreCache=false) |
Get content of the node as string. | |
Protected Attributes | |
std::vector< bool > | m_EnumExists |
Indicates it an enum with a given index exists. | |
std::vector< int64_t > | m_EnumValues |
The values for enums with a given index. | |
IEnumeration * | m_Ptr |
Pointer to the implementation the reference references to. |
Definition at line 100 of file IEnumerationT.h.
GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::CEnumerationTRef | ( | ) | [inline] |
Definition at line 104 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::FromString | ( | const GENICAM_NAMESPACE::gcstring & | ValueStr, |
bool | Verify = true |
||
) | [inline, virtual] |
Set content of the node as string.
Definition at line 186 of file IEnumerationT.h.
virtual EAccessMode GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetAccessMode | ( | ) | const [inline, virtual] |
Get the access mode of the node.
Definition at line 155 of file IEnumerationT.h.
virtual IEnumEntry* GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetCurrentEntry | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [inline, virtual] |
Get the current entry.
Definition at line 290 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetEntries | ( | NodeList_t & | Entries | ) | [inline, virtual] |
Get list of entry nodes.
Definition at line 217 of file IEnumerationT.h.
virtual IEnumEntry* GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetEntry | ( | const int64_t | IntValue | ) | [inline, virtual] |
Get an entry node by its IntValue.
Definition at line 281 of file IEnumerationT.h.
virtual IEnumEntry* GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetEntry | ( | const EnumT | Value | ) | [inline, virtual] |
returns the EnumEntry object belonging to the Value
Definition at line 351 of file IEnumerationT.h.
virtual IEnumEntry* GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetEntryByName | ( | const GENICAM_NAMESPACE::gcstring & | Symbolic | ) | [inline, virtual] |
Get an entry node by name.
Definition at line 271 of file IEnumerationT.h.
virtual int64_t GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetIntValue | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [inline, virtual] |
Get node value.
Definition at line 262 of file IEnumerationT.h.
virtual INode* GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetNode | ( | ) | [inline, virtual] |
Get the INode interface of the node.
Definition at line 168 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetSymbolics | ( | StringList_t & | Symbolics | ) | [inline, virtual] |
Get list of symbolic Values.
Definition at line 208 of file IEnumerationT.h.
virtual EnumT GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::GetValue | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [inline, virtual] |
Get node value.
Definition at line 327 of file IEnumerationT.h.
bool GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::IsValueCacheValid | ( | ) | const [inline] |
Checks if the value comes from cache or is requested from another node.
Definition at line 195 of file IEnumerationT.h.
virtual EnumT GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::operator() | ( | ) | [inline, virtual] |
Get node value.
Definition at line 345 of file IEnumerationT.h.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::operator* | ( | ) | [inline, virtual] |
Get node value.
Definition at line 253 of file IEnumerationT.h.
virtual IEnumeration& GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::operator= | ( | const GENICAM_NAMESPACE::gcstring & | ValueStr | ) | [inline, virtual] |
Set node value.
Definition at line 226 of file IEnumerationT.h.
virtual IEnumeration& GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::operator= | ( | const char * | pValueStr | ) | [inline, virtual] |
Set node value.
Definition at line 235 of file IEnumerationT.h.
virtual IEnumeration& GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::operator= | ( | EnumT | Value | ) | [inline, virtual] |
Set node value.
Definition at line 320 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::SetEnumReference | ( | int | Index, |
GENICAM_NAMESPACE::gcstring | Name | ||
) | [inline, virtual] |
sets the Enum value corresponding to a value
Definition at line 135 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::SetIntValue | ( | int64_t | Value, |
bool | Verify = true |
||
) | [inline, virtual] |
Set node value.
Definition at line 244 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::SetNumEnums | ( | int | NumEnums | ) | [inline, virtual] |
sets the number of enum values
Definition at line 123 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::SetReference | ( | IBase * | ptr | ) | [inline, virtual] |
sets the implementation to the reference
Definition at line 113 of file IEnumerationT.h.
virtual void GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::SetValue | ( | EnumT | Value, |
bool | Verify = true |
||
) | [inline, virtual] |
Set node value.
Definition at line 303 of file IEnumerationT.h.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::ToString | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [inline, virtual] |
Get content of the node as string.
Definition at line 177 of file IEnumerationT.h.
std::vector<bool > GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::m_EnumExists [protected] |
Indicates it an enum with a given index exists.
Definition at line 375 of file IEnumerationT.h.
std::vector<int64_t > GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::m_EnumValues [protected] |
The values for enums with a given index.
Definition at line 372 of file IEnumerationT.h.
IEnumeration* GENAPI_NAMESPACE::CEnumerationTRef< EnumT >::m_Ptr [protected] |
Pointer to the implementation the reference references to.
Definition at line 369 of file IEnumerationT.h.