3#include "../global.hpp"
5#include "value_node.hpp"
23 class SelectorNode :
public ValueNode
26 explicit SelectorNode(HandleGuard<Node> &&guard) noexcept
38 if (selector_ == Selector::Undefined)
40 selector_ = (GetDependentNodeCount(NodeList::Selected)) ? Selector::Yes : Selector::No;
42 return (selector_ == Selector::Yes) ? true :
false;
52 return GetDependentNodes<ValueNode>(NodeList::Selected);
63 mutable Selector selector_ = Selector::Undefined;
23 class SelectorNode :
public ValueNode {
…};
Groups nodes, that are dependent on this one.
Definition selector_node.hpp:24
bool IsSelector() const
Returns whether this node selects at least one other node.
Definition selector_node.hpp:36
std::vector< ValueNodePtr > SelectedNodes() const
Gets all nodes selected by this one.
Definition selector_node.hpp:50
Namespace for GenApi based device configuration.
Definition decl_fw_updater.hpp:29
@ Undefined
Not set in XML (treated as linear)
Definition genapi.hpp:145
@ No
No verification while reading or writing values.
Definition genapi.hpp:174
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17