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
14
PString
licenceSaveStr
();
15
void
licenceSave
(std::ofstream & fs);
16
17
PString
makeMultiIncludeDefineMacro
(
const
PString
& fileName);
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
PPath.h
PPath
Path of a directory or a file.
Definition:
PPath.h:17
PString
Extends the std::string.
Definition:
PString.h:16
saveSourceFile
void saveSourceFile(const PPath &fileName, const PString &headerName)
Fonction qui sauve le fichier source.
Definition:
header_generator.cpp:61
licenceSaveStr
PString licenceSaveStr()
Get the licence in string.
Definition:
header_generator.cpp:13
makeMultiIncludeDefineMacro
PString makeMultiIncludeDefineMacro(const PString &fileName)
Create the macro of multi inclusion file name.
Definition:
header_generator.cpp:34
saveHeaderFile
void saveHeaderFile(const PPath &fileName)
Fonction qui sauve le fichier header.
Definition:
header_generator.cpp:41
licenceSave
void licenceSave(std::ofstream &fs)
Saves the policy.
Definition:
header_generator.cpp:26
saveHeaderSourceFile
void saveHeaderSourceFile(const PPath &headerName, const PPath &sourceName)
Fonction qui sauve le fichier header.
Definition:
header_generator.cpp:77
src
header_generator.h
Generated on Fri Apr 25 2025 19:11:30 for PhoenixGenerator by
1.9.1