3#include "../global.hpp"
5#include "selector_node.hpp"
38 return std::make_shared<EnumEntryNode>(HandleGuard<Node>(
39 CreateGSEnumEntryNodeTyped(okName.data(),
static_cast<CExports::TGSNamespace
>(nameSpace))));
One entry in an enumeration.
Definition: enum_entry_node.hpp:21
void SetNumericValue(const std::int64_t &value)
Sets the numeric value of this entry.
Definition: enum_entry_node.hpp:96
void SetSymbolicValue(const String &value)
Sets the symbolic value of this entity.
Definition: enum_entry_node.hpp:102
void FromString(const String &) override
Not supported.
Definition: enum_entry_node.hpp:108
bool IsStreamable() const override
EnumEntry nodes are never streamable.
Definition: enum_entry_node.hpp:73
static EnumEntryNodePtr Create(const String &name)
Creates a new EnumEntryNode with the given name .
Definition: enum_entry_node.hpp:56
GenApi::CacheMode CacheMode() const noexcept override
Nothing to cache here.
Definition: enum_entry_node.hpp:68
void SetIsStreamable(const std::int64_t &) override
EnumEntry nodes are never streamable.
Definition: enum_entry_node.hpp:78
GenApi::AccessMode AccessMode() const override
Enum entries are always read only.
Definition: enum_entry_node.hpp:62
static EnumEntryNodePtr Create(const String &name, const GevServer::Namespace &nameSpace)
Creates a new EnumEntryNode with the given name and nameSpace .
Definition: enum_entry_node.hpp:35
std::int64_t NumericValue() const
Gets the numeric value of this entry.
Definition: enum_entry_node.hpp:93
String ToString() const override
Returns SymbolicValue.
Definition: enum_entry_node.hpp:117
String SymbolicValue() const
Gets the symbolic value of this entry.
Definition: enum_entry_node.hpp:99
std::chrono::duration< Rep, Period > PollingTime() const
Nothing to poll.
Definition: enum_entry_node.hpp:87
static GevServer::Namespace ParseNamespace(const String &name)
Gets the Namespace from the given name .
Definition: decl_node.hpp:567
static String EnsureNodeNameOnly(const String &name)
Throws if the given name has a namespace prefix.
Definition: decl_node.hpp:540
static String ParseName(const String &name)
Gets the name part of the given node name .
Definition: decl_node.hpp:588
Base class for all nodes that have a value.
Definition: value_node.hpp:24
CacheMode
Defines how the value is cached.
Definition: genapi.hpp:220
@ NoCache
No caching used.
AccessMode
Access possibility of the node.
Definition: genapi.hpp:185
@ ReadOnly
Node can only be read.
Namespace
The possible name spaces a node can be in.
Definition: gevserver.hpp:147
@ Value
Accesses the value configuration.
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24