Class Node::OutputMap

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 >, Output, PairHash >

Class Documentation

class OutputMap : public std::unordered_map<std::pair<std::string, std::string>, Output, PairHash>

Output map which keeps track of extra outputs assigned to a node Extends std::unordered_map<std::string, dai::Node::Output>

Public Functions

OutputMap(Node &parent, std::string name, OutputDescription defaultOutput, bool ref = true)
OutputMap(Node &parent, OutputDescription defaultOutput, bool ref = true)
Output &operator[](const std::string &key)

Create or modify an output.

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

Create or modify an output with specified group.

Public Members

std::string name