helper class to load an object from a file, uses a struct to imitate return-value-based function overloading More...
#include <persistent.h>
Public Member Functions | |
load (std::string const &f_, bool fromCache_, bool clearAfter_) | |
Standard ctor, use to load a file into an object. More... | |
template<typename Type > | |
operator Type () | |
Conversion operator, templated to allow loading arbitrary objects. More... | |
Public Attributes | |
bool | clearAfter |
std::string | f |
temporary storage for the f ctor argument More... | |
bool | fromCache |
temporary storage for the fromCache ctor argument More... | |
helper class to load an object from a file, uses a struct to imitate return-value-based function overloading