Example program to test dependencies of include files.
More...
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <cstdlib>
#include <vector>
#include <set>
#include <map>
#include <dirent.h>
#include "JSystem/JSystemToolkit.hh"
#include "JLang/JLangToolkit.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 dependencies of include files.
- Author
- mdejong
Definition in file JDependencies.cc.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 285 of file JDependencies.cc.
297 JParser<> zap(
"Example program to test dependencies of include files");
306 catch(
const exception &error) {
307 FATAL(error.what() << endl);
318 if (pos != string::npos) {
319 outputFile.replace(pos, 1, (dir !=
"" ? dir.c_str() :
"Jpp"));
324 out <<
"\\documentclass[border=5mm]{standalone}" << endl;
326 out <<
"\\usepackage{tikz}" << endl;
327 out <<
"\\usetikzlibrary{graphs, graphdrawing}" << endl;
328 out <<
"\\usegdlibrary{layered}" << endl;
329 out <<
"\\begin{document}" << endl;
331 out <<
"\\tikz \\graph [layered layout]" << endl;
341 out <<
"\\end{document}" << endl;
349 DEBUG(
i->first <<
": " << flush);
355 for (JDirectory::path_type::const_iterator dir = path.begin(); dir != path.end(); ++dir) {
Utility class to parse command line options.
#define ASSERT(A,...)
Assert macro.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
$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
then echo Creating output directory
#define DEBUG(A)
Message macros.