27 virtual ~io_interface() {}
28 virtual void copy(
const std::string& query,
const JSelector& selection,
const JMeta& meta,
const std::string& output_file)
const = 0;
35 std::map<std::string, std::shared_ptr<io_interface> >
44 virtual void copy(
const std::string& query,
const JSelector& selection,
const JMeta& meta,
const std::string& output_file)
const
80 void operator()(
const JType<T>& type)
82 (*this)[T::getName()] = std::make_shared< io<T> >();
94int main(
int argc,
char **argv)
112 JParser<> zap(
"Auxiliary program to convert data from data base into ROOT format.");
127 catch(
const exception &error) {
128 FATAL(error.what() << endl);
134 JDB::reset(usr, pwd, cookie);
142 catch(
const exception& error) {
143 FATAL(error.what() << endl);
int main(int argc, char **argv)
ROOT TTree parameter settings.
This file is automatically created by make.
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Object iteration from database.
Auxiliary class for specifying selection of database data.
Utility class to parse command line options.
void copy(const Head &from, JHead &to)
Copy header from from to to.
const std::vector< std::string > & getQueries()
Get list of possible queries.
JDetectorsHelper & getDetector()
Auxiliary function for helper object initialisation.
std::vector< JServer > getServernames()
Get list of names of available database servers.
JType< T > getType()
Get type.
void for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Wrapper class for server name.
Auxiliary class for a type holder.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Empty structure for specification of parser element that is not initialised (i.e. does require input)...