Chemical Data Processing Library C++ API - Version 1.2.0
|
DefaultDataInputHandler. More...
#include <DefaultDataInputHandler.hpp>
Public Types | |
typedef Base::DataInputHandler< DataType >::ReaderType | ReaderType |
Public Types inherited from CDPL::Base::DataInputHandler< typename ReaderImpl::DataType > | |
typedef DataReader< typename ReaderImpl::DataType > | ReaderType |
typedef std::shared_ptr< DataInputHandler > | SharedPointer |
Public Member Functions | |
const Base::DataFormat & | getDataFormat () const |
Returns a Base::DataFormat object that provides information about the handled input data format. More... | |
ReaderType::SharedPointer | createReader (std::istream &is) const |
Creates a Base::DataReader instance that will read the data from the input stream is. More... | |
ReaderType::SharedPointer | createReader (const std::string &file_name, std::ios_base::openmode mode) const |
Creates a Base::DataReader instance that will read the data from the file specified by file_name. More... | |
Public Member Functions inherited from CDPL::Base::DataInputHandler< typename ReaderImpl::DataType > | |
virtual | ~DataInputHandler () |
Virtual destructor. More... | |
typedef Base::DataInputHandler<DataType>::ReaderType CDPL::Util::DefaultDataInputHandler< ReaderImpl, Format, DataType >::ReaderType |
|
inlinevirtual |
Returns a Base::DataFormat object that provides information about the handled input data format.
Implements CDPL::Base::DataInputHandler< typename ReaderImpl::DataType >.
|
inlinevirtual |
Creates a Base::DataReader instance that will read the data from the input stream is.
is | The input stream to read from. |
Implements CDPL::Base::DataInputHandler< typename ReaderImpl::DataType >.
|
inlinevirtual |
Creates a Base::DataReader instance that will read the data from the file specified by file_name.
file_name | The full path of the file to read from. |
mode | Flags specifying the file open-mode. |
Implements CDPL::Base::DataInputHandler< typename ReaderImpl::DataType >.