Jpp
Public Member Functions | List of all members
JDATABASE::JQueries< JTypelist_t > Struct Template Reference

Auxiliary method to get list of table names. More...

#include <JSupport.hh>

Inheritance diagram for JDATABASE::JQueries< JTypelist_t >:
std::vector< std::string >

Public Member Functions

 JQueries ()
 Default constructor. More...
 
template<class T >
void operator() (const JType< T > &type)
 Add data type. More...
 

Detailed Description

template<class JTypelist_t>
struct JDATABASE::JQueries< JTypelist_t >

Auxiliary method to get list of table names.

Definition at line 205 of file JDB/JSupport.hh.

Constructor & Destructor Documentation

◆ JQueries()

template<class JTypelist_t>
JDATABASE::JQueries< JTypelist_t >::JQueries ( )
inline

Default constructor.

This constructor builds the list of queries from the given type list.

Definition at line 213 of file JDB/JSupport.hh.

214  {
216  }

Member Function Documentation

◆ operator()()

template<class JTypelist_t>
template<class T >
void JDATABASE::JQueries< JTypelist_t >::operator() ( const JType< T > &  type)
inline

Add data type.

Parameters
typedata type

Definition at line 225 of file JDB/JSupport.hh.

226  {
227  this->push_back(T::getName());
228  }

The documentation for this struct was generated from the following file:
JLANG::JType
Auxiliary class for a type holder.
Definition: JType.hh:19
JLANG::for_each
JObject_t & for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
Definition: JTypeList.hh:572
JROOT::getName
const char * getName()
Get ROOT name of given data type.
Definition: JRootToolkit.hh:45