LiteFX::Builder<T, std::nullptr_t, TPointer>¶
Describes a root builder.
Synopsis¶
Declared in <litefx/containers.hpp>
template<
typename T,
typename TPointer>
class Builder<T, std::nullptr_t, TPointer>;
Type Aliases¶
Member Functions¶
| Name | Description |
|---|---|
Builder [constructor] | Constructors |
~Builder [destructor] [virtual] | Destructor |
operator= | Assignment operators |
instance | Returns a pointer to the current instance of the object that is built by the builder. |
use [deleted] | Called by child builders to pass a constructed object back to the parent builder. |
operator TPointer&& | Calls build and returns the instance. |
Protected Member Functions¶
| Name | Description |
|---|---|
build [virtual] | Can be overwritten to perform any pre-construction work before the builder returns the final object instance. |
instance | Returns a pointer to the current instance of the object that is built by the builder. |
Template Parameters¶
| Name | Description |
|---|---|
| T | The type of the object the builder builds. |
| TPointer | The type of the pointer, used to access the instance of T this builder builds. |
See Also¶
https://github.com/crud89/LiteFX/wiki/Builders