GDBMS 1.0
|
#include <transaction_mode_commands_types.h>
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. |
Definition at line 1 of file transaction_mode_commands_types.h.
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.
transaction_USCOREid | an id of the transaction. |
type_USCOREname | the name of the type |
member_USCOREname | the name of the member to add |
member_USCOREtype | integer id of the type of the member. This is the actual parameter of significance of the member type. The other is for user information. |
size | this field is intended for a future update. Fill with any value. |
_param_16 | structure 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.
transaction_USCOREid | an id of the transaction. |
type_USCOREname | the 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_nr | a number of the columns. |
_param_14 | structure 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.
transaction_USCOREid | an id of the transaction. |
type_USCOREname | the name of the type |
_param_15 | structure 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.
transaction_USCOREid | an id of the transaction. |
type_USCOREname | the name of the type |
_param_17 | structure 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.