top | up | prev | next

ProjectFile Class

Definition at line 13 of ProjectFile.hpp

Constructors

ProjectFile(const std::string& fileName_, const std::u32string& projectName_)

Member Functions

void AddSourceFile(const std::string& sourceFile)
const std::string& BasePath() const
const std::vector<std::string>& SourceFiles() const

Member Variables

std::string basePath
std::string fileName
std::u32string projectName
std::vector<std::string> sourceFiles

Constructor Details

ProjectFile Constructor

sng2html::sng2html::ProjectFile::ProjectFile(const std::string& fileName_, const std::u32string& projectName_)

Definition at line 13 of ProjectFile.cpp :
13 : fileName(fileName_)projectName(projectName_)
14 basePath(Path::GetDirectoryName(GetFullPath(fileName)))
15 {
16 }


Declaration at line 16 of ProjectFile.hpp


Member Function Details

AddSourceFile Member Function

void sng2html::sng2html::ProjectFile::AddSourceFile(const std::string& sourceFile)

Definition at line 18 of ProjectFile.cpp :
19 {
20     sourceFiles.push_back(sourceFile);
21 }


Declaration at line 18 of ProjectFile.hpp

Called by: ProjectFileParser::SourceFile


BasePath Member Function

const std::string& sng2html::sng2html::ProjectFile::BasePath() const

Definition at line 17 of ProjectFile.hpp :
17 { return basePath; }


SourceFiles Member Function

const std::vector<std::string>& sng2html::sng2html::ProjectFile::SourceFiles() const

Definition at line 19 of ProjectFile.hpp :
19 { return sourceFiles; }


top | up | prev | next