Code::Blocks  SVN r11506
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ProjectTemplateLoader Class Reference

#include <projecttemplateloader.h>

Collaboration diagram for ProjectTemplateLoader:

Public Member Functions

 ProjectTemplateLoader ()
 
virtual ~ProjectTemplateLoader ()
 
bool Open (const wxString &filename)
 

Public Attributes

wxString m_Name
 
wxString m_Notice
 
int m_NoticeMsgType
 
wxString m_Title
 
wxString m_Category
 
wxString m_Bitmap
 
FileSetArray m_FileSets
 
TemplateOptionArray m_TemplateOptions
 

Protected Member Functions

void DoTemplate (TiXmlElement *parentNode)
 
void DoTemplateNotice (TiXmlElement *parentNode)
 
void DoFileSet (TiXmlElement *parentNode)
 
void DoFileSetFile (TiXmlElement *parentNode, FileSet &fs)
 
void DoOption (TiXmlElement *parentNode)
 
void DoOptionProject (TiXmlElement *parentNode, TemplateOption &to)
 
void DoOptionCompiler (TiXmlElement *parentNode, TemplateOption &to)
 
void DoOptionLinker (TiXmlElement *parentNode, TemplateOption &to)
 

Detailed Description

Definition at line 40 of file projecttemplateloader.h.

Constructor & Destructor Documentation

◆ ProjectTemplateLoader()

ProjectTemplateLoader::ProjectTemplateLoader ( )

Definition at line 25 of file projecttemplateloader.cpp.

◆ ~ProjectTemplateLoader()

ProjectTemplateLoader::~ProjectTemplateLoader ( )
virtual

Definition at line 30 of file projecttemplateloader.cpp.

Member Function Documentation

◆ DoFileSet()

void ProjectTemplateLoader::DoFileSet ( TiXmlElement *  parentNode)
protected

◆ DoFileSetFile()

void ProjectTemplateLoader::DoFileSetFile ( TiXmlElement *  parentNode,
FileSet fs 
)
protected

◆ DoOption()

void ProjectTemplateLoader::DoOption ( TiXmlElement *  parentNode)
protected

◆ DoOptionCompiler()

void ProjectTemplateLoader::DoOptionCompiler ( TiXmlElement *  parentNode,
TemplateOption to 
)
protected

Definition at line 186 of file projecttemplateloader.cpp.

References wxArrayString::Add(), cbC2U(), and TemplateOption::extraCFlags.

Referenced by DoOption().

◆ DoOptionLinker()

void ProjectTemplateLoader::DoOptionLinker ( TiXmlElement *  parentNode,
TemplateOption to 
)
protected

Definition at line 198 of file projecttemplateloader.cpp.

References wxArrayString::Add(), cbC2U(), and TemplateOption::extraLDFlags.

Referenced by DoOption().

◆ DoOptionProject()

void ProjectTemplateLoader::DoOptionProject ( TiXmlElement *  parentNode,
TemplateOption to 
)
protected

Definition at line 174 of file projecttemplateloader.cpp.

References cbC2U(), TemplateOption::file, and TemplateOption::useDefaultCompiler.

Referenced by DoOption().

◆ DoTemplate()

void ProjectTemplateLoader::DoTemplate ( TiXmlElement *  parentNode)
protected

Definition at line 66 of file projecttemplateloader.cpp.

References cbC2U(), DoFileSet(), DoOption(), DoTemplateNotice(), m_Bitmap, m_Category, m_Name, and m_Title.

Referenced by Open().

◆ DoTemplateNotice()

void ProjectTemplateLoader::DoTemplateNotice ( TiXmlElement *  parentNode)
protected

◆ Open()

bool ProjectTemplateLoader::Open ( const wxString filename)

Member Data Documentation

◆ m_Bitmap

wxString ProjectTemplateLoader::m_Bitmap

Definition at line 53 of file projecttemplateloader.h.

Referenced by DoTemplate().

◆ m_Category

wxString ProjectTemplateLoader::m_Category

Definition at line 52 of file projecttemplateloader.h.

Referenced by DoTemplate().

◆ m_FileSets

FileSetArray ProjectTemplateLoader::m_FileSets

Definition at line 54 of file projecttemplateloader.h.

Referenced by DoFileSet().

◆ m_Name

wxString ProjectTemplateLoader::m_Name

Definition at line 48 of file projecttemplateloader.h.

Referenced by DoTemplate().

◆ m_Notice

wxString ProjectTemplateLoader::m_Notice

Definition at line 49 of file projecttemplateloader.h.

Referenced by DoTemplateNotice().

◆ m_NoticeMsgType

int ProjectTemplateLoader::m_NoticeMsgType

Definition at line 50 of file projecttemplateloader.h.

Referenced by DoTemplateNotice().

◆ m_TemplateOptions

TemplateOptionArray ProjectTemplateLoader::m_TemplateOptions

Definition at line 55 of file projecttemplateloader.h.

Referenced by DoOption().

◆ m_Title

wxString ProjectTemplateLoader::m_Title

Definition at line 51 of file projecttemplateloader.h.

Referenced by DoTemplate(), and SortTemplates().


The documentation for this class was generated from the following files: