#include <string>
#include <iostream>
#include <vector>
#include <regex>
#include "attribute.hpp"
Go to the source code of this file.
|
attribute | create_branch (std::string branch_descriptor, attribute branch_root=0) |
| Parse branch descriptor and create branch starting from branch root node. More...
|
|
attribute | check_branch (std::string branch_descriptor, attribute branch_root=0) |
| Parse branch descriptor and check branch starting from branch root node. More...
|
|
◆ check_branch()
attribute check_branch |
( |
std::string |
branch_descriptor, |
|
|
attribute |
branch_root = 0 |
|
) |
| |
Parse branch descriptor and check branch starting from branch root node.
- Parameters
-
branch_descriptor | String to describe attribute branch. |
branch_root | Root node for branch (optional param, attribute::root() by default). |
- Returns
- node_id of last attribute in branch if parse branch_descriptor was successfull.
-
ATTRIBUTE_STORE_INVALID_NODE if parse did not succeed or nodes in branch not exists.
◆ create_branch()
attribute create_branch |
( |
std::string |
branch_descriptor, |
|
|
attribute |
branch_root = 0 |
|
) |
| |
Parse branch descriptor and create branch starting from branch root node.
- Parameters
-
branch_descriptor | String to describe attribute branch. |
branch_root | Root node for branch (optional param, attribute::root() by default). |
- Returns
- node_id of last attribute in branch if parse branch_descriptor was successfull.
-
ATTRIBUTE_STORE_INVALID_NODE if parse did not succeed.