|
| Cloner (const Cloner< B, S > &c) |
| Copy constructor.
|
|
| Cloner (const S &s) |
| Constructor with source object (copied)
|
|
B & | getCloned () const |
| Implements interface.
|
|
virtual B & | getCloned (index_t i) const |
| Returns. More...
|
|
S & | getClonedSrc () const |
| Returns a object of class S, initialized with the source.
|
|
virtual entry_t | getClonerEntry () const |
|
virtual const B & | getSource () const |
| Returns a const reference to a default instance.
|
|
virtual B & | getSource () |
| Returns a reference to a default instance.
|
|
virtual const S & | getSourceOrig () const |
| Returns a const reference to a default instance, in actual class.
|
|
virtual S & | getSourceOrig () |
| Returns a reference to a default instance, in actual class.
|
|
virtual size_t | count () const |
|
virtual bool | drop (index_t i) const |
| Remove cloned entry.
|
|
template<class B, class S>
struct drain::Cloner< B, S >
Wrapper for derived class S, returning base class T.
- Template Parameters
-
T | - visible base class |
S | - internal wrapped class derived from T |