27template<
typename Archive>
30 ar.serialize(
"original", originalFilename,
31 "resolved", resolvedFilename);
This class represents a filename.
const std::string & getOriginal() const
bool empty() const
Convenience method to test for empty filename.
void serialize(Archive &ar, unsigned version)
const std::string & getResolved() const &
void updateAfterLoadState()
After a loadstate we prefer to use the exact same file as before savestate.
bool exists(zstring_view filename)
Does this file (directory) exists?
string getAbsolutePath(string_view path)
Transform given path into an absolute path.
This file implemented 3 utility functions:
const FileContext & userFileContext()
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)