SyTen
syten::loadCache Struct Reference

Shortcut to load("file",true), delete supplied input file. More...

#include <persistent.h>

+ Inheritance diagram for syten::loadCache:
+ Collaboration diagram for syten::loadCache:

Public Member Functions

 loadCache (std::string const &f)
 Ctor forwarding its argument to the ctor of the base class syten::load. More...
 
- Public Member Functions inherited from syten::load
 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...
 

Additional Inherited Members

- Public Attributes inherited from syten::load
bool clearAfter
 
std::string f
 temporary storage for the f ctor argument More...
 
bool fromCache
 temporary storage for the fromCache ctor argument More...
 

Detailed Description

Shortcut to load("file",true), delete supplied input file.

Example\n

Tensor<3> t = loadCache("tensor.cache"); tensor.cache will be deleted during this operation.


The documentation for this struct was generated from the following files: