27 TString str_type_text;
static ElogType * CreateType(TString type_text)
add new type to the database
static int CheckTypeExists(TString type_text)
check type exists in the database: 1- true, 0 - false, <0 - database operation error
static int CheckTypeExists(int type_id)
check type exists in the database: 1- true, 0 - false, <0 - database operation error
static int DeleteType(int type_id)
delete type from the database
static ElogType * GetType(TString type_text)
get type from the database
static int DeleteType(TString type_text)
delete type from the database
static int PrintAll()
print all types
TString GetTypeText()
get type text of the current type
static ElogType * GetType(int type_id)
get type from the database
int GetTypeId()
get type id of the current type
void Print()
print information about current type
int SetTypeText(TString type_text)
set type text of the current type