top | up | prev | next

SystemModuleSet Class

Definition at line 43 of Module.cpp

Constructors

SystemModuleSet()

Member Functions

void Done() static
void Init() static
SystemModuleSet& Instance() static
bool IsSystemModule(const std::u32string& moduleName) const

Member Variables

std::unique_ptr<SystemModuleSet> instance static
std::unordered_set<std::u32string> systemModuleNames

Constructor Details

SystemModuleSet Constructor

cmajor::symbols::SystemModuleSet::SystemModuleSet()

Definition at line 68 of Module.cpp
Declaration at line 53 of Module.cpp


Member Function Details

Done Member Function

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

Definition at line 63 of Module.cpp :
  64 {
  65     instance.reset();
  66 }


Declaration at line 47 of Module.cpp


Init Member Function

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

Definition at line 58 of Module.cpp :
  59 {
  60     instance.reset(new SystemModuleSet());
  61 }


Declaration at line 46 of Module.cpp


Instance Member Function

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

Definition at line 48 of Module.cpp :
  48 { Assert(instance"system module set not initialized"); return *instance; }


IsSystemModule Member Function

bool cmajor::symbols::SystemModuleSet::IsSystemModule(const std::u32string& moduleName) const

Definition at line 92 of Module.cpp :
  93 {
  94     auto it = systemModuleNames.find(moduleName);
  95     if (it != systemModuleNames.cend())
  96     {
  97         return true;
  98     }
  99     return false;
 100 }


Declaration at line 49 of Module.cpp


top | up | prev | next