29#ifndef GENAPI_ISTRING_H
30#define GENAPI_ISTRING_H
38# pragma warning ( push )
39# pragma warning ( disable : 4251 )
42namespace GENAPI_NAMESPACE
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()();
140 return ref::m_Ptr-> operator*();
144 virtual int64_t GetMaxLength(
bool Verify =
false)
148 return ref::m_Ptr->GetMaxLength(Verify);
162# pragma warning ( pop )
Portable string implementation.
declspec's to be used for GenApi Windows dll
virtual IBoolean & operator=(bool Value)
Set node value.
Definition IBoolean.h:62
virtual bool operator()() const
Get node value.
Definition IBoolean.h:77
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
virtual GENICAM_NAMESPACE::gcstring operator*()=0
Get string node value.
virtual int64_t GetMaxLength(bool Verify=false)=0
Retrieves the maximum length of the string in bytes.
Definition of the interface IValue.
Common types used in the public GenApi interface.
A string class which is a clone of std::string.
Definition GCString.h:51
#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
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Definition IValue.h:59
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IString
Interface for string properties.
Definition IString.h:59