#pragma once #include struct IExternalizable { virtual const char* readExternal(const char* ptr, const char* endPtr) = 0; virtual void writeExternal(std::ostream &out) const = 0; };