|
Creates an entry of desired type and destroys it upon exit. More...
#include <Bank.h>
Public Types | |
typedef Bank< B > | bank_t |
typedef bank_t::cloner_t | cloner_t |
typedef cloner_t::entry_t | entry_t |
typedef cloner_t::index_t | index_t |
typedef std::map< cloner_t *, std::set< index_t > > | book_t |
Public Member Functions | |
UniCloner (const bank_t &bank) | |
B & | getCloned (const typename bank_t::key_t &key) |
template<class T > | |
B & | getCloned () |
index_t | getIndex () const |
Public Attributes | |
const bank_t & | bank |
Protected Attributes | |
book_t | book |
index_t | idx |
Creates an entry of desired type and destroys it upon exit.