31 #ifndef GENAPI_ISTRING_H 32 #define GENAPI_ISTRING_H 40 # pragma warning ( push ) 41 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 54 interface GENAPI_DECL_ABSTRACT
IString :
virtual public IValue 88 #ifndef DOXYGEN_IGNORE 109 return ref::m_Ptr->SetValue(Value,
Verify);
118 return ref::m_Ptr->operator=(Value);
127 return ref::m_Ptr->GetValue(
Verify, IgnoreCache);
136 return ref::m_Ptr->operator()();
154 return ref::m_Ptr->GetMaxLength();
170 # pragma warning ( pop ) 173 #endif // ifndef GENAPI_ISTRING_H Common types used in the public GenApi interface.
virtual GENICAM_NAMESPACE::gcstring GetValue(bool Verify=false, bool IgnoreCache=false)
Get node value.
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
virtual int64_t GetMaxLength()=0
Retrieves the maximum length of the string in bytes.
virtual void operator=(bool Value)
Set node value.
virtual bool operator()() const
Get node value.
virtual void SetValue(const GENICAM_NAMESPACE::gcstring &Value, bool Verify=true)
Set node value.
virtual IString & operator=(const GENICAM_NAMESPACE::gcstring &Value)
Set node value.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
interface GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
virtual GENICAM_NAMESPACE::gcstring operator*()
Get node value.
interface GENAPI_DECL_ABSTRACT bool Verify
virtual GENICAM_NAMESPACE::gcstring operator()()
Get node value.
CStringRefT< IString > CStringRef
Reference to an IString pointer.
virtual GENICAM_NAMESPACE::gcstring operator*()=0
Get string node value.
A string class which is a clone of std::string.
Portable string implementation.
interface GENAPI_DECL_ABSTRACT IString
Interface for string properties.
declspec's to be used for GenApi Windows dll
virtual int64_t GetMaxLength()
Get max length of string.
Definition of the interface IValue.
Part of the generic device API.