top | up | prev | next

SourceFiles Class

Definition at line 32 of SourceFile.hpp

Constructors

SourceFiles()

Member Functions

void Add(SourceFile* sourceFile)
void Apply(PatchFile* patches)
const std::vector<std::unique_ptr<SourceFile>>& Get() const
void Sort()
void Write()

Member Variables

std::unordered_map<std::u32string, SourceFile*> sourceFileMap
std::vector<std::unique_ptr<SourceFile>> sourceFiles

Constructor Details

SourceFiles Constructor

cpp2cm::SourceFiles::SourceFiles()

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


Member Function Details

Add Member Function

void cpp2cm::SourceFiles::Add(SourceFile * sourceFile)

Definition at line 158 of SourceFile.cpp
Declaration at line 37 of SourceFile.hpp

Calls: cpp2cm::SourceFile::Name

Called by: cpp2cm::Converter::Write


Apply Member Function

void cpp2cm::SourceFiles::Apply(PatchFile * patches)

Definition at line 164 of SourceFile.cpp
Declaration at line 38 of SourceFile.hpp

Calls: cpp2cm::PatchFile::Patches , cpp2cm::SourceFile::Apply , cpp2cm::SourceFile::InMemory , cpp2cm::SourceFile::Read

Called by: cpp2cm::Project::Convert


Get Member Function

const std::vector<std::unique_ptr<SourceFile >>& cpp2cm::SourceFiles::Get() const

Definition at line 40 of SourceFile.hpp

Called by: cpp2cm::Project::Convert


Sort Member Function

void cpp2cm::SourceFiles::Sort()

Definition at line 153 of SourceFile.cpp
Declaration at line 36 of SourceFile.hpp

Called by: cpp2cm::Project::Convert


Write Member Function

void cpp2cm::SourceFiles::Write()

Definition at line 186 of SourceFile.cpp
Declaration at line 39 of SourceFile.hpp

Calls: cpp2cm::SourceFiles::Write

Called by: cpp2cm::Project::Convert , cpp2cm::SourceFiles::Write


top | up | prev | next