31 #ifndef GENAPI_IVALUE_H 32 #define GENAPI_IVALUE_H 42 # pragma warning ( push ) 43 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 58 interface GENAPI_DECL_ABSTRACT
IValue :
virtual public IBase 87 #ifndef DOXYGEN_IGNORE 94 template <
class T,
class I=T>
108 return ref::m_Ptr->GetNode();
117 return ref::m_Ptr->ToString(
Verify, IgnoreCache);
126 return ref::m_Ptr->FromString(ValueStr,
Verify);
135 return ref::m_Ptr->IsValueCacheValid();
150 # pragma warning ( pop ) 153 #endif // ifndef GENAPI_IVALUE_H Definition of interface IBase.
Common types used in the public GenApi interface.
virtual bool IsValueCacheValid() const =0
Checks if the value comes from cache or is requested from another node.
Definition of interface INode and types NodeList_t and CallbackHandleType:
virtual INode * GetNode(const GENICAM_NAMESPACE::gcstring &Name) const =0
Retrieves the node from the central map by Name.
virtual void FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true)
Set content of the node as string.
interface GENAPI_DECL_ABSTRACT IBase
Base interface common to all nodes.
virtual bool IsValueCacheValid() const
Checks if the value comes from cache or is requested from another node.
virtual void FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true)=0
Set content of the node as string.
virtual GENICAM_NAMESPACE::gcstring ToString()=0
Returns a string representation of the digit.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
interface GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
interface GENAPI_DECL_ABSTRACT bool Verify
CValueRefT< IValue > CValueRef
Reference to an IValue pointer.
A string class which is a clone of std::string.
virtual INode * GetNode()
Get the INode interface of the node.
Portable string implementation.
declspec's to be used for GenApi Windows dll
interface GENAPI_DECL_ABSTRACT INode
Interface common to all nodes.
virtual GENICAM_NAMESPACE::gcstring ToString(bool Verify=false, bool IgnoreCache=false)
Get content of the node as string.
Part of the generic device API.