31 #ifndef GENAPI_IBOOLEAN_H 32 #define GENAPI_IBOOLEAN_H 39 # pragma warning ( push ) 40 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 61 virtual void SetValue(
bool Value,
bool Verify =
true) = 0;
76 virtual bool GetValue(
bool Verify =
false,
bool IgnoreCache =
false)
const = 0;
87 #ifndef DOXYGEN_IGNORE 157 # pragma warning ( pop ) 160 #endif // ifndef GENAPI_IBOOLEAN_H #define GENICAM_INTERFACE
Common types used in the public GenApi interface.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IBoolean
Interface for Boolean properties.
virtual CBooleanRefT & operator=(bool Value)
Set node value.
virtual bool operator()() const
Get node value.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
CBooleanRefT< IBoolean > CBooleanRef
Reference to an IBoolean pointer.
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const
Get node value.
virtual void SetValue(bool Value, bool Verify=true)
Set node value.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
T * m_Ptr
Pointer to the implementation the reference references to.
virtual IBoolean & operator=(bool Value)
Set node value.
virtual bool operator()() const
Get node value.
declspec's to be used for GenApi Windows dll
Definition of the interface IValue.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Lexical analyzer for CIntSwissKnife.