Chemical Data Processing Library C++ API - Version 1.2.0
|
DefaultDataOutputHandler. More...
#include <DefaultDataOutputHandler.hpp>
Public Types | |
typedef Base::DataOutputHandler< DataType >::WriterType | WriterType |
Public Types inherited from CDPL::Base::DataOutputHandler< typename WriterImpl::DataType > | |
typedef DataWriter< typename WriterImpl::DataType > | WriterType |
typedef std::shared_ptr< DataOutputHandler > | SharedPointer |
Public Member Functions | |
const Base::DataFormat & | getDataFormat () const |
Returns a Base::DataFormat object that provides information about the handled output data format. More... | |
WriterType::SharedPointer | createWriter (std::iostream &ios) const |
Creates a Base::DataWriter instance that will write the data to the I/O stream ios. More... | |
WriterType::SharedPointer | createWriter (const std::string &file_name, std::ios_base::openmode mode) const |
Creates a Base::DataWriter instance that will write the data to the file specified by file_name. More... | |
Public Member Functions inherited from CDPL::Base::DataOutputHandler< typename WriterImpl::DataType > | |
virtual | ~DataOutputHandler () |
Virtual destructor. More... | |
typedef Base::DataOutputHandler<DataType>::WriterType CDPL::Util::DefaultDataOutputHandler< WriterImpl, FORMAT, DataType >::WriterType |
|
inlinevirtual |
Returns a Base::DataFormat object that provides information about the handled output data format.
Implements CDPL::Base::DataOutputHandler< typename WriterImpl::DataType >.
|
inlinevirtual |
Creates a Base::DataWriter instance that will write the data to the I/O stream ios.
ios | The I/O stream to write to. |
Implements CDPL::Base::DataOutputHandler< typename WriterImpl::DataType >.
|
inlinevirtual |
Creates a Base::DataWriter instance that will write the data to the file specified by file_name.
file_name | The full path of the file to write to. |
mode | Flags specifying the file open-mode. |
Implements CDPL::Base::DataOutputHandler< typename WriterImpl::DataType >.