7 : name(
std::move(name_))
12 : name(
std::move(name_))
13 , extra(
std::move(extra_))
34 return name.
empty() && extra.empty();
37template<
typename Archive>
40 ar.serialize(
"filename", name,
std::string getResolved() const
void serialize(Archive &ar, unsigned version)
void updateAfterLoadState()
std::string getOriginal() const
This class represents a filename.
const std::string & getOriginal() const
bool empty() const
Convenience method to test for empty filename.
const std::string & getResolved() const &
void updateAfterLoadState()
After a loadstate we prefer to use the exact same file as before savestate.
This file implemented 3 utility functions:
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)