|
CeresEngine 0.2.0
A game development framework
|
A base class for a container of MetaItems.
More...
#include <CeresEngine/Reflection/MetaContainer.hpp>
Classes | |
| struct | Deleter |
Public Member Functions | |
| template<typename T , typename Func > | |
| void | forEach (Func &&func) const |
| template<typename Func > | |
| void | forEach (MetaCategory category, Func &&func) const |
| template<typename T > | |
| Generator< const T > | forEach () const |
| Generator< const MetaItem > | forEach (MetaCategory category) const |
Protected Member Functions | |
| MetaContainer ()=default | |
| virtual | ~MetaContainer ()=default |
| bool | addItem (MetaItem *value) |
| std::size_t | count (MetaCategory category) const |
Private Types | |
| using | ItemPtr = UPtr< MetaItem, Deleter > |
Private Attributes | |
| Vector< ItemPtr > | mItems |
Friends | |
| class | ClassProperty |
| class | ClassConstructor |
| class | ClassMethod |
| class | EnumValue |
A base class for a container of MetaItems.
|
private |
|
explicitprotecteddefault |
|
protectedvirtualdefault |
|
protected |
| Generator< const MetaItem > CeresEngine::MetaContainer::forEach | ( | MetaCategory | category | ) | const |
| void CeresEngine::MetaContainer::forEach | ( | MetaCategory | category, |
| Func && | func | ||
| ) | const |
|
friend |
|
friend |
|
friend |