![]() |
mutable
A Database System for Research and Fast Prototyping
|
Abstract Decorator class that concrete TableFactoryDecorator
inherit from.
More...
#include <TableFactory.hpp>
Public Member Functions | |
TableFactoryDecorator (std::unique_ptr< TableFactory > table_factory) | |
std::unique_ptr< Table > | make (ThreadSafePooledString name) const override |
Returns a Table with the given name . | |
Protected Member Functions | |
virtual std::unique_ptr< Table > | decorate (std::unique_ptr< Table > table) const =0 |
Protected Attributes | |
std::unique_ptr< TableFactory > | table_factory_ |
Abstract Decorator class that concrete TableFactoryDecorator
inherit from.
Definition at line 30 of file TableFactory.hpp.
|
inline |
Definition at line 36 of file TableFactory.hpp.
|
protectedpure virtual |
Implemented in m::ConcreteTableFactoryDecorator< T >.
Referenced by make().
|
inlineoverridevirtual |
Returns a Table
with the given name
.
Recursively calls all internal TableFactory
s to construct and decorate the table.
Implements m::TableFactory.
Definition at line 40 of file TableFactory.hpp.
References decorate(), and table_factory_.
|
protected |
Definition at line 33 of file TableFactory.hpp.
Referenced by make().