Logo ROOT  
Reference Guide
TMakeProject.h
Go to the documentation of this file.
1 // @(#)root/io:$Id$
2 // Author: Rene Brun 12/10/2000
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TMakeProject
13 #define ROOT_TMakeProject
14 
15 #include <stdio.h>
16 #include "TString.h"
17 
18 class TList;
20 class TStreamerElement;
21 
23 {
24 private:
25  static void GenerateMissingStreamerInfo(TList *extrainfos, const char *clname, Bool_t iscope);
26 public:
27  static void AddUniqueStatement(FILE *fp, const char *statement, char *inclist);
28  static void AddInclude(FILE *fp, const char *header, Bool_t system, char *inclist);
29  static void ChopFileName(TString &name, Int_t limit);
30  static TString GetHeaderName(const char *name, const TList *extrainfos, Bool_t includeNested = kFALSE);
31  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);
32  static void GenerateMissingStreamerInfos(TList *extrainfos, TStreamerElement *element);
33  static void GenerateMissingStreamerInfos(TList *extrainfos, const char *clname);
34  static UInt_t GenerateForwardDeclaration(FILE *fp, const char *clname, char *inclist, Bool_t implementEmptyClass, Bool_t needGenericTemplate, const TList *extrainfos);
35  static UInt_t GenerateIncludeForTemplate(FILE *fp, const char *clname, char *inclist, Bool_t forward, const TList *extrainfos);
36  static TString UpdateAssociativeToVector(const char *name);
37  static void GeneratePostDeclaration(FILE *fp, const TVirtualStreamerInfo *info, char *inclist);
38 };
39 
40 #endif // ROOT_TMakeProject
41 
TMakeProject::ChopFileName
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.
Definition: TMakeProject.cxx:62
TMakeProject::GenerateClassPrefix
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.
Definition: TMakeProject.cxx:163
TMakeProject::GeneratePostDeclaration
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 #...
Definition: TMakeProject.cxx:605
TMakeProject::AddInclude
static void AddInclude(FILE *fp, const char *header, Bool_t system, char *inclist)
Add an include statement, if it has not already been added.
Definition: TMakeProject.cxx:47
TString
Basic string class.
Definition: TString.h:136
TString.h
TVirtualStreamerInfo
Abstract Interface class describing Streamer information for one class.
Definition: TVirtualStreamerInfo.h:37
bool
TMakeProject::AddUniqueStatement
static void AddUniqueStatement(FILE *fp, const char *statement, char *inclist)
Add an include statement, if it has not already been added.
Definition: TMakeProject.cxx:33
TMakeProject::GenerateIncludeForTemplate
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.
Definition: TMakeProject.cxx:455
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TMakeProject::GenerateMissingStreamerInfos
static void GenerateMissingStreamerInfos(TList *extrainfos, TStreamerElement *element)
Generate an empty StreamerInfo for types that are used in templates parameters but are not known in t...
Definition: TMakeProject.cxx:413
unsigned int
TMakeProject::GenerateForwardDeclaration
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'.
Definition: TMakeProject.cxx:428
TMakeProject::GenerateMissingStreamerInfo
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 o...
Definition: TMakeProject.cxx:318
TMVA::DNN::forward
void forward(const LAYERDATA &prevLayerData, LAYERDATA &currLayerData)
apply the weights (and functions) in forward direction of the DNN
Definition: NeuralNet.icc:546
TMakeProject::UpdateAssociativeToVector
static TString UpdateAssociativeToVector(const char *name)
Definition: TMakeProject.cxx:656
TMakeProject
Definition: TMakeProject.h:23
name
char name[80]
Definition: TGX11.cxx:110
TMakeProject::GetHeaderName
static TString GetHeaderName(const char *name, const TList *extrainfos, Bool_t includeNested=kFALSE)
Return the header name containing the description of name.
Definition: TMakeProject.cxx:87
TStreamerElement
Definition: TStreamerElement.h:33
TList
A doubly linked list.
Definition: TList.h:44
int