GDBMS 1.0
|
#include <transaction_mode_commands_nodes.h>
Static Public Member Functions | |
static int | AddNode (int transaction_USCOREid, std::string node_USCOREname, std::string node_USCOREtype, struct ns1__AddNodeResponse &_param_18) |
Operation AddNode. | |
static int | AddValueToNode (int transaction_USCOREid, std::string node_USCOREname, std::string path, std::string value, struct ns1__AddValueToNodeResponse &_param_19) |
Operation AddValueToNode. | |
static int | DeleteNode (int transaction_USCOREid, std::string node_USCOREname, struct ns1__DeleteNodeResponse &_param_20) |
Operation DeleteNode. |
Definition at line 1 of file transaction_mode_commands_nodes.h.
int transaction_mode_commands_nodes::AddNode | ( | int | transaction_USCOREid, |
std::string | node_USCOREname, | ||
std::string | node_USCOREtype, | ||
struct ns1__AddNodeResponse & | _param_18 | ||
) | [static] |
Operation AddNode.
transaction_USCOREid | an integer id of the transaction. |
node_USCOREname | a string node name |
node_USCOREtype | the type of the node. |
_param_18 | structure containing the return value |
This function adds a node with a specific unique name, and name of its type.
Definition at line 16 of file transaction_mode_commands_nodes.cpp.
int transaction_mode_commands_nodes::AddValueToNode | ( | int | transaction_USCOREid, |
std::string | node_USCOREname, | ||
std::string | path, | ||
std::string | value, | ||
struct ns1__AddValueToNodeResponse & | _param_19 | ||
) | [static] |
Operation AddValueToNode.
transaction_USCOREid | an integer id of the transaction. |
node_USCOREname | a string node name |
path | a . separated path in the type tree to the value |
value | a string representation of the value to be added |
_param_19 | structure containing the return value |
This function adds a value to a specific node if a path in the type tree is provided.
Definition at line 95 of file transaction_mode_commands_nodes.cpp.
int transaction_mode_commands_nodes::DeleteNode | ( | int | transaction_USCOREid, |
std::string | node_USCOREname, | ||
struct ns1__DeleteNodeResponse & | _param_20 | ||
) | [static] |
Operation DeleteNode.
transaction_USCOREid | an integer id of the transaction. |
node_USCOREname | a string node name |
This function deletes a node with a specific name. Relevant connections to edges are removed.
Definition at line 221 of file transaction_mode_commands_nodes.cpp.