Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMakeProject Class Reference

Definition at line 22 of file TMakeProject.h.

Static Public Member Functions

static void AddInclude (FILE *fp, const char *header, Bool_t system, char *inclist)
 Add an include statement, if it has not already been added.
 
static void AddUniqueStatement (FILE *fp, const char *statement, char *inclist)
 Add an include statement, if it has not already been added.
 
static void ChopFileName (TString &name, Int_t limit)
 Chop the name by replacing the ending (before a potential extension) with a md5 summary of the name.
 
static UInt_t GenerateClassPrefix (FILE *fp, const char *clname, Bool_t top, TString &protoname, UInt_t *numberOfClasses, Int_t implementEmptyClass=kFALSE, Bool_t needGenericTemplate=kFALSE)
 Write the start of the class (forward) declaration.
 
static UInt_t GenerateForwardDeclaration (FILE *fp, const char *clname, char *inclist, Bool_t implementEmptyClass, Bool_t needGenericTemplate, const TList *extrainfos)
 Insert a (complete) forward declaration for the class 'clname'.
 
static UInt_t GenerateIncludeForTemplate (FILE *fp, const char *clname, char *inclist, Bool_t forward, const TList *extrainfos)
 Add to the header file, the #include needed for the argument of this template.
 
static void GenerateMissingStreamerInfos (TList *extrainfos, const char *clname)
 Generate an empty StreamerInfo for types that are used in templates parameters but are not known in the list of class.
 
static void GenerateMissingStreamerInfos (TList *extrainfos, TStreamerElement *element)
 Generate an empty StreamerInfo for types that are used in templates parameters but are not known in the list of class.
 
static void GeneratePostDeclaration (FILE *fp, const TVirtualStreamerInfo *info, char *inclist)
 Add to the header file anything that need to appear after the class declaration (this includes some #pragma link).
 
static TString GetHeaderName (const char *name, const TList *extrainfos, Bool_t includeNested=kFALSE)
 Return the header name containing the description of name.
 
static TString UpdateAssociativeToVector (const char *name)
 

Static Private Member Functions

static void GenerateMissingStreamerInfo (TList *extrainfos, const char *clname, Bool_t iscope)
 Generate an empty StreamerInfo for the given type (no recursion) if it is not not known in the list of class.
 

#include <TMakeProject.h>

Member Function Documentation

◆ AddInclude()

void TMakeProject::AddInclude ( FILE *  fp,
const char *  header,
Bool_t  system,
char *  inclist 
)
static

Add an include statement, if it has not already been added.

Definition at line 47 of file TMakeProject.cxx.

◆ AddUniqueStatement()

void TMakeProject::AddUniqueStatement ( FILE *  fp,
const char *  statement,
char *  inclist 
)
static

Add an include statement, if it has not already been added.

Definition at line 33 of file TMakeProject.cxx.

◆ ChopFileName()

void TMakeProject::ChopFileName ( TString name,
Int_t  limit 
)
static

Chop the name by replacing the ending (before a potential extension) with a md5 summary of the name.

Definition at line 62 of file TMakeProject.cxx.

◆ GenerateClassPrefix()

UInt_t TMakeProject::GenerateClassPrefix ( FILE *  fp,
const char *  clname,
Bool_t  top,
TString protoname,
UInt_t numberOfClasses,
Int_t  implementEmptyClass = kFALSE,
Bool_t  needGenericTemplate = kFALSE 
)
static

Write the start of the class (forward) declaration.

If 'implementEmptyClass' is 3 then never add a #pragma

Definition at line 163 of file TMakeProject.cxx.

◆ GenerateForwardDeclaration()

UInt_t TMakeProject::GenerateForwardDeclaration ( FILE *  fp,
const char *  clname,
char *  inclist,
Bool_t  implementEmptyClass,
Bool_t  needGenericTemplate,
const TList extrainfos 
)
static

Insert a (complete) forward declaration for the class 'clname'.

Definition at line 428 of file TMakeProject.cxx.

◆ GenerateIncludeForTemplate()

UInt_t TMakeProject::GenerateIncludeForTemplate ( FILE *  fp,
const char *  clname,
char *  inclist,
Bool_t  forward,
const TList extrainfos 
)
static

Add to the header file, the #include needed for the argument of this template.

Definition at line 455 of file TMakeProject.cxx.

◆ GenerateMissingStreamerInfo()

void TMakeProject::GenerateMissingStreamerInfo ( TList extrainfos,
const char *  clname,
Bool_t  iscope 
)
staticprivate

Generate an empty StreamerInfo for the given type (no recursion) if it is not not known in the list of class.

If the type itself is a template, we mark it with version 1 (a class) otherwise we mark it as version -3 (an enum).

Definition at line 318 of file TMakeProject.cxx.

◆ GenerateMissingStreamerInfos() [1/2]

void TMakeProject::GenerateMissingStreamerInfos ( TList extrainfos,
const char *  clname 
)
static

Generate an empty StreamerInfo for types that are used in templates parameters but are not known in the list of class.

If the type itself is a template, we mark it with version 1 (a class) otherwise we mark it as version -3 (an enum).

Definition at line 365 of file TMakeProject.cxx.

◆ GenerateMissingStreamerInfos() [2/2]

void TMakeProject::GenerateMissingStreamerInfos ( TList extrainfos,
TStreamerElement element 
)
static

Generate an empty StreamerInfo for types that are used in templates parameters but are not known in the list of class.

If the type itself is a template, we mark it with version 1 (a class) otherwise we mark it as version -3 (an enum).

Definition at line 413 of file TMakeProject.cxx.

◆ GeneratePostDeclaration()

void TMakeProject::GeneratePostDeclaration ( FILE *  fp,
const TVirtualStreamerInfo info,
char *  inclist 
)
static

Add to the header file anything that need to appear after the class declaration (this includes some #pragma link).

Definition at line 608 of file TMakeProject.cxx.

◆ GetHeaderName()

TString TMakeProject::GetHeaderName ( const char *  name,
const TList extrainfos,
Bool_t  includeNested = kFALSE 
)
static

Return the header name containing the description of name.

Definition at line 87 of file TMakeProject.cxx.

◆ UpdateAssociativeToVector()

TString TMakeProject::UpdateAssociativeToVector ( const char *  name)
static

Definition at line 659 of file TMakeProject.cxx.


The documentation for this class was generated from the following files: