Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
filter.cxx File Reference
#include <unistd.h>
#include <cstdio>
#include <string>
#include <cstring>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstdarg>
#include <memory>
Include dependency graph for filter.cxx:

Classes

class  ios_base
 STL class. More...
class  unique_ptr< T >
 STL class. More...

Functions

bool BeginsWith (const string &haystack, const string &needle)
 Find if a string begins with another string.
void CreateTutorialImage (bool nobatch)
 Create PNG tutorial image.
bool EndsWith (string const &fullString, string const &ending)
 Find if a string ends with another string.
void ExecuteCommand (string command)
 Execute a command making sure stdout will not go in the doxygen file.
void ExecuteMacro ()
 Execute the macro in gLineString and produce the corresponding picture.
void FilterClass ()
 Filter ROOT class for Doxygen.
void FilterPythonBox ()
 Filter ROOT python box for Doxygen.
void FilterTutorial ()
 Filter ROOT tutorials for Doxygen.
void GetClassName ()
 Retrieve the class name.
string ImagesList (string &name)
 Return the image list after a tutorial macro execution.
int main (int argc, char *argv[])
 Filter ROOT files for Doxygen.
int NumberOfImages ()
 Get the number of images in NumberOfImages.dat after makeimage.C is executed.
void ReplaceAll (string &str, const string &from, const string &to)
 Replace all instances of a string with another string.
string StringFormat (const string fmt_str,...)
 std::string formatting like sprintf.

Variables

FILE * f
string gClassName
string gCwd
string gFileName
bool gHeader
bool gImageGenerated
int gImageID
string gImageName
bool gImageSource
string gImageType
string gImageWidth
int gInMacro
char gLine [255]
string gLineString
int gMacroID
string gMacroName
string gOutDir
string gOutputName
bool gPython
string gPythonExec
bool gSource
string gSourceDir

Function Documentation

◆ BeginsWith()

bool BeginsWith ( const string & haystack,
const string & needle )

Find if a string begins with another string.

Definition at line 724 of file filter.cxx.

◆ CreateTutorialImage()

void CreateTutorialImage ( bool nobatch)

Create PNG tutorial image.

Definition at line 349 of file filter.cxx.

◆ EndsWith()

bool EndsWith ( string const & fullString,
string const & ending )

Find if a string ends with another string.

Definition at line 713 of file filter.cxx.

◆ ExecuteCommand()

void ExecuteCommand ( string command)

Execute a command making sure stdout will not go in the doxygen file.

Definition at line 606 of file filter.cxx.

◆ ExecuteMacro()

void ExecuteMacro ( )

Execute the macro in gLineString and produce the corresponding picture.

Definition at line 575 of file filter.cxx.

◆ FilterClass()

void FilterClass ( )

Filter ROOT class for Doxygen.

Definition at line 216 of file filter.cxx.

◆ FilterPythonBox()

void FilterPythonBox ( )

Filter ROOT python box for Doxygen.

Definition at line 187 of file filter.cxx.

◆ FilterTutorial()

void FilterTutorial ( )

Filter ROOT tutorials for Doxygen.

Definition at line 377 of file filter.cxx.

◆ GetClassName()

void GetClassName ( )

Retrieve the class name.

Definition at line 550 of file filter.cxx.

◆ ImagesList()

string ImagesList ( string & name)

Return the image list after a tutorial macro execution.

Definition at line 672 of file filter.cxx.

◆ main()

int main ( int argc,
char * argv[] )

Filter ROOT files for Doxygen.

Definition at line 139 of file filter.cxx.

◆ NumberOfImages()

int NumberOfImages ( )

Get the number of images in NumberOfImages.dat after makeimage.C is executed.

Definition at line 619 of file filter.cxx.

◆ ReplaceAll()

void ReplaceAll ( string & str,
const string & from,
const string & to )

Replace all instances of a string with another string.

Definition at line 634 of file filter.cxx.

◆ StringFormat()

string StringFormat ( const string fmt_str,
... )

std::string formatting like sprintf.

Definition at line 652 of file filter.cxx.

Variable Documentation

◆ f

FILE* f

Definition at line 112 of file filter.cxx.

◆ gClassName

string gClassName

Definition at line 116 of file filter.cxx.

◆ gCwd

string gCwd

Definition at line 121 of file filter.cxx.

◆ gFileName

string gFileName

Definition at line 114 of file filter.cxx.

◆ gHeader

bool gHeader

Definition at line 126 of file filter.cxx.

◆ gImageGenerated

bool gImageGenerated

Definition at line 129 of file filter.cxx.

◆ gImageID

int gImageID

Definition at line 132 of file filter.cxx.

◆ gImageName

string gImageName

Definition at line 117 of file filter.cxx.

◆ gImageSource

bool gImageSource

Definition at line 130 of file filter.cxx.

◆ gImageType

string gImageType

Definition at line 119 of file filter.cxx.

◆ gImageWidth

string gImageWidth

Definition at line 120 of file filter.cxx.

◆ gInMacro

int gInMacro

Definition at line 131 of file filter.cxx.

◆ gLine

char gLine[255]

Definition at line 113 of file filter.cxx.

◆ gLineString

string gLineString

Definition at line 115 of file filter.cxx.

◆ gMacroID

int gMacroID

Definition at line 133 of file filter.cxx.

◆ gMacroName

string gMacroName

Definition at line 118 of file filter.cxx.

◆ gOutDir

string gOutDir

Definition at line 122 of file filter.cxx.

◆ gOutputName

string gOutputName

Definition at line 125 of file filter.cxx.

◆ gPython

bool gPython

Definition at line 128 of file filter.cxx.

◆ gPythonExec

string gPythonExec

Definition at line 124 of file filter.cxx.

◆ gSource

bool gSource

Definition at line 127 of file filter.cxx.

◆ gSourceDir

string gSourceDir

Definition at line 123 of file filter.cxx.