3#include "../global.hpp"
4#include "selector_node.hpp"
17 class EnumerationNode :
public SelectorNode
20 explicit EnumerationNode(HandleGuard<Node> &&guard) noexcept
42 return static_cast<std::int64_t>(NativeCall<CExports::cvbint64_t>(
43 [&](CExports::cvbint64_t &value) {
return CExports::NGetAsInteger(
Handle(), value); }));
63 NativeCall([&]() {
return CExports::NSetAsInteger(
Handle(),
static_cast<CExports::cvbint64_t
>(value)); });
73 return GetDependentNodes<EnumEntryNode>(NodeList::EnumEntry);
17 class EnumerationNode :
public SelectorNode {
…};
79 using GenApi::EnumerationNode;
void SetNumericValue(const uint64_t &value)
Sets the numeric value of this enumeration.
Definition enumeration_node.hpp:61
void SetValue(const String &value)
Sets the symbolic value of this enumeration.
Definition enumeration_node.hpp:51
String Value() const
Gets the symbolic value of this enumeration.
Definition enumeration_node.hpp:30
std::vector< EnumEntryNodePtr > Entries() const
Gets all enum entries of this enumeration.
Definition enumeration_node.hpp:71
std::int64_t NumericValue() const
Gets the numeric value of this enumeration.
Definition enumeration_node.hpp:40
void * Handle() const noexcept
Classic API node handle.
Definition decl_node.hpp:71
virtual String ToString() const
Returns this node's value as a string representation.
Definition value_node.hpp:52
virtual void FromString(const String &value)
Sets the value of this node from the string value.
Definition value_node.hpp:67
Namespace for GenApi based device configuration.
Definition decl_fw_updater.hpp:29
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
std::string String
String for wide characters or unicode characters.
Definition string.hpp:49