1 #ifndef __DBITABLE_HPP_ 2 #define __DBITABLE_HPP_ 7 #include <unordered_map> 11 #include "nutools/IFDatabase/DataType.h" 12 #include "nutools/IFDatabase/Column.h" 13 #include "nutools/IFDatabase/ColumnDef.h" 14 #include "nutools/IFDatabase/Row.h" 91 void SetDBInfo(
const char* name,
const char* host,
const char* port,
151 bool WriteToCSV(
const char* fname,
bool appendToFile=
false,
bool writeColNames=
false)
223 if (c->
Type() ==
"bool")
224 if (start != end)
return false;
237 std::stringstream startSS;
239 std::stringstream endSS;
282 bool Write(
bool commit=
true);
387 std::vector<nutools::dbi::ColumnDef>
fCol;
388 std::vector<nutools::dbi::Row>
fRow;
399 std::unordered_map<uint64_t,std::vector<nutools::dbi::Row*> >
fChanRowMap;
415 for (
unsigned int j=0; j<t.
fRow.size(); ++j) {
def line(rflist, normalization=13700 *units.eplus)
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
unsigned __int64 uint64_t
QTextStream & endl(QTextStream &s)