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);
353 const JDirectory::path_type
path =
directory.getPath(i->first);
355 for (JDirectory::path_type::const_iterator dir = path.begin(); dir != path.end(); ++dir) {
Utility class to parse command line options.
do cat driver txt<< EOFevent ev_configure{RC_EVT%< ev_configure.txt > RC_DWRT path
#define ASSERT(A,...)
Assert macro.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
then echo Creating output directory