top | up | prev | next

SourceFileModuleMap Class

Definition at line 35 of SourceFileModuleMap.cpp

Constructors

SourceFileModuleMap()

Member Functions

void Done() static
boost::uuids::uuid GetModuleId(BackEnd backend, Config config, const std::string& sourceFilePath) const
void Init() static
SourceFileModuleMap& Instance() static
void SetModuleId(BackEnd backend, Config config, const std::string& sourceFilePath, const boost::uuids::uuid& moduleId)

Member Variables

std::unique_ptr<SourceFileModuleMap> instance static
std::map<SourceFileModuleMapKey, boost::uuids::uuid> sourceFileModuleMap

Constructor Details

SourceFileModuleMap Constructor

cmajor::symbols::SourceFileModuleMap::SourceFileModuleMap()

Definition at line 51 of SourceFileModuleMap.cpp :
 52 {
 53 }


Declaration at line 46 of SourceFileModuleMap.cpp


Member Function Details

Done Member Function

void cmajor::symbols::SourceFileModuleMap::Done() static

Definition at line 60 of SourceFileModuleMap.cpp :
 61 {
 62     instance.reset();
 63 }


Declaration at line 39 of SourceFileModuleMap.cpp


GetModuleId Member Function

boost::uuids::uuid cmajor::symbols::SourceFileModuleMap::GetModuleId(BackEnd backend, Config config, const std::string& sourceFilePath) const

Definition at line 71 of SourceFileModuleMap.cpp
Declaration at line 42 of SourceFileModuleMap.cpp


Init Member Function

void cmajor::symbols::SourceFileModuleMap::Init() static

Definition at line 55 of SourceFileModuleMap.cpp :
 56 {
 57     instance.reset(new SourceFileModuleMap());
 58 }


Declaration at line 38 of SourceFileModuleMap.cpp


Instance Member Function

SourceFileModuleMap & cmajor::symbols::SourceFileModuleMap::Instance() static

Definition at line 40 of SourceFileModuleMap.cpp :
 40 { return *instance; }


SetModuleId Member Function

void cmajor::symbols::SourceFileModuleMap::SetModuleId(BackEnd backend, Config config, const std::string& sourceFilePath, const boost::uuids::uuid& moduleId)

Definition at line 65 of SourceFileModuleMap.cpp :
 66 {
 67     SourceFileModuleMapKey key(backendconfigsourceFilePath);
 68     sourceFileModuleMap[key] = moduleId;
 69 }


Declaration at line 41 of SourceFileModuleMap.cpp


top | up | prev | next