28#ifndef GENAPI_IENUMENTRY_H
29#define GENAPI_IENUMENTRY_H
37# pragma warning ( push )
38# pragma warning ( disable : 4251 )
41namespace GENAPI_NAMESPACE
82 class CEnumEntryRefT :
public CValueRefT<T>
84 typedef CValueRefT<T> ref;
92 virtual int64_t GetValue()
95 return ref::m_Ptr->GetValue();
104 return ref::m_Ptr->GetSymbolic();
110 virtual double GetNumericValue()
113 return ref::m_Ptr->GetNumericValue();
119 virtual bool IsSelfClearing()
122 return ref::m_Ptr->IsSelfClearing();
137# pragma warning ( pop )
Portable string implementation.
declspec's to be used for GenApi Windows dll
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
virtual GENICAM_NAMESPACE::gcstring GetSymbolic() const =0
Get symbolic enum value.
virtual double GetNumericValue()=0
Get double number associated with the entry.
virtual bool IsSelfClearing()=0
Indicates if the corresponding EnumEntry is self clearing.
Definition of the interface IValue.
A string class which is a clone of std::string.
Definition GCString.h:51
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
Definition GCException.h:252
CEnumEntryRefT< IEnumEntry > CEnumEntryRef
Definition IEnumEntry.h:130
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Definition IValue.h:59
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IEnumEntry
Interface of single enum value.
Definition IEnumEntry.h:58