16   static const std::string JPP_DIR = getenv(
"JPP_DIR");
 
   30     ifstream 
in(file_name.c_str());
 
   36     for (
string buffer; 
getline(
in, buffer); ) {
 
   38       const string::size_type ipos = buffer.find(
"\"");
 
   40       if (buffer.find(
"#include") == 0 && ipos != string::npos) {
 
   42         const string source = buffer.substr(ipos + 1, buffer.length() - ipos - 2);
 
   44         if (source.find(target) != string::npos) {
 
   45           cout << ((
path.empty() ? file_name : 
path) + 
" -> " + source) << endl;
 
   49         include(JPP_DIR + 
"/software/" + source, target, ((
path.empty() ? file_name : 
path) + 
" -> " + source));
 
   63 int main(
int argc, 
char **argv)
 
   73     JParser<> zap(
"Auxiliary program to recursively check for include file in Jpp repository.");
 
   75     zap[
'f'] = 
make_field(source,  
"name of source file to be inspected");
 
   76     zap[
'i'] = 
make_field(target,  
"name of include file to be searched");
 
   79     if (zap.
read(argc, argv) != 0)
 
   82   catch(
const exception& error) {
 
   83     FATAL(error.what() << endl);
 
   86   DEBUG(
"JPP_DIR" << 
' ' << JPP_DIR << endl);
 
   88   include(source, target);
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line. 
 
$WORKDIR driver txt done cat $WORKDIR driver txt<< EOFprocess ${DATAFILTER}$FILTER_HOST csh-c '(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&(JDataFilter-H\$SERVER\$-M\$LOGGER\$-d $DEBUG-u ${DATAFILTER}-P $PORT</dev/null > &/dev/null &))';process ${DATAWRITER}$WRITER_HOST csh-c '(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&(JDataWriter-H\$SERVER\$-M\$LOGGER\$-d $DEBUG-u ${DATAWRITER}</dev/null > &/dev/null &))';print enterevent ev_init{RC_CMD}event ev_reset{RC_CMD}event ev_init{RC_CMD}event ev_configure{RC_DFLTR%<$WORKDIR/ev_configure_datafilter.txt > RC_DQSIM<$WORKDIR/ev_configure_dqsimulator.txt > RC_DWRT path
 
General purpose messaging. 
 
int read(const int argc, const char *const argv[])
Parse the program's command line options. 
 
Utility class to parse command line options. 
 
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
 
#define DEBUG(A)
Message macros.