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 61 virtual INode*
GetNode() {
return dynamic_cast<INode*
>(
this); }
87 #ifndef DOXYGEN_IGNORE 94 template <
class T,
class I=T>
150 # pragma warning ( pop ) 153 #endif // ifndef GENAPI_IVALUE_H Definition of interface IBase.
#define GENICAM_INTERFACE
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IBase
Base interface common to all nodes.
Common types used in the public GenApi interface.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
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.
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")
I * m_Ptr
Pointer to the implementation the reference references to.
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
GENICAM_INTERFACE INode
Interface common to all nodes.
virtual GENICAM_NAMESPACE::gcstring ToString(bool Verify=false, bool IgnoreCache=false)
Get content of the node as string.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Lexical analyzer for CIntSwissKnife.