top | up | prev | next

Project Class

Definition at line 28 of Project.hpp

Constructors

Project(const std::string& systemXmlFilePath_, const std::string& xmlFilePath_, bool nothrowStatus_)

Member Functions

void BuildAst()
void BuildSymbolTable()
void Convert(ProcessType processType)
sngcpp::ast::SourceFileNode* GetSourceFile(const std::string& sourceFilePath) const override
void Import()
void MapNamespaces(sngxml::dom::Document* mapDoc)
void Process(bool verbose, ProcessType processType)
void ReadAst()
void ReadFilter()
void ReadIncludePath()
void ReadInstallDir()
void ReadMap()
void ReadMergeDirFiles()
void ReadNothrowList()
void ReadPatchFiles()
void ReadReferences()
void ReadSources()
void ReadSymbolTableXml()
void ReadSystemProjects()
void ReadTargetDir()
void ReadTextFiles()
void ReadVCSources()
void ReadVCXProjectFilePath()
void SetAstFilePath()
void SetStageDir()
void SetSystem()
void WriteAst()
void WriteSymbolTableXml()

Member Variables

std::unique_ptr<sngcpp::ast::Node> ast
std::string astFilePath
soulng::rex::Context context
std::unique_ptr<sngxml::dom::Document> doc
std::set<std::u32string> excludedClasses
std::set<std::u32string> excludedFunctions
std::vector<std::unique_ptr<File>> extraFiles
std::vector<File> files
FilterList filters
sngcpp::pp::ProjectHeaderFileSet headerFiles
std::vector<Project*> imports
std::string includePath
std::string installDir
std::vector<std::u32string> installReferences
std::vector<std::unique_ptr<soulng::lexer::Lexer>> lexers
Map map
std::string mergeDir
std::vector<std::unique_ptr<File>> mergeDirFiles
std::map::map<std::u32string, File*> mergeFileMap
std::u32string name
NothrowList nothrowList
std::vector<std::unique_ptr<PatchFile>> patchFiles
std::unordered_map<std::u32string, Project*> projectMap
std::string projectRootDir
std::vector<std::unique_ptr<Project>> projects
std::map::map<std::string, sngcpp::ast::SourceFileNode*> sourceFileMap
std::vector<sngcpp::ast::SourceFileNode*> sourceFiles
std::string stageDir
std::vector<std::u32string> stageReferences
sngcpp::symbols::SymbolTable symbolTable
std::unique_ptr<sngxml::dom::Document> symbolTableXmlDoc
bool system
std::string systemRootDir
std::string systemXmlFilePath
std::string targetDir
std::u32string targetName
std::vector<std::u32string> textFiles
std::u32string type
std::string vcxprojectFilePath
std::string vcxprojectRootDir
bool verbose
std::string xmlFilePath

Constructor Details

Project Constructor

cpp2cm::Project::Project(const std::string& systemXmlFilePath_, const std::string& xmlFilePath_, bool nothrowStatus_)

Definition at line 38 of Project.cpp
Declaration at line 31 of Project.hpp


Member Function Details

BuildAst Member Function

void cpp2cm::Project::BuildAst()

Definition at line 568 of Project.cpp
Declaration at line 45 of Project.hpp

Calls: cpp2cm::File::Included , cpp2cm::File::Name , cpp2cm::File::Path

Called by: cpp2cm::Project::Process


BuildSymbolTable Member Function

void cpp2cm::Project::BuildSymbolTable()

Definition at line 737 of Project.cpp
Declaration at line 50 of Project.hpp

Calls: cpp2cm::Project::ReadAst

Called by: cpp2cm::Project::Process


Convert Member Function

void cpp2cm::Project::Convert(ProcessType processType)

Definition at line 797 of Project.cpp
Declaration at line 53 of Project.hpp

Calls: cpp2cm::Converter::GetSourceFiles , cpp2cm::Converter::Write , cpp2cm::File::Path , cpp2cm::File::SetIncluded , cpp2cm::Map::AddSourceXmlDoc , cpp2cm::Map::SetCurrentProjectName , cpp2cm::Map::SetSymbolTable , cpp2cm::Project::ReadPatchFiles , cpp2cm::Project::ReadSymbolTableXml , cpp2cm::SourceFiles::Apply , cpp2cm::SourceFiles::Get , cpp2cm::SourceFiles::Sort , cpp2cm::SourceFiles::Write

Called by: cpp2cm::Project::Process


GetSourceFile Member Function

sngcpp::ast::SourceFileNode* cpp2cm::Project::GetSourceFile(const std::string& sourceFilePath) const override

Definition at line 1057 of Project.cpp
Declaration at line 57 of Project.hpp


Import Member Function

void cpp2cm::Project::Import()

Definition at line 645 of Project.cpp
Declaration at line 48 of Project.hpp

Calls: cpp2cm::NothrowList::Verbose , cpp2cm::Project::ReadSystemProjects

Called by: cpp2cm::Project::Process


MapNamespaces Member Function

void cpp2cm::Project::MapNamespaces(sngxml::dom::Document* mapDoc)

Definition at line 534 of Project.cpp
Declaration at line 44 of Project.hpp

Calls: cpp2cm::Map::MapNs

Called by: cpp2cm::Project::ReadMap


Process Member Function

void cpp2cm::Project::Process(bool verbose, ProcessType processType)

Definition at line 64 of Project.cpp
Declaration at line 32 of Project.hpp

