GDBMS 1.0
Static Public Member Functions
transaction_mode_commands_nodes Class Reference

#include <transaction_mode_commands_nodes.h>

List of all members.

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.

Detailed Description

Definition at line 1 of file transaction_mode_commands_nodes.h.


Member Function Documentation

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.

Parameters:
transaction_USCOREidan integer id of the transaction.
node_USCOREnamea string node name
node_USCOREtypethe type of the node.
_param_18structure 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.

Parameters:
transaction_USCOREidan integer id of the transaction.
node_USCOREnamea string node name
patha . separated path in the type tree to the value
valuea string representation of the value to be added
_param_19structure 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.

Parameters:
transaction_USCOREidan integer id of the transaction.
node_USCOREnamea 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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines