29 #ifndef GENAPI_ISTRING_H 30 #define GENAPI_ISTRING_H 38 # pragma warning ( push ) 39 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 52 GENICAM_INTERFACE GENAPI_DECL_ABSTRACT
IString :
virtual public IValue 86 #ifndef DOXYGEN_IGNORE 94 class CStringRefT :
public CValueRefT<T>
96 typedef CValueRefT<T> ref;
108 ref::m_Ptr->SetValue(Value, Verify);
116 return ref::m_Ptr->operator=(Value);
124 return ref::m_Ptr->GetValue(Verify, IgnoreCache);
132 return ref::m_Ptr->operator()();
148 return ref::m_Ptr->GetMaxLength(Verify);
162 # pragma warning ( pop ) 165 #endif // ifndef GENAPI_ISTRING_H Common types used in the public GenApi interface.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IString
Interface for string properties.
Definition: IString.h:59
virtual bool operator()() const
Get node value.
Definition: IBoolean.h:77
virtual GENICAM_NAMESPACE::gcstring operator*()=0
Get string node value.
virtual IBoolean & operator=(bool Value)
Set node value.
Definition: IBoolean.h:62
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
Definition: GCException.h:252
CStringRefT< IString > CStringRef
Definition: IString.h:155
virtual int64_t GetMaxLength(bool Verify=false)=0
Retrieves the maximum length of the string in bytes.
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
Definition of the interface IValue.
Definition: ChunkAdapter.h:37