Skip to content

GenApi::CStringRefT#

More…

Inherits from GenApi::CValueRefT< T >

Public Functions#

Name
virtual void SetValue(const GenICam::gcstring & Value, bool Verify =true)
Set node value.
virtual IString & operator=(const GenICam::gcstring & Value)
Set node value.
virtual GenICam::gcstring GetValue(bool Verify =false, bool IgnoreCache =false)
Get node value.
virtual GenICam::gcstring operator()()
Get node value.
virtual GenICam::gcstring operator*()
Get node value.
virtual int64_t GetMaxLength()
Get max length of string.
virtual INode * GetNode()
Get the INode interface of the node.
virtual GenICam::gcstring ToString(bool Verify =false, bool IgnoreCache =false)
Get content of the node as string.
virtual void FromString(const GenICam::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 EAccessMode GetAccessMode() const
Get the access mode of the node.

Detailed Description#

template <class T >
class GenApi::CStringRefT;

Public Functions Documentation#

SetValue#

inline virtual void SetValue(
    const GenICam::gcstring & Value,
    bool Verify =true
)

Set node value.

operator=#

inline virtual IString & operator=(
    const GenICam::gcstring & Value
)

Set node value.

GetValue#

inline virtual GenICam::gcstring GetValue(
    bool Verify =false,
    bool IgnoreCache =false
)

Get node value.

operator()#

inline virtual GenICam::gcstring operator()()

Get node value.

operator*#

inline virtual GenICam::gcstring operator*()

Get node value.

GetMaxLength#

inline virtual int64_t GetMaxLength()

Get max length of string.

GetNode#

inline virtual INode * GetNode()

Get the INode interface of the node.

ToString#

inline virtual GenICam::gcstring ToString(
    bool Verify =false,
    bool IgnoreCache =false
)

Get content of the node as string.

FromString#

inline virtual void FromString(
    const GenICam::gcstring & ValueStr,
    bool Verify =true
)

Set content of the node as string.

IsValueCacheValid#

inline virtual bool IsValueCacheValid() const

Checks if the value comes from cache or is requested from another node.

GetAccessMode#

inline virtual EAccessMode GetAccessMode() const

Get the access mode of the node.


Updated on 5 July 2022 at 15:30:00