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