Public Member Functions |
| Generic_line_selector () |
| Generic_line_selector (const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5, const T6 &t6, const T7 &t7, const T8 &t8, const T9 &t9, const T10 &t10) |
template<class Line_format , class Occupancy_handler > |
int | keep (const Line_format &line_format, const std::string &line, Occupancy_handler &occupancy) const |
Static Public Member Functions |
static unsigned | max_nb_systems () |
Protected Member Functions |
template<class Line_format > |
int | operator() (const std::pair< Line_format, std::string > &p) const |
Static Protected Attributes |
static const unsigned | nb_system = Generic_line_selector<T2,T3,T4,T5,T6,T7,T8,T9,T10>::nb_system + 1 |
template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10>
class ESBTL::Generic_line_selector< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >
This class is a line selector using atom selectors to defines the systems. Each template parameter is a function object following the concept of Atom selection and define one system per template parameter. This class can be provided one to ten template parameters. If the code is compiled using the c++0x standard, the number of template parameters is not limited (use -std=c++0x with gcc).
- Template Parameters:
-
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
template<class Line_format , class Occupancy_handler >
int ESBTL::Generic_line_selector< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >::keep |
( |
const Line_format & |
line_format, |
|
|
const std::string & |
line, |
|
|
Occupancy_handler & |
occupancy |
|
) |
| const [inline] |
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
template<class Line_format >
int ESBTL::Generic_line_selector< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >::operator() |
( |
const std::pair< Line_format, std::string > & |
p | ) |
const [inline, protected] |