11#define UniParameter_H 1
31 TString str_parameter_name;
40 TString parameter_name,
91 TString parameter_name,
TString GetParameterName()
get parameter name of the current parameter
static int DeleteParameter(int parameter_id)
delete parameter from the database
static bool CheckAndGetParameterID(TSQLServer *db_server, TString parameter_name, enumValueType enum_parameter_type, int ¶meter_id)
static UniParameter * GetParameter(int parameter_id)
get parameter from the database
int SetParameterName(TString parameter_name)
set parameter name of the current parameter
void Print()
print information about current parameter
bool GetIsArray()
get is array of the current parameter
int SetIsArray(bool is_array)
set is array of the current parameter
static int PrintAll()
print all parameters
int GetParameterId()
get parameter id of the current parameter
int SetParameterType(int parameter_type)
set parameter type of the current parameter
static UniParameter * CreateParameter(TString parameter_name, int parameter_type, bool is_array)
add new parameter to the database
ClassDef(UniParameter, 1)
int GetParameterType()
get parameter type of the current parameter
static int CheckParameterExists(int parameter_id)
check parameter exists in the database: 1- true, 0 - false, <0 - database operation error