#include <DbiFieldType.h>
Public Types | |
| kMaxTinyInt = 4 | |
| kMaxSmallInt = 6 | |
| kMaxInt = 11 | |
| kMaxChar = 3 | |
| kMaxOracleFloat = 32 | |
| kMaxMySQLVarchar = 255 | |
| kMaxOracleVarchar = 4000 | |
| kMaxMySQLText = 65535 | |
| enum | PrecisionLimits { kMaxTinyInt = 4, kMaxSmallInt = 6, kMaxInt = 11, kMaxChar = 3, kMaxOracleFloat = 32, kMaxMySQLVarchar = 255, kMaxOracleVarchar = 4000, kMaxMySQLText = 65535 } |
Public Member Functions | |
| DbiFieldType (Int_t type=Dbi::kInt) | |
| DbiFieldType (Int_t type, Int_t size, const char *typeName) | |
| DbiFieldType (const DbiFieldType &from) | |
| DbiFieldType (const string &sql, Int_t size) | |
| virtual | ~DbiFieldType () |
| string | AsString () const |
| string | AsSQLString (Dbi::DbTypes dbType=Dbi::kMySQL) const |
| string | UndefinedValue () const |
| UInt_t | GetConcept () const |
| UInt_t | GetSize () const |
| UInt_t | GetType () const |
| Bool_t | IsCompatible (const DbiFieldType &other) const |
| Bool_t | IsEqual (const DbiFieldType &other) const |
| Bool_t | IsSmaller (const DbiFieldType &other) const |
| Bool_t | IsSigned () const |
| void | SetUnsigned () |
Private Member Functions | |
| void | Init (Int_t type, Int_t size=-1) |
Private Attributes | |
| unsigned int | fConcept |
| Concept e.g. kInt or kFloat. | |
| unsigned int | fSize |
| Size in bytes(0 if unknown). | |
| unsigned int | fType |
| Concept e.g. kShort or kDouble. | |
Definition at line 35 of file DbiFieldType.h.
| kMaxTinyInt | |
| kMaxSmallInt | |
| kMaxInt | |
| kMaxChar | |
| kMaxOracleFloat | |
| kMaxMySQLVarchar | |
| kMaxOracleVarchar | |
| kMaxMySQLText |
Definition at line 41 of file DbiFieldType.h.
00041 { kMaxTinyInt = 4, 00042 kMaxSmallInt = 6, 00043 kMaxInt = 11, 00044 kMaxChar = 3, 00045 kMaxOracleFloat = 32, 00046 kMaxMySQLVarchar = 255, 00047 kMaxOracleVarchar = 4000, 00048 kMaxMySQLText = 65535 00049 };
| DbiFieldType::DbiFieldType | ( | Int_t | type = Dbi::kInt |
) |
| DbiFieldType::DbiFieldType | ( | Int_t | type, | |
| Int_t | size, | |||
| const char * | typeName | |||
| ) |
| DbiFieldType::DbiFieldType | ( | const DbiFieldType & | from | ) |
| DbiFieldType::DbiFieldType | ( | const string & | sql, | |
| Int_t | size | |||
| ) |
| virtual DbiFieldType::~DbiFieldType | ( | ) | [virtual] |
| string DbiFieldType::AsString | ( | ) | const |
| string DbiFieldType::AsSQLString | ( | Dbi::DbTypes | dbType = Dbi::kMySQL |
) | const |
| string DbiFieldType::UndefinedValue | ( | ) | const |
| UInt_t DbiFieldType::GetConcept | ( | ) | const [inline] |
| UInt_t DbiFieldType::GetSize | ( | ) | const [inline] |
| UInt_t DbiFieldType::GetType | ( | ) | const [inline] |
| Bool_t DbiFieldType::IsCompatible | ( | const DbiFieldType & | other | ) | const |
| Bool_t DbiFieldType::IsEqual | ( | const DbiFieldType & | other | ) | const [inline] |
| Bool_t DbiFieldType::IsSmaller | ( | const DbiFieldType & | other | ) | const [inline] |
| Bool_t DbiFieldType::IsSigned | ( | ) | const [inline] |
| void DbiFieldType::SetUnsigned | ( | ) | [inline] |
| void DbiFieldType::Init | ( | Int_t | type, | |
| Int_t | size = -1 | |||
| ) | [private] |
unsigned int DbiFieldType::fConcept [private] |
unsigned int DbiFieldType::fSize [private] |
unsigned int DbiFieldType::fType [private] |
1.4.7