GDBMS 1.0
Static Public Member Functions
transaction_mode_commands_edges Class Reference

#include <transaction_mode_commands_edges.h>

List of all members.

Static Public Member Functions

static int AddEdge (int transaction_USCOREid, std::string edge_USCOREname, std::string edge_USCOREtype, struct ns1__AddEdgeResponse &_param_21)
 Operation AddEdge.
static int AddValueToEdge (int transaction_USCOREid, std::string edge_USCOREname, std::string path, std::string value, struct ns1__AddValueToEdgeResponse &_param_22)
 Operation AddValueToEdge.
static int DeleteEdge (int transaction_USCOREid, std::string edge_USCOREname, struct ns1__DeleteEdgeResponse &_param_23)
 Operation DeleteEdge.

Detailed Description

Definition at line 1 of file transaction_mode_commands_edges.h.


Member Function Documentation

int transaction_mode_commands_edges::AddEdge ( int  transaction_USCOREid,
std::string  edge_USCOREname,
std::string  edge_USCOREtype,
struct ns1__AddEdgeResponse _param_21 
) [static]

Operation AddEdge.

Parameters:
transaction_USCOREidan integer id of the transaction.
edge_USCOREnamea string node name. If the edge_USCOREname doesn't fit in below listed patterns, simply a non connected edge is added. To add a connected edge or a connection to an existing edge, call the same operation but with edge_USCOREname fitting in the following patterns:
([EDGNAME]) with incoming Nodes([NODESLIST]) and outgoing Nodes([NODESLIST]);
[EDGNAME] represent the name of the edge to be created. [NODESLIST] represents


Link for Edge([EDGNAME]) with incoming Node([NODENAME]);
[EDGNAME] represent the name of the edge which is about to be linked. [NODENAME] represents the incoming node. The edge and the node already exist. Just the link is added.


Link for Edge([EDGNAME]) with outgoing Node([NODENAME]);
[EDGNAME] represent the name of the edge which is about to be linked. [NODENAME] represents the outgoing node. The edge and the node already exist. Just the link is added.

Parameters:
edge_USCOREtypethe type of the node.
_param_21structure containing the return value

This function adds an edge.

Definition at line 16 of file transaction_mode_commands_edges.cpp.

int transaction_mode_commands_edges::AddValueToEdge ( int  transaction_USCOREid,
std::string  edge_USCOREname,
std::string  path,
std::string  value,
struct ns1__AddValueToEdgeResponse _param_22 
) [static]

Operation AddValueToEdge.

Parameters:
transaction_USCOREidan integer id of the transaction.
edge_USCOREnamea string node name
patha . separated type names path to a value. An array element is chosen like: INT[3] if there is an array of type INT.
valuethe string representation of the value to be added
_param_22structure containing the return value

This function adds a value to an existing edge with a provided type path in the type tree of the edge.

Definition at line 231 of file transaction_mode_commands_edges.cpp.

int transaction_mode_commands_edges::DeleteEdge ( int  transaction_USCOREid,
std::string  edge_USCOREname,
struct ns1__DeleteEdgeResponse _param_23 
) [static]

Operation DeleteEdge.

Parameters:
transaction_USCOREidan integer id of the transaction.
edge_USCOREnamea string edge name
_param_23structure containing the return value

This function deletes an edge and its dependent connections to nodes.

Definition at line 356 of file transaction_mode_commands_edges.cpp.


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