|
CeresEngine 0.2.0
A game development framework
|
A type erasing container that can store any generator that generates type T. More...
#include <CeresEngine/Mesh/Generator/AnyGenerator.hpp>
Classes | |
| class | Base |
| class | Derived |
Public Member Functions | |
| template<typename Generator > | |
| AnyGenerator (Generator generator) | |
| AnyGenerator (const AnyGenerator &that) | |
| AnyGenerator & | operator= (const AnyGenerator &that) |
| AnyGenerator (AnyGenerator &&)=default | |
| AnyGenerator & | operator= (AnyGenerator &&)=default |
| T | generate () const |
| bool | done () const noexcept |
| void | next () |
Private Attributes | |
| UPtr< Base > | mBase |
A type erasing container that can store any generator that generates type T.
| T | Type returned by the generate() -function. |
|
inline |
|
inline |
|
default |
|
inlinenoexcept |
|
inline |
|
inline |
|
default |
|
inline |