PhoenixGenerator  2.0.0
Set of tools to generate code
header_generator.h
Go to the documentation of this file.
1 
2 /***************************************
3  Auteur : Pierre Aubert
4  Mail : pierre.aubert@lapp.in2p3.fr
5  Licence : CeCILL-C
6 ****************************************/
7 
8 #ifndef __HEADER_GENERATOR_H__
9 #define __HEADER_GENERATOR_H__
10 
11 #include <fstream>
12 #include "PPath.h"
13 
15 void licenceSave(std::ofstream & fs);
16 
18 void saveHeaderFile(const PPath & fileName);
19 void saveSourceFile(const PPath & fileName, const PString & headerName);
20 void saveHeaderSourceFile(const PPath & headerName, const PPath & sourceName);
21 
22 #endif
23 
Path of a directory or a file.
Definition: PPath.h:17
Extends the std::string.
Definition: PString.h:16
void saveSourceFile(const PPath &fileName, const PString &headerName)
Fonction qui sauve le fichier source.
PString licenceSaveStr()
Get the licence in string.
PString makeMultiIncludeDefineMacro(const PString &fileName)
Create the macro of multi inclusion file name.
void saveHeaderFile(const PPath &fileName)
Fonction qui sauve le fichier header.
void licenceSave(std::ofstream &fs)
Saves the policy.
void saveHeaderSourceFile(const PPath &headerName, const PPath &sourceName)
Fonction qui sauve le fichier header.