Public Member Functions | |
BDSMySQLWrapper (const G4String &SQLFileName) | |
~BDSMySQLWrapper () | |
std::vector< BDSMySQLTable * > | ConstructTable () |
G4int | GetComponentN () |
Data Fields | |
std::vector< BDSMySQLTable * > | table |
Private Member Functions | |
void | ReadLine () |
void | RemoveCommentsFromLine (std::string &value) |
void | RemoveQuotesFromLine (std::string &value) |
void | RemoveWhitespace (std::string &) |
void | RemoveWhitespace (G4String &) |
void | TokenizeLine () |
void | BeginTokens () |
bool | NextToken () |
bool | NextInputToken () |
bool | EndTokens () |
std::string | Token () |
bool | EndOfLine () |
bool | EmptyToken () |
void | ProceedToEndOfLine () |
G4int | ParseComponent () |
void | Create () |
void | CreateDatabase () |
void | CreateTable () |
void | Insert () |
void | InsertInto () |
void | Values () |
Private Attributes | |
std::ifstream | ifs |
G4String | CurrentTableName |
G4String | InsertTableName |
G4int | ComponentN |
G4int | tableN |
std::vector< std::string > | _tokens |
std::vector< std::string >::iterator | _tokens_iter |
std::string | _currentLine |
bool | _startOfFile |
Definition at line 34 of file BDSMySQLWrapper.hh.