SyTen

◆ uncache()

template<typename Type >
bool syten::Cached< Type >::uncache ( ) const
inline

Uncaches/loads the contained object from the file.

Returns
false if the object was already in memory, true if it was loaded from disk now

References std::string::clear(), syten::Cached< Type >::data, std::string::empty(), syten::Cached< Type >::file, and syten::Cached< Type >::mtex.

Referenced by syten::Cached< Type >::load(), syten::Cached< Type >::operator()(), and syten::Cached< Type >::save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: