Jpp
 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 206 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 214 of file JDB/JSupport.hh.

215  {
217  }
Auxiliary class for a type holder.
Definition: JType.hh:19
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 226 of file JDB/JSupport.hh.

227  {
228  this->push_back(T::getName());
229  }
const char * getName()
Get ROOT name of given data type.
Definition: JRootToolkit.hh:53

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