template<class S1, class S2, class S3, class S4, class S5, class S6, class S7, class S8, class S9, class S10>
class ESBTL::And_functors< S1, S2, S3, S4, S5, S6, S7, S8, S9, S10 >
Class defining a function object returning the logical AND between the results of several given function objects. The current implementation provides a version from two to ten parameters. If the code is compiled using the c++0x standard, the number of parameters is not limited (use -std=c++0x
with gcc
).
- Template Parameters:
-
Si | are function objects with an operator() taking one argument and returning a Boolean (such as Atom selection). |
template<class S1 , class S2 , class S3 , class S4 , class S5 , class S6 , class S7 , class S8 , class S9 , class S10 >
ESBTL::And_functors< S1, S2, S3, S4, S5, S6, S7, S8, S9, S10 >::And_functors |
( |
const S1 & |
s1, |
|
|
const S2 & |
s2, |
|
|
const S3 & |
s3, |
|
|
const S4 & |
s4, |
|
|
const S5 & |
s5, |
|
|
const S6 & |
s6, |
|
|
const S7 & |
s7, |
|
|
const S8 & |
s8, |
|
|
const S9 & |
s9, |
|
|
const S10 & |
s10 |
|
) |
| [inline] |
template<class S1 , class S2 , class S3 , class S4 , class S5 , class S6 , class S7 , class S8 , class S9 , class S10 >
template<class T >
bool ESBTL::And_functors< S1, S2, S3, S4, S5, S6, S7, S8, S9, S10 >::operator() |
( |
const T & |
i | ) |
const [inline] |