Go to the documentation of this file.
31 #ifndef GENAPI_STRINGT_H
32 #define GENAPI_STRINGT_H
34 #include "../IString.h"
36 #include "GenApi/impl/Log.h"
45 template<
class Base >
53 std::list<CNodeCallback*> CallbacksToFire;
66 typename Base::PostSetValueFinalizer PostSetValueCaller(
this, CallbacksToFire);
70 Base::InternalSetValue(Value,
Verify);
76 Base::InternalCheckError();
81 std::list<CNodeCallback*>::iterator ptrCallback;
82 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
89 std::list<CNodeCallback*>::iterator ptrCallback;
90 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
118 Base::InternalCheckError();
146 Base::InternalGetMaxLength(
Verify )
148 Base::InternalGetValue(
Verify ).size();
159 #endif // GENAPI_STRINGT_H
Lexical analyzer for CIntSwissKnife.
bool IsWritable(EAccessMode AccessMode)
Tests if writable.
@ cbPostOutsideLock
callback is fired on leaving the tree inside the lock-guarded area
virtual int64_t GetMaxLength(bool Verify=false)
Retrieves the maximum length of the string in bytes.
A string class which is a clone of std::string.
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.
virtual GENICAM_NAMESPACE::gcstring GetValue(bool Verify=false, bool IgnoreCache=false)
Get node value.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
#define GCLOGINFOPOP(cat,...)
Implementation of the IString interface.
virtual bool CanBeWritten(bool Verify)=0
#define ACCESS_EXCEPTION_NODE
Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody")
bool IsReadable(EAccessMode AccessMode)
Tests if readable.
virtual GENICAM_NAMESPACE::gcstring operator()()
Get node value.
virtual IString & operator=(const GENICAM_NAMESPACE::gcstring &Value)
Set node value.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IString
Interface for string properties.
virtual bool IsStreamable() const =0
True if the node is streamable.
virtual const char * c_str(void) const
virtual GENICAM_NAMESPACE::gcstring operator*()
Get node value.
Definition of macros for cross-platform compatibility.
virtual void SetValue(const GENICAM_NAMESPACE::gcstring &Value, bool Verify=true)
Set node value.
#define GCLOGINFOPUSH(cat,...)
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:12