Default Base::DataInputHandler implementation that exposes a fixed Base::DataFormat and instantiates readers of the supplied stream-based ReaderImpl type (file-based readers are produced by wrapping it in Util::FileDataReader).
More...
#include <DefaultDataInputHandler.hpp>
template<typename ReaderImpl, const Base::DataFormat & Format, typename DataType = typename ReaderImpl::DataType>
class CDPL::Util::DefaultDataInputHandler< ReaderImpl, Format, DataType >
Default Base::DataInputHandler implementation that exposes a fixed Base::DataFormat and instantiates readers of the supplied stream-based ReaderImpl type (file-based readers are produced by wrapping it in Util::FileDataReader).
- Template Parameters
-
| ReaderImpl | The underlying stream-based reader implementation type. |
| Format | A reference to the Base::DataFormat constant advertised by the handler. |
| DataType | The data type read by ReaderImpl. |
◆ ReaderType
template<typename ReaderImpl , const Base::DataFormat & Format, typename DataType = typename ReaderImpl::DataType>
◆ getDataFormat()
template<typename ReaderImpl , const Base::DataFormat & Format, typename DataType = typename ReaderImpl::DataType>
◆ createReader() [1/2]
template<typename ReaderImpl , const Base::DataFormat & Format, typename DataType = typename ReaderImpl::DataType>
◆ createReader() [2/2]
template<typename ReaderImpl , const Base::DataFormat & Format, typename DataType = typename ReaderImpl::DataType>
The documentation for this class was generated from the following file: