Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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.
 
template<class T >
void operator() (const JType< T > &type)
 Add data type.
 

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

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

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

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

232 {
233 this->push_back(T::getName());
234 }

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