PhoenixGenerator  2.0.4
Set of tools to generate code
Loading...
Searching...
No Matches
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
14PString licenceSaveStr();
15void licenceSave(std::ofstream & fs);
16
17PString makeMultiIncludeDefineMacro(const PString & fileName);
18void saveHeaderFile(const PPath & fileName);
19void saveSourceFile(const PPath & fileName, const PString & headerName);
20void saveHeaderSourceFile(const PPath & headerName, const PPath & sourceName);
21
22#endif
23
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.