Skip to content

GenApi::IEnumeration#

Module: GenICam / GenApi Node Interfaces and Access Mode Check Functions

Interface for enumeration properties.

#include <GenApi/IEnumeration.h>

Inherits from GenApi::IValue, GenApi::IBase

Inherited by GenApi::IEnumerationT< EnumT >, Pylon::IEnumerationEx

Public Functions#

Name
virtual void GetSymbolics(StringList_t & Symbolics) =0
Get list of symbolic Values.
virtual void GetEntries(NodeList_t & Entries) =0
Get list of entry nodes.
virtual IEnumeration & operator=(const GenICam::gcstring & ValueStr) =0
Set string node value.
virtual void SetIntValue(int64_t Value, bool Verify =true) =0
Set integer node value.
virtual GenICam::gcstring operator*() =0
Get string node value.
virtual int64_t GetIntValue(bool Verify =false, bool IgnoreCache =false) =0
Get integer node value.
virtual IEnumEntry * GetEntryByName(const GenICam::gcstring & Symbolic) =0
Get an entry node by name.
virtual IEnumEntry * GetEntry(const int64_t IntValue) =0
Get an entry node by its IntValue.
virtual IEnumEntry * GetCurrentEntry(bool Verify =false, bool IgnoreCache =false) =0
Get the current entry.
virtual INode * GetNode()
Get the INode interface of the node.
virtual GenICam::gcstring ToString(bool Verify =false, bool IgnoreCache =false) =0
Get content of the node as string.
virtual void FromString(const GenICam::gcstring & ValueStr, bool Verify =true) =0
Set content of the node as string.
virtual bool IsValueCacheValid() const =0
Checks if the value comes from cache or is requested from another node.
virtual EAccessMode GetAccessMode() const =0
Get the access mode of the node.

Additional inherited members#

Public Functions inherited from GenApi::IBase

Name
virtual ~IBase() =0
Virtual destructor enforcing virtual destructor on all derived classes.

Public Functions Documentation#

function GetSymbolics#

virtual void GetSymbolics(
    StringList_t & Symbolics
) =0

Get list of symbolic Values.

Reimplemented by: Pylon::CEnumParameter::GetSymbolics

function GetEntries#

virtual void GetEntries(
    NodeList_t & Entries
) =0

Get list of entry nodes.

Reimplemented by: Pylon::CEnumParameter::GetEntries

function operator=#

virtual IEnumeration & operator=(
    const GenICam::gcstring & ValueStr
) =0

Set string node value.

Reimplemented by: GenApi::IEnumerationT::operator=, Pylon::CEnumParameter::operator=

function SetIntValue#

virtual void SetIntValue(
    int64_t Value,
    bool Verify =true
) =0

Set integer node value.

Parameters:

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

Reimplemented by: Pylon::CEnumParameter::SetIntValue

function operator*#

virtual GenICam::gcstring operator*() =0

Get string node value.

Reimplemented by: Pylon::CEnumParameter::operator*

function GetIntValue#

virtual int64_t GetIntValue(
    bool Verify =false,
    bool IgnoreCache =false
) =0

Get integer node value.

Parameters:

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

Return: The value read

Reimplemented by: Pylon::CEnumParameter::GetIntValue

function GetEntryByName#

virtual IEnumEntry * GetEntryByName(
    const GenICam::gcstring & Symbolic
) =0

Get an entry node by name.

Reimplemented by: Pylon::CEnumParameter::GetEntryByName

function GetEntry#

virtual IEnumEntry * GetEntry(
    const int64_t IntValue
) =0

Get an entry node by its IntValue.

Reimplemented by: Pylon::CEnumParameter::GetEntry

function GetCurrentEntry#

virtual IEnumEntry * GetCurrentEntry(
    bool Verify =false,
    bool IgnoreCache =false
) =0

Get the current entry.

Reimplemented by: GenApi::IEnumerationT::GetCurrentEntry, Pylon::CEnumParameter::GetCurrentEntry

function GetNode#

inline virtual INode * GetNode()

Get the INode interface of the node.

Reimplemented by: Pylon::CArrayParameter::GetNode

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)

Return: The value read

Reimplemented by: Pylon::CArrayParameter::ToString

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)

Reimplemented by: Pylon::CArrayParameter::FromString

function IsValueCacheValid#

virtual bool IsValueCacheValid() const =0

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

Reimplemented by: Pylon::CArrayParameter::IsValueCacheValid

function GetAccessMode#

virtual EAccessMode GetAccessMode() const =0

Get the access mode of the node.

Reimplemented by: Pylon::CArrayParameter::GetAccessMode