#include <PluginSourceWriter.h>
Public Member Functions | |
void | createConfigFile (const std::string &sourcePath, const std::string &nameSpace, const std::string exportMacro, const std::string projName) |
void | createCppFile (const std::string &sourcePath, const std::string &nameSpace, const std::string projName) |
void | createHeaderFile (const std::string &sourcePath, const std::string &nameSpace) |
PluginSourceWriter () | |
~PluginSourceWriter () | |
Protected Member Functions | |
std::string | getExportMacro (const std::string &nameSpace) |
void | insertDefaultHeader (std::ofstream &stream, const std::string &fileName) |
void | insertEndIfInfo (std::ofstream &stream, const std::string &nameSpace, const std::string &fileName) |
void | insertFileInfo (std::ofstream &stream, const std::string &fileName) |
void | insertIfDefInfo (std::ofstream &stream, const std::string &nameSpace, const std::string &fileName) |
void | insertTerraLibHeader (std::ofstream &stream) |
Definition at line 48 of file PluginSourceWriter.h.
te::qt::widgets::PluginSourceWriter::PluginSourceWriter | ( | ) |
Definition at line 39 of file PluginSourceWriter.cpp.
te::qt::widgets::PluginSourceWriter::~PluginSourceWriter | ( | ) |
Definition at line 43 of file PluginSourceWriter.cpp.
void te::qt::widgets::PluginSourceWriter::createConfigFile | ( | const std::string & | sourcePath, |
const std::string & | nameSpace, | ||
const std::string | exportMacro, | ||
const std::string | projName | ||
) |
Definition at line 179 of file PluginSourceWriter.cpp.
References te::common::Convert2UCase(), and PLUGIN_CONFIG_FILE_NAME.
Referenced by te::qt::widgets::PluginBuilderWizard::buildPlugin().
void te::qt::widgets::PluginSourceWriter::createCppFile | ( | const std::string & | sourcePath, |
const std::string & | nameSpace, | ||
const std::string | projName | ||
) |
Definition at line 109 of file PluginSourceWriter.cpp.
References te::common::Convert2UCase(), and PLUGIN_CPP_FILE_NAME.
Referenced by te::qt::widgets::PluginBuilderWizard::buildPlugin().
void te::qt::widgets::PluginSourceWriter::createHeaderFile | ( | const std::string & | sourcePath, |
const std::string & | nameSpace | ||
) |
Definition at line 47 of file PluginSourceWriter.cpp.
References PLUGIN_H_FILE_NAME.
Referenced by te::qt::widgets::PluginBuilderWizard::buildPlugin().
|
protected |
Definition at line 354 of file PluginSourceWriter.cpp.
References te::common::Convert2UCase().
|
protected |
Definition at line 259 of file PluginSourceWriter.cpp.
References te::common::Version::asString().
|
protected |
Definition at line 337 of file PluginSourceWriter.cpp.
References te::common::Convert2UCase().
|
protected |
Definition at line 306 of file PluginSourceWriter.cpp.
|
protected |
Definition at line 320 of file PluginSourceWriter.cpp.
References te::common::Convert2UCase().
|
protected |
Definition at line 279 of file PluginSourceWriter.cpp.