// // The reader factory for descendants of SerializableBase // #ifndef GSTEST_SERIALIZABLEBASEREADER_HH_ #define GSTEST_SERIALIZABLEBASEREADER_HH_ #include "geners/AbsReader.hh" #include "SerializableBase.hh" // Note that the folowing class does not have any public constructor. // All application usage is through the gs::StaticReader wrapper. // class SerializableBaseReader : public gs::DefaultReader { typedef gs::DefaultReader Base; friend class gs::StaticReader; SerializableBaseReader(); }; typedef gs::StaticReader StaticSerializableBaseReader; #endif // GSTEST_SERIALIZABLEBASEREADER_HH_