|
Jpp 19.3.0-rc.1
the software that should make you happy
|
#include <string>#include <istream>#include <ostream>#include <fstream>#include <stdlib.h>#include <vector>#include <map>#include <algorithm>#include <memory>#include "dbclient/KM3NeTDBClient.h"#include "JSystem/JStat.hh"#include "JLang/JManip.hh"#include "JROOT/JRoot.hh"#include "JSon/JSon.hh"#include "Jeep/JVersion.hh"#include "Jeep/JPrint.hh"#include "JDB/JDBReader.hh"Go to the source code of this file.
Classes | |
| struct | JDATABASE::JServer |
| Wrapper class for server name. More... | |
| class | JDATABASE::JDB |
| Auxiliary class for connection to data base. More... | |
Namespaces | |
| namespace | JDATABASE |
| Auxiliary classes and methods for database I/O. | |
| namespace | JPP |
| This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
| const Server & | JDATABASE::getServer (const std::string &server) |
| Get server by name. | |
| std::vector< JServer > | JDATABASE::getServernames () |
| Get list of names of available database servers. | |
| const Server & | JDATABASE::getServer () |
| Get default server. | |
| const char * | JDATABASE::getPrivateCookie () |
| Get private cookie. | |
| const char * | JDATABASE::getPublicCookie () |
| Get public cookie. | |
| std::istream & | JDATABASE::operator>> (std::istream &in, JServer &server) |
| Read server name from input stream. | |
| template<class JTable_t > | |
| const char * | JDATABASE::getTable () |
| Get table name. | |
| template<class JTable_t , class JType_t > | |
| const char * | JDATABASE::getColumn (JType_t JTable_t::*data_member) |
| Get column name. | |
| template<class JTable_t > | |
| std::vector< std::string > | JDATABASE::getColumns () |
| Get column names. | |
| ResultSet & | JDATABASE::getResultSet (const std::string &query) |
| Get result set. | |
| ResultSet & | JDATABASE::getResultSet (const std::string &query, const std::vector< Selector > &selection) |
| Get result set. | |
| void | JDATABASE::get_json (json &js, const std::string &query) |
| Get json. | |
| void | JDATABASE::get_json (json &js, const std::string &query, const std::vector< Selector > &selection) |
| Get json. | |
Variables | |
| static const JVersion | JDATABASE::APIV2_VERSION (2, 1, 0) |
| static std::vector< std::pair< JServer, Server > > | JDATABASE::LIST_OF_SERVERS |
| Named list of available database servers. | |
| static const char | JDATABASE::PREFIX_COOKIE = '_' |
| Cookie prefix. | |
| static const std::string | JDATABASE::PREFIX_DATAFILTER = "DAQ_triggerParameters" |
| This string is prepended to every parameter in the database output for the corresponding process. | |
| static const std::string | JDATABASE::PREFIX_ADF = "DAQ_ADF" |