GenApi::CEnumerationTRef#
Inherits from GenApi::IEnumerationT< EnumT >, IReference, IEnumReference, GenApi::IEnumeration, GenApi::IValue, GenApi::IBase
Public Functions#
Name | |
---|---|
virtual void | SetReference(IBase * ptr) sets the implementation to the reference |
virtual void | SetNumEnums(int NumEnums) sets the number of enum values |
virtual void | SetEnumReference(int Index, GenICam::gcstring Name) sets the Enum value corresponding to a value |
virtual EAccessMode | GetAccessMode() const Get the access mode of the node. |
virtual INode * | GetNode() Get the INode interface of the node. |
virtual GenICam::gcstring | ToString(bool Verify =false, bool IgnoreCache =false) Get content of the node as string. |
virtual void | FromString(const GenICam::gcstring & ValueStr, bool Verify =true) Set content of the node as string. |
bool | IsValueCacheValid() const Checks if the value comes from cache or is requested from another node. |
virtual void | GetSymbolics(StringList_t & Symbolics) Get list of symbolic Values. |
virtual void | GetEntries(NodeList_t & Entries) Get list of entry nodes. |
virtual IEnumeration & | operator=(const GenICam::gcstring & ValueStr) Set node value. |
virtual IEnumeration & | operator=(const char * pValueStr) Set node value. |
virtual void | SetIntValue(int64_t Value, bool Verify =true) Set node value. |
virtual GenICam::gcstring | operator*() Get node value. |
virtual int64_t | GetIntValue(bool Verify =false, bool IgnoreCache =false) Get node value. |
virtual IEnumEntry * | GetEntryByName(const GenICam::gcstring & Symbolic) Get an entry node by name. |
virtual IEnumEntry * | GetEntry(const int64_t IntValue) Get an entry node by its IntValue. |
virtual IEnumEntry * | GetCurrentEntry(bool Verify =false, bool IgnoreCache =false) Get the current entry. |
virtual void | SetValue(EnumT Value, bool Verify =true) Set node value. |
virtual IEnumeration & | operator=(EnumT Value) Set node value. |
virtual EnumT | GetValue(bool Verify =false, bool IgnoreCache =false) Get node value. |
virtual EnumT | operator())() Get node value. |
virtual IEnumEntry * | GetEntry(const EnumT Value) returns the EnumEntry object belonging to the Value |
Protected Attributes#
Name | |
---|---|
IEnumeration * | m_Ptr Pointer to the implementation the reference references to. |
std::vector< int64_t > | m_EnumValues The values for enums with a given index. |
std::vector< bool > | m_EnumExists Indicates it an enum with a given index exists. |
Additional inherited members#
Public Functions inherited from GenApi::IBase
Name | |
---|---|
virtual | ~IBase() =0 Virtual destructor enforcing virtual destructor on all derived classes. |
Detailed Description#
Public Functions Documentation#
function SetReference#
sets the implementation to the reference
function SetNumEnums#
sets the number of enum values
function SetEnumReference#
sets the Enum value corresponding to a value
function GetAccessMode#
Get the access mode of the node.
function GetNode#
Get the INode interface of the node.
function ToString#
Get content of the node as string.
function FromString#
Set content of the node as string.
function IsValueCacheValid#
Checks if the value comes from cache or is requested from another node.
function GetSymbolics#
Get list of symbolic Values.
function GetEntries#
Get list of entry nodes.
function operator=#
Set node value.
function operator=#
Set node value.
function SetIntValue#
Set node value.
function operator*#
Get node value.
function GetIntValue#
Get node value.
function GetEntryByName#
Get an entry node by name.
function GetEntry#
Get an entry node by its IntValue.
function GetCurrentEntry#
Get the current entry.
function SetValue#
Set node value.
function operator=#
Set node value.
function GetValue#
Get node value.
function operator()#
Get node value.
function GetEntry#
returns the EnumEntry object belonging to the Value
Protected Attributes Documentation#
variable m_Ptr#
Pointer to the implementation the reference references to.
variable m_EnumValues#
The values for enums with a given index.
variable m_EnumExists#
Indicates it an enum with a given index exists.