Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
genreflex Namespace Reference

Functions

void AddToArgVector (std::vector< char * > &argvVector, const std::vector< std::string > &argsToBeAdded, const std::string &optName="")
 
void AddToArgVectorSplit (std::vector< char * > &argvVector, const std::vector< std::string > &argsToBeAdded, const std::string &optName="")
 
void changeExtension (std::string &filename, const std::string &newExtension)
 
unsigned int checkHeadersNames (std::vector< std::string > &headersNames)
 Loop on arguments: stop at the first which starts with -.
 
unsigned int extractArgs (int argc, char **argv, std::vector< std::string > &args)
 Extract the arguments from the command line.
 
void header2outputName (std::string &fileName)
 Replace the extension with "_rflx.cpp".
 
void headers2outputsNames (const std::vector< std::string > &headersNames, std::vector< std::string > &ofilesnames)
 Get a proper name for the output file.
 
int invokeManyRootCling (const std::string &verbosity, const std::string &selectionFileName, const std::string &targetLibName, bool multiDict, const std::vector< std::string > &pcmsNames, const std::vector< std::string > &includes, const std::vector< std::string > &preprocDefines, const std::vector< std::string > &preprocUndefines, const std::vector< std::string > &warnings, const std::string &rootmapFileName, const std::string &rootmapLibName, bool interpreteronly, bool doSplit, bool isCxxmodule, bool writeEmptyRootPCM, bool selSyntaxOnly, bool noIncludePaths, bool noGlobalUsingStd, const std::vector< std::string > &headersNames, bool failOnWarnings, const std::string &outputDirName_const="")
 Get the right ofilenames and invoke several times rootcling One invokation per header.
 
int invokeRootCling (const std::string &verbosity, const std::string &selectionFileName, const std::string &targetLibName, bool multiDict, const std::vector< std::string > &pcmsNames, const std::vector< std::string > &includes, const std::vector< std::string > &preprocDefines, const std::vector< std::string > &preprocUndefines, const std::vector< std::string > &warnings, const std::string &rootmapFileName, const std::string &rootmapLibName, bool interpreteronly, bool doSplit, bool isCxxmodule, bool writeEmptyRootPCM, bool selSyntaxOnly, bool noIncludePaths, bool noGlobalUsingStd, const std::vector< std::string > &headersNames, bool failOnWarnings, const std::string &ofilename)
 
char * string2charptr (const std::string &str)
 The caller is responsible for deleting the string!
 

Variables

bool verbose = false
 

Function Documentation

◆ AddToArgVector()

void genreflex::AddToArgVector ( std::vector< char * > &  argvVector,
const std::vector< std::string > &  argsToBeAdded,
const std::string &  optName = "" 
)

Definition at line 5205 of file rootcling_impl.cxx.

◆ AddToArgVectorSplit()

void genreflex::AddToArgVectorSplit ( std::vector< char * > &  argvVector,
const std::vector< std::string > &  argsToBeAdded,
const std::string &  optName = "" 
)

Definition at line 5217 of file rootcling_impl.cxx.

◆ changeExtension()

void genreflex::changeExtension ( std::string &  filename,
const std::string &  newExtension 
)

Definition at line 5157 of file rootcling_impl.cxx.

◆ checkHeadersNames()

unsigned int genreflex::checkHeadersNames ( std::vector< std::string > &  headersNames)

Loop on arguments: stop at the first which starts with -.

Definition at line 5106 of file rootcling_impl.cxx.

◆ extractArgs()

unsigned int genreflex::extractArgs ( int  argc,
char **  argv,
std::vector< std::string > &  args 
)

Extract the arguments from the command line.

Definition at line 5126 of file rootcling_impl.cxx.

◆ header2outputName()

void genreflex::header2outputName ( std::string &  fileName)

Replace the extension with "_rflx.cpp".

Definition at line 5182 of file rootcling_impl.cxx.

◆ headers2outputsNames()

void genreflex::headers2outputsNames ( const std::vector< std::string > &  headersNames,
std::vector< std::string > &  ofilesnames 
)

Get a proper name for the output file.

Definition at line 5190 of file rootcling_impl.cxx.

◆ invokeManyRootCling()

int genreflex::invokeManyRootCling ( const std::string &  verbosity,
const std::string &  selectionFileName,
const std::string &  targetLibName,
bool  multiDict,
const std::vector< std::string > &  pcmsNames,
const std::vector< std::string > &  includes,
const std::vector< std::string > &  preprocDefines,
const std::vector< std::string > &  preprocUndefines,
const std::vector< std::string > &  warnings,
const std::string &  rootmapFileName,
const std::string &  rootmapLibName,
bool  interpreteronly,
bool  doSplit,
bool  isCxxmodule,
bool  writeEmptyRootPCM,
bool  selSyntaxOnly,
bool  noIncludePaths,
bool  noGlobalUsingStd,
const std::vector< std::string > &  headersNames,
bool  failOnWarnings,
const std::string &  outputDirName_const = "" 
)

Get the right ofilenames and invoke several times rootcling One invokation per header.

Definition at line 5386 of file rootcling_impl.cxx.

◆ invokeRootCling()

int genreflex::invokeRootCling ( const std::string &  verbosity,
const std::string &  selectionFileName,
const std::string &  targetLibName,
bool  multiDict,
const std::vector< std::string > &  pcmsNames,
const std::vector< std::string > &  includes,
const std::vector< std::string > &  preprocDefines,
const std::vector< std::string > &  preprocUndefines,
const std::vector< std::string > &  warnings,
const std::string &  rootmapFileName,
const std::string &  rootmapLibName,
bool  interpreteronly,
bool  doSplit,
bool  isCxxmodule,
bool  writeEmptyRootPCM,
bool  selSyntaxOnly,
bool  noIncludePaths,
bool  noGlobalUsingStd,
const std::vector< std::string > &  headersNames,
bool  failOnWarnings,
const std::string &  ofilename 
)

Definition at line 5232 of file rootcling_impl.cxx.

◆ string2charptr()

char * genreflex::string2charptr ( const std::string &  str)

The caller is responsible for deleting the string!

Definition at line 5170 of file rootcling_impl.cxx.

Variable Documentation

◆ verbose

bool genreflex::verbose = false

Definition at line 133 of file rootcling_impl.cxx.