Cogs.Core
|
Public Member Functions | |
EnginePermutations (Context *context) | |
void | initialize (Context *context) |
EnginePermutation * | create (const StringView &name, EnginePermutation *base=nullptr) |
const EnginePermutation * | get (size_t index) const |
const EnginePermutation * | get (const StringView &name) const |
EnginePermutation * | get (size_t index) |
EnginePermutation * | get (const StringView &name) |
EnginePermutation * | getInternal (size_t index) |
EnginePermutation * | getInternal (const StringView &name) |
bool | exists (const StringView &name) const |
size_t | size () const |
size_t | getIndex (const StringView &name) const |
bool | load (const StringView &resource, bool isContent=false) |
EnginePermutationFlags | getFlag (const StringView &name) |
Protected Member Functions | |
bool | inherit (EnginePermutation *enginePermutation, const EnginePermutation *base) |
EnginePermutation * | create (EnginePermutationDefinition *definition, EnginePermutation *base=nullptr) |
EnginePermutationDefinition * | createDefinition () |
Protected Attributes | |
std::vector< EnginePermutation > | enginePermutations |
Collections::Pool< EnginePermutationDefinition > | permutationDefinitions |
EnginePermutationDefinition * | firstDefinition = nullptr |
Context * | mContext |
Definition at line 111 of file EnginePermutations.h.
Cogs::Core::EnginePermutations::EnginePermutations | ( | Context * | context | ) |
Definition at line 28 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutations::~EnginePermutations | ( | ) |
Definition at line 34 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::create | ( | const StringView & | name, |
EnginePermutation * | base = nullptr |
||
) |
Definition at line 75 of file EnginePermutations.cpp.
|
protected |
Definition at line 83 of file EnginePermutations.cpp.
|
protected |
Definition at line 66 of file EnginePermutations.cpp.
bool Cogs::Core::EnginePermutations::exists | ( | const StringView & | name | ) | const |
Definition at line 177 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::get | ( | const StringView & | name | ) |
Definition at line 162 of file EnginePermutations.cpp.
const Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::get | ( | const StringView & | name | ) | const |
Definition at line 150 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::get | ( | size_t | index | ) |
Definition at line 155 of file EnginePermutations.cpp.
const Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::get | ( | size_t | index | ) | const |
Definition at line 143 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutationFlags Cogs::Core::EnginePermutations::getFlag | ( | const StringView & | name | ) |
Definition at line 291 of file EnginePermutations.cpp.
size_t Cogs::Core::EnginePermutations::getIndex | ( | const StringView & | name | ) | const |
Definition at line 190 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::getInternal | ( | const StringView & | name | ) |
Definition at line 172 of file EnginePermutations.cpp.
Cogs::Core::EnginePermutation * Cogs::Core::EnginePermutations::getInternal | ( | size_t | index | ) |
Definition at line 167 of file EnginePermutations.cpp.
|
protected |
Definition at line 119 of file EnginePermutations.cpp.
void Cogs::Core::EnginePermutations::initialize | ( | Context * | context | ) |
Definition at line 45 of file EnginePermutations.cpp.
bool Cogs::Core::EnginePermutations::load | ( | const StringView & | resource, |
bool | isContent = false |
||
) |
Definition at line 205 of file EnginePermutations.cpp.
|
inline |
Definition at line 132 of file EnginePermutations.h.
|
protected |
Definition at line 139 of file EnginePermutations.h.
|
protected |
Definition at line 149 of file EnginePermutations.h.
|
protected |
Definition at line 151 of file EnginePermutations.h.
|
protected |
Definition at line 140 of file EnginePermutations.h.