BmnRoot
Loading...
Searching...
No Matches
UniParser.cxx File Reference
#include "UniParser.h"
#include "ElogConnection.h"
#include "UniConnection.h"
#include "UniDetectorParameter.h"
#include "UniParameter.h"
#include "UniRun.h"
#include "TPRegexp.h"
#include "TSQLResult.h"
#include "TSQLRow.h"
#include "TSQLServer.h"
#include "TSQLStatement.h"
#include "TSystem.h"
#include "function_set.h"
#include <algorithm>
#include <fstream>
#include <iostream>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <sstream>
#include <string>
Include dependency graph for UniParser.cxx:

Go to the source code of this file.

Macros

#define ONLY_DECLARATIONS
 

Functions

int parse_cycle_statement (xmlNodePtr &cur_schema_node, vector< structParseSchema > &vecElements, int &skip_count, char &delimiter_char, int &column_count)
 
TString prepare_sql_code (vector< structParseSchema > vecElements, TString strTableName, bool isUpdate)
 
int write_string_to_db (string &write_string, TSQLStatement *stmt, structParseSchema &schema, int &count, int cycle_counter)
 
xmlNodePtr findNodeByName (xmlNodePtr rootnode, const char *nodename)
 
bool check_element (const string &str, size_t pos, string element)
 
TDatime stringToDatime (string str_time)
 

Macro Definition Documentation

◆ ONLY_DECLARATIONS

#define ONLY_DECLARATIONS

Definition at line 8 of file UniParser.cxx.

Function Documentation

◆ check_element()

bool check_element ( const string &  str,
size_t  pos,
string  element 
)

Definition at line 1282 of file UniParser.cxx.

References i.

Referenced by UniParser::ConvertElogCsv().

◆ findNodeByName()

xmlNodePtr findNodeByName ( xmlNodePtr  rootnode,
const char *  nodename 
)

Definition at line 347 of file UniParser.cxx.

References findNodeByName().

Referenced by findNodeByName(), and UniParser::ParseXml2Db().

◆ parse_cycle_statement()

int parse_cycle_statement ( xmlNodePtr &  cur_schema_node,
vector< structParseSchema > &  vecElements,
int &  skip_count,
char &  delimiter_char,
int &  column_count 
)

◆ prepare_sql_code()

TString prepare_sql_code ( vector< structParseSchema vecElements,
TString  strTableName,
bool  isUpdate 
)

◆ stringToDatime()

TDatime stringToDatime ( string  str_time)

Definition at line 1306 of file UniParser.cxx.

Referenced by UniParser::ConvertElogCsv().

◆ write_string_to_db()