Example program to test JLANG::JPipe class.
More...
#include <string>
#include <iostream>
#include <iomanip>
#include <vector>
#include "JLang/JSTDObjectReader.hh"
#include "JLang/JSTDObjectWriter.hh"
#include "JLang/JStreamObjectOutput.hh"
#include "JLang/JObjectSelector.hh"
#include "JLang/JPipe.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
Example program to test JLANG::JPipe class.
- Author
- mdejong
Definition in file JPipe.cc.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 66 of file JPipe.cc.
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) {
Utility class to parse command line options.
Implementation of object output from STD container.
#define ASSERT(A,...)
Assert macro.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Implementation of object iteration from STD container.
Template implementation of stream output for single data type.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in