Class Node::InputMap

Nested Relationships

This class is a nested type of Class Node.

Inheritance Relationships

Base Type

  • public std::unordered_map< std::pair< std::string, std::string >, Input, PairHash >

Class Documentation

class InputMap : public std::unordered_map<std::pair<std::string, std::string>, Input, PairHash>

Input map which keeps track of inputs assigned to a node Extends std::unordered_map<std::string, dai::Node::Input>

Public Functions

InputMap(Node &parent, InputDescription defaultInput)
InputMap(Node &parent, std::string name, InputDescription defaultInput)
Input &operator[](const std::string &key)

Create or modify an input.

Input &operator[](std::pair<std::string, std::string> groupKey)

Create or modify an input with specified group.

bool has(const std::string &key) const

Public Members

std::string name