15 body +=
"/***************************************\n";
16 body +=
"\tAuteur : Pierre Aubert\n";
17 body +=
"\tMail : pierre.aubert@lapp.in2p3.fr\n";
18 body +=
"\tLicence : CeCILL-C\n";
19 body +=
"****************************************/\n";
43 fs.open(fileName.c_str());
45 std::cerr <<
"saveHeaderFile : can't open file '" << fileName <<
"'" << std::endl;
50 fs <<
"#ifndef " << defineStr << std::endl;
51 fs <<
"#define " << defineStr << std::endl;
52 fs << std::endl << std::endl << std::endl << std::endl << std::endl << std::endl;
53 fs <<
"#endif" << std::endl;
63 fs.open(fileName.c_str());
65 std::cerr <<
"saveSourceFile : can't open file '" << fileName <<
"'" << std::endl;
69 fs << std::endl <<
"#include \"" << headerName <<
"\"" << std::endl << std::endl << std::endl << std::endl << std::endl << std::endl;
Path of a directory or a file.
PString replace(const PString &pattern, const PString &replaceStr) const
Replace a PString into an other PString.
PString toUpper() const
Convert std::string in upper case.