GDBMS 1.0
Static Public Member Functions
transaction_mode_commands_types Class Reference

#include <transaction_mode_commands_types.h>

List of all members.

Static Public Member Functions

static int DefineType (int transaction_USCOREid, std::string type_USCOREname, struct ns1__DefineTypeResponse &_param_14)
 Operation DefineType.
static int DeleteType (int transaction_USCOREid, std::string type_USCOREname, struct ns1__DeleteTypeResponse &_param_15)
 Operation DeleteType.
static int AddMemberToType (int transaction_USCOREid, std::string type_USCOREname, std::string member_USCOREname, int member_USCOREtype, int size, struct ns1__AddMemberToTypeResponse &_param_16)
 Operation AddMemberToType.
static int GetTypeId (int transaction_USCOREid, std::string type_USCOREname, struct ns1__GetTypeIdResponse &_param_17)
 Operation GetTypeId.

Detailed Description

Definition at line 1 of file transaction_mode_commands_types.h.


Member Function Documentation

int transaction_mode_commands_types::AddMemberToType ( int  transaction_USCOREid,
std::string  type_USCOREname,
std::string  member_USCOREname,
int  member_USCOREtype,
int  size,
struct ns1__AddMemberToTypeResponse _param_16 
) [static]

Operation AddMemberToType.

Parameters:
transaction_USCOREidan id of the transaction.
type_USCOREnamethe name of the type
member_USCOREnamethe name of the member to add
member_USCOREtypeinteger id of the type of the member. This is the actual parameter of significance of the member type. The other is for user information.
sizethis field is intended for a future update. Fill with any value.
_param_16structure containing the return value

This operation adds a member to type, provided that the type is a composite (struct()).

Definition at line 16 of file transaction_mode_commands_types.cpp.

int transaction_mode_commands_types::DefineType ( int  transaction_USCOREid,
std::string  type_USCOREname,
struct ns1__DefineTypeResponse _param_14 
) [static]

Operation DefineType.

Parameters:
transaction_USCOREidan id of the transaction.
type_USCOREnamethe name of the type type_USCOREname parameter must match to one of the possible patterns:
@[TYPE_NAME]=array([TYPE_NAME2]) with size([INTEGER]);
This pattern defines an array, named [TYPE_NAME], which elements are of type [TYPE_NAME2] and the max size of the array is [INTEGER].
@[TYPE_NAME]=struct();
This pattern defines a composite type with name [TYPE_NAME].
@[TYPE_NAME]=simple([PARSESTR]);
This pattern defines a simple type and [PARSESTR] shows the type of the simple type. If it is d, the simple type is an integer, if it is f, the type is a floating point number, if it is s, the type is a string.
columns_nra number of the columns.
_param_14structure containing the return value

This function defines a datatype. type_USCOREname parameter must match to one of the possible patterns:
@[TYPE_NAME]=array([TYPE_NAME2]) with size([INTEGER]);
This pattern defines an array, named [TYPE_NAME], which elements are of type [TYPE_NAME2] and the max size of the array is [INTEGER].
@[TYPE_NAME]=struct();
This pattern defines a composite type with name [TYPE_NAME].
@[TYPE_NAME]=simple([PARSESTR]);
This pattern defines a simple type and [PARSESTR] shows the type of the simple type. If it is d, the simple type is an integer, if it is f, the type is a floating point number, if it is s, the type is a string.

Definition at line 116 of file transaction_mode_commands_types.cpp.

int transaction_mode_commands_types::DeleteType ( int  transaction_USCOREid,
std::string  type_USCOREname,
struct ns1__DeleteTypeResponse _param_15 
) [static]

Operation DeleteType.

Parameters:
transaction_USCOREidan id of the transaction.
type_USCOREnamethe name of the type
_param_15structure containing the return value

This operation deletes a type with a specific name, denoted in type_USCOREname.

Definition at line 217 of file transaction_mode_commands_types.cpp.

int transaction_mode_commands_types::GetTypeId ( int  transaction_USCOREid,
std::string  type_USCOREname,
struct ns1__GetTypeIdResponse _param_17 
) [static]

Operation GetTypeId.

Parameters:
transaction_USCOREidan id of the transaction.
type_USCOREnamethe name of the type
_param_17structure containing the return value

This operation returns in _param_17 the integer id of the type.

Definition at line 270 of file transaction_mode_commands_types.cpp.


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