Logo ROOT  
Reference Guide
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 -. More...
 
unsigned int extractArgs (int argc, char **argv, std::vector< std::string > &args)
 Extract the arguments from the command line. More...
 
void header2outputName (std::string &fileName)
 Replace the extension with "_rflx.cpp". More...
 
void headers2outputsNames (const std::vector< std::string > &headersNames, std::vector< std::string > &ofilesnames)
 Get a proper name for the output file. More...
 
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. More...
 
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! More...
 

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 5169 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 5181 of file rootcling_impl.cxx.

◆ changeExtension()

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

Definition at line 5121 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 5070 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 5090 of file rootcling_impl.cxx.

◆ header2outputName()

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

Replace the extension with "_rflx.cpp".

Definition at line 5146 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 5154 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 5350 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 5196 of file rootcling_impl.cxx.

◆ string2charptr()

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

The caller is responsible for deleting the string!

Definition at line 5134 of file rootcling_impl.cxx.

Variable Documentation

◆ verbose

bool genreflex::verbose = false

Definition at line 140 of file rootcling_impl.cxx.