Jpp  18.1.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 211 of file JDB/JSupport.hh.

Constructor & Destructor Documentation

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 219 of file JDB/JSupport.hh.

220  {
221  JLANG::for_each(*this, JType<JTypelist_t>());
222  }
JObject_t & for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
Definition: JTypeList.hh:415

Member Function Documentation

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 231 of file JDB/JSupport.hh.

232  {
233  this->push_back(T::getName());
234  }
const char * getName()
Get ROOT name of given data type.
Definition: JRootToolkit.hh:57

The documentation for this struct was generated from the following file: