BmnRoot
Loading...
Searching...
No Matches
UniParameterType Class Reference

#include <UniParameterType.h>

Public Member Functions

virtual ~UniParameterType ()
 
int GetTypeId ()
 get type id of the current parameter type
 
TString GetTypeName ()
 get type name of the current parameter type
 
int SetTypeName (TString type_name)
 set type name of the current parameter type
 
void Print ()
 print information about current parameter type
 
 ClassDef (UniParameterType, 1)
 
virtual ~UniParameterType ()
 
int GetTypeId ()
 get type id of the current parameter type
 
TString GetTypeName ()
 get type name of the current parameter type
 
int SetTypeName (TString type_name)
 set type name of the current parameter type
 
void Print ()
 print information about current parameter type
 
 ClassDef (UniParameterType, 1)
 

Static Public Member Functions

static UniParameterTypeCreateParameterType (TString type_name)
 add new parameter type to the database
 
static UniParameterTypeGetParameterType (int type_id)
 get parameter type from the database
 
static int CheckParameterTypeExists (int type_id)
 check parameter type exists in the database: 1- true, 0 - false, <0 - database operation error
 
static int DeleteParameterType (int type_id)
 delete parameter type from the database
 
static int PrintAll ()
 print all parameter types
 
static UniParameterTypeCreateParameterType (TString type_name)
 add new parameter type to the database
 
static UniParameterTypeGetParameterType (int type_id)
 get parameter type from the database
 
static int CheckParameterTypeExists (int type_id)
 check parameter type exists in the database: 1- true, 0 - false, <0 - database operation error
 
static int DeleteParameterType (int type_id)
 delete parameter type from the database
 
static int PrintAll ()
 print all parameter types
 

Detailed Description

/home/soul/bmnroot/database/uni_db/temp/UniParameterType.h Class for the table: parameter_type

Definition at line 18 of file UniParameterType.h.

Constructor & Destructor Documentation

◆ ~UniParameterType() [1/2]

UniParameterType::~UniParameterType ( )
virtual

Definition at line 25 of file UniParameterType.cxx.

◆ ~UniParameterType() [2/2]

virtual UniParameterType::~UniParameterType ( )
virtual

Member Function Documentation

◆ CheckParameterTypeExists() [1/2]

int UniParameterType::CheckParameterTypeExists ( int  type_id)
static

check parameter type exists in the database: 1- true, 0 - false, <0 - database operation error

Definition at line 137 of file UniParameterType.cxx.

References UniConnection::GetSQLServer(), and UniConnection::Open().

◆ CheckParameterTypeExists() [2/2]

static int UniParameterType::CheckParameterTypeExists ( int  type_id)
static

check parameter type exists in the database: 1- true, 0 - false, <0 - database operation error

◆ ClassDef() [1/2]

UniParameterType::ClassDef ( UniParameterType  ,
 
)

◆ ClassDef() [2/2]

UniParameterType::ClassDef ( UniParameterType  ,
 
)

◆ CreateParameterType() [1/2]

UniParameterType * UniParameterType::CreateParameterType ( TString  type_name)
static

add new parameter type to the database

Definition at line 32 of file UniParameterType.cxx.

References UniConnection::GetSQLServer(), and UniConnection::Open().

◆ CreateParameterType() [2/2]

static UniParameterType * UniParameterType::CreateParameterType ( TString  type_name)
static

add new parameter type to the database

◆ DeleteParameterType() [1/2]

int UniParameterType::DeleteParameterType ( int  type_id)
static

delete parameter type from the database

Definition at line 177 of file UniParameterType.cxx.

References UniConnection::GetSQLServer(), and UniConnection::Open().

◆ DeleteParameterType() [2/2]

static int UniParameterType::DeleteParameterType ( int  type_id)
static

delete parameter type from the database

◆ GetParameterType() [1/2]

UniParameterType * UniParameterType::GetParameterType ( int  type_id)
static

get parameter type from the database

Definition at line 91 of file UniParameterType.cxx.

References UniConnection::GetSQLServer(), and UniConnection::Open().

◆ GetParameterType() [2/2]

static UniParameterType * UniParameterType::GetParameterType ( int  type_id)
static

get parameter type from the database

◆ GetTypeId() [1/2]

int UniParameterType::GetTypeId ( )
inline

get type id of the current parameter type

Definition at line 52 of file UniParameterType.h.

◆ GetTypeId() [2/2]

int UniParameterType::GetTypeId ( )
inline

get type id of the current parameter type

Definition at line 52 of file UniParameterType.h.

◆ GetTypeName() [1/2]

TString UniParameterType::GetTypeName ( )
inline

get type name of the current parameter type

Definition at line 54 of file UniParameterType.h.

◆ GetTypeName() [2/2]

TString UniParameterType::GetTypeName ( )
inline

get type name of the current parameter type

Definition at line 54 of file UniParameterType.h.

◆ Print() [1/2]

void UniParameterType::Print ( )

print information about current parameter type

Definition at line 281 of file UniParameterType.cxx.

◆ Print() [2/2]

void UniParameterType::Print ( )

print information about current parameter type

◆ PrintAll() [1/2]

int UniParameterType::PrintAll ( )
static

print all parameter types

Definition at line 207 of file UniParameterType.cxx.

References UniConnection::GetSQLServer(), and UniConnection::Open().

◆ PrintAll() [2/2]

static int UniParameterType::PrintAll ( )
static

print all parameter types

◆ SetTypeName() [1/2]

int UniParameterType::SetTypeName ( TString  type_name)

set type name of the current parameter type

Definition at line 248 of file UniParameterType.cxx.

References UniConnection::GetSQLServer().

◆ SetTypeName() [2/2]

int UniParameterType::SetTypeName ( TString  type_name)

set type name of the current parameter type


The documentation for this class was generated from the following files: