Skip to content

Group IValue_h

Modules > IValue_h

Public Attributes

Type Name
interface SPINNAKER_API_ABSTRACT IValue
Interface for value properties.

Public Functions

Type Name
virtual void FromString (const GenICam::gcstring & ValueStr, bool Verify=true) = 0
virtual bool IsValueCacheValid () const = 0
virtual GenICam::gcstring ToString (bool Verify=false, bool IgnoreCache=false) = 0

Public Attributes Documentation

variable IValue

Interface for value properties.

interface SPINNAKER_API_ABSTRACT Spinnaker::GenApi::IValue;


Public Functions Documentation

function FromString

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

Set content of the node as string

Parameters:

  • ValueStr The value to set
  • Verify Enables AccessMode and Range verification (default = true)

function IsValueCacheValid

virtual bool IsValueCacheValid () const = 0

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


function ToString

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

Get content of the node as string

Parameters:

  • Verify Enables Range verification (default = false). The AccessMode is always checked
  • IgnoreCache If true the value is read ignoring any caches (default = false)

Returns:

The value read