34 #ifndef SOMAIO_READER_FORMATREADER_H 35 #define SOMAIO_READER_FORMATREADER_H 45 template<
typename T>
class rc_ptr;
53 class AllocatorContext;
87 virtual ~FormatReader();
94 const AllocatorContext & context,
101 const AllocatorContext & context,
113 virtual void read( T & obj,
115 const AllocatorContext & context,
125 virtual FormatReader<T>* clone()
const = 0;
129 virtual std::string formatID()
const = 0;
147 const AllocatorContext & context,
154 const AllocatorContext & context,
159 extern template class FormatReader<carto::GenericObject>;
160 extern template class FormatReader<carto::Object>;