8 #ifndef __PCLASS_GENERATOR_H__
9 #define __PCLASS_GENERATOR_H__
virtual ~PClassGenerator()
Destructor of PClassGenerator.
bool saveFileImplDef(const PPath &baseFileName)
Saves both files include and sources of the class.
bool saveClassImpl(std::ofstream &fs)
Saves class implementation.
PString p_className
Name of the class.
bool p_useTemplate
Says if we need to use template.
void setClassName(const PString &className)
Set the class name.
void saveCopyFunctionImpl(std::ofstream &fs)
Saves the implementation of the copy function.
void saveDestructorDef(std::ofstream &fs)
Saves the defition of the destructor.
PString p_classBrief
Brief description of the class.
void saveConstructorImpl(std::ofstream &fs)
Saves the implementation of the constructor.
void saveCopyContructorDef(std::ofstream &fs)
Saves the defition of the copy constructor.
PString p_templateListVar
Template list var.
void saveInitialisationFunctionDef(std::ofstream &fs)
Saves the definition of the initialisation function.
bool saveFileImpl(const PPath &fileNameSource, const PPath &fileNameInclude)
Saves class implementation.
bool p_useCopyFunction
True if we need to use a copy function.
void saveCopyFunctionDef(std::ofstream &fs)
Saves the defition of the copy function.
PString p_classNameSpace
Namespace of the class.
void saveTemplateBeginImpl(std::ofstream &fs, const PPath &fileNameInclude)
Saves class implementation.
bool saveFileDef(const PPath &fileNameInclude, const PPath &fileNameSource)
Saves class definition.
void saveConstructorDef(std::ofstream &fs)
Saves the defition of the constructor.
PClassGenerator()
Constructor of PClassGenerator.
void saveTemplateDefinition(std::ofstream &fs)
Saves the template defition.
void setTemplateDefVar(const PString &templateDef)
Set the template definition.
void saveCopyEqualOperatorImpl(std::ofstream &fs)
Saves the implementation of the equal operator constructor.
void saveCopyEqualOperatorDef(std::ofstream &fs)
Saves the defition of the equal operator constructor.
void saveInitialisationFunctionImpl(std::ofstream &fs)
Saves the implementation of the initialisation function.
void saveTemplateEndImpl(std::ofstream &fs)
Saves class implementation template end.
bool saveClassDef(std::ofstream &fs)
Saves class definition.
void saveTemplateEndDefinition(std::ofstream &fs, const PPath &fileNameSource)
Saves the template defition.
PString p_templateDefVar
Template def var.
void saveDestructorImpl(std::ofstream &fs)
Saves the implementation of the destructor.
void initialisationPClassGenerator()
Initialisation function of PClassGenerator.
PString p_classTypeName
Name of the class type (with template if there is one)
void saveCopyContructorImpl(std::ofstream &fs)
Saves the implementation of the copy constructor.
Path of a directory or a file.