Calls: cpp2cm::Project::BuildAst , cpp2cm::Project::BuildSymbolTable , cpp2cm::Project::Convert , cpp2cm::Project::Import , cpp2cm::Project::ReadFilter , cpp2cm::Project::ReadIncludePath , cpp2cm::Project::ReadInstallDir , cpp2cm::Project::ReadMap , cpp2cm::Project::ReadMergeDirFiles , cpp2cm::Project::ReadNothrowList , cpp2cm::Project::ReadReferences , cpp2cm::Project::ReadSources , cpp2cm::Project::ReadTargetDir , cpp2cm::Project::ReadTextFiles , cpp2cm::Project::ReadVCXProjectFilePath , cpp2cm::Project::WriteAst , cpp2cm::Project::WriteSymbolTableXml


ReadAst Member Function

void cpp2cm::Project::ReadAst()

Definition at line 633 of Project.cpp
Declaration at line 47 of Project.hpp

Called by: cpp2cm::Project::BuildSymbolTable


ReadFilter Member Function

void cpp2cm::Project::ReadFilter()

Definition at line 327 of Project.cpp
Declaration at line 40 of Project.hpp

Calls: cpp2cm::FilterList::Add

Called by: cpp2cm::Project::Process


ReadIncludePath Member Function

void cpp2cm::Project::ReadIncludePath()

Definition at line 239 of Project.cpp
Declaration at line 37 of Project.hpp

Called by: cpp2cm::Project::Process


ReadInstallDir Member Function

void cpp2cm::Project::ReadInstallDir()

Definition at line 296 of Project.cpp
Declaration at line 39 of Project.hpp

Called by: cpp2cm::Project::Process


ReadMap Member Function

void cpp2cm::Project::ReadMap()

Definition at line 465 of Project.cpp
Declaration at line 42 of Project.hpp

Calls: cpp2cm::Project::MapNamespaces

Called by: cpp2cm::Project::Process


ReadMergeDirFiles Member Function

void cpp2cm::Project::ReadMergeDirFiles()

Definition at line 1035 of Project.cpp
Declaration at line 59 of Project.hpp

Calls: cpp2cm::File::Name , cpp2cm::File::SetIncluded

Called by: cpp2cm::Project::Process


ReadNothrowList Member Function

void cpp2cm::Project::ReadNothrowList()

Definition at line 404 of Project.cpp
Declaration at line 41 of Project.hpp

Calls: cpp2cm::NothrowList::AddPattern

Called by: cpp2cm::Project::Process


ReadPatchFiles Member Function

void cpp2cm::Project::ReadPatchFiles()

Definition at line 1000 of Project.cpp
Declaration at line 58 of Project.hpp

Calls: PatchFileParser::Parse

Called by: cpp2cm::Project::Convert


ReadReferences Member Function

void cpp2cm::Project::ReadReferences()

Definition at line 496 of Project.cpp
Declaration at line 43 of Project.hpp

Called by: cpp2cm::Project::Process


ReadSources Member Function

void cpp2cm::Project::ReadSources()

Definition at line 113 of Project.cpp
Declaration at line 34 of Project.hpp

Calls: cpp2cm::File::Included , cpp2cm::FilterList::Apply , cpp2cm::Project::ReadVCSources

Called by: cpp2cm::Project::Process


ReadSymbolTableXml Member Function

void cpp2cm::Project::ReadSymbolTableXml()

Definition at line 791 of Project.cpp
Declaration at line 52 of Project.hpp

Called by: cpp2cm::Project::Convert


ReadSystemProjects Member Function

void cpp2cm::Project::ReadSystemProjects()

Definition at line 702 of Project.cpp
Declaration at line 49 of Project.hpp

Calls: cpp2cm::NothrowList::Verbose

Called by: cpp2cm::Project::Import


ReadTargetDir Member Function

void cpp2cm::Project::ReadTargetDir()

Definition at line 265 of Project.cpp
Declaration at line 38 of Project.hpp

Called by: cpp2cm::Project::Process


ReadTextFiles Member Function

void cpp2cm::Project::ReadTextFiles()

Definition at line 213 of Project.cpp
Declaration at line 36 of Project.hpp

Called by: cpp2cm::Project::Process


ReadVCSources Member Function

void cpp2cm::Project::ReadVCSources()

Definition at line 149 of Project.cpp
Declaration at line 35 of Project.hpp

Calls: cpp2cm::File::Included , cpp2cm::File::Path , cpp2cm::FilterList::Apply

Called by: cpp2cm::Project::ReadSources


ReadVCXProjectFilePath Member Function

void cpp2cm::Project::ReadVCXProjectFilePath()

Definition at line 86 of Project.cpp
Declaration at line 33 of Project.hpp

Called by: cpp2cm::Project::Process


SetAstFilePath Member Function

void cpp2cm::Project::SetAstFilePath()

Definition at line 563 of Project.cpp
Declaration at line 55 of Project.hpp


SetStageDir Member Function

void cpp2cm::Project::SetStageDir()

Definition at line 557 of Project.cpp
Declaration at line 54 of Project.hpp


SetSystem Member Function

void cpp2cm::Project::SetSystem()

Definition at line 56 of Project.hpp


WriteAst Member Function

void cpp2cm::Project::WriteAst()

Definition at line 616 of Project.cpp
Declaration at line 46 of Project.hpp

Called by: cpp2cm::Project::Process


WriteSymbolTableXml Member Function

void cpp2cm::Project::WriteSymbolTableXml()

Definition at line 770 of Project.cpp
Declaration at line 51 of Project.hpp

Called by: cpp2cm::Project::Process


top | up | prev | next