|
| base::Status | deserialize (const std::string &json_str) |
| | Deserialize from JSON string. More...
|
| |
| base::Status | deserialize (rapidjson::Value &json) |
| | Deserialize from JSON. More...
|
| |
| std::vector< std::string > | getInputs () const |
| | Get input edge name list. More...
|
| |
| std::string | getKey () const |
| | Get node key. More...
|
| |
| std::string | getName () const |
| | Get node name. More...
|
| |
| std::vector< std::string > | getOutputs () const |
| | Get output edge name list. More...
|
| |
| base::Status | loadFile (const std::string &path) |
| | Load from file. More...
|
| |
| | NodeDesc ()=default |
| |
| | NodeDesc (const std::string &node_key, const std::string &node_name, std::initializer_list< std::string > inputs, std::initializer_list< std::string > outputs) |
| | Constructor. More...
|
| |
| | NodeDesc (const std::string &node_key, const std::string &node_name, std::vector< std::string > inputs, std::vector< std::string > outputs) |
| | Constructor. More...
|
| |
| | NodeDesc (const std::string &node_name, std::initializer_list< std::string > inputs, std::initializer_list< std::string > outputs) |
| | Constructor. More...
|
| |
| | NodeDesc (const std::string &node_name, std::vector< std::string > inputs, std::vector< std::string > outputs) |
| | Constructor. More...
|
| |
| base::Status | saveFile (const std::string &path) |
| | Save to file. More...
|
| |
| std::string | serialize () |
| | Serialize to JSON string. More...
|
| |
| base::Status | serialize (rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) |
| | Serialize to JSON. More...
|
| |
| virtual | ~NodeDesc ()=default |
| |
Node description class.
Used to describe basic information of a node, including node name, input/output edge names, etc.
Definition at line 35 of file node.h.