46 virtual bool accept(argument_type
object)
const
51 return ((
int)
object) % mod == 0;
66 int main(
int argc,
char **argv)
76 JParser<> zap(
"Example program to test object iteration using pipe.");
83 catch(
const exception &error) {
84 FATAL(error.what() << endl);
92 for (
int i = 0; i != 20; ++i) {
102 in | JModulo(mod) | out;
111 in | JModulo(mod) | out;
115 for (buffer_type::const_iterator i =
data.begin(); i !=
data.end(); ++i) {
General purpose messaging.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Implementation of pipe operation for object iterators.
Interface for selection of objects.
JClass< T >::argument_type argument_type
Type definition of argument of interface method.
virtual void rewind()=0
Rewind.
Implementation of object output from STD container.
Template implementation of stream output for single data type.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::vector< JHitW0 > buffer_type
hits
Implementation of object iteration from STD container.