29 #ifndef CDPL_UTIL_DEFAULTDATAOUTPUTHANDLER_HPP
30 #define CDPL_UTIL_DEFAULTDATAOUTPUTHANDLER_HPP
45 template <
typename WriterImpl, const Base::DataFormat& FORMAT,
typename DataType =
typename WriterImpl::DataType>
Definition of the class CDPL::Base::DataOutputHandler.
Definition of the class CDPL::Util::FileDataWriter.
A factory interface providing methods for the creation of Base::DataWriter instances handling a parti...
Definition: DataOutputHandler.hpp:53
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
std::shared_ptr< DataWriter > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated DataWriter instances.
Definition: DataWriter.hpp:69
DefaultDataOutputHandler.
Definition: DefaultDataOutputHandler.hpp:47
const Base::DataFormat & getDataFormat() const
Returns a Base::DataFormat object that provides information about the handled output data format.
Definition: DefaultDataOutputHandler.hpp:52
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.
Definition: DefaultDataOutputHandler.hpp:62
WriterType::SharedPointer createWriter(std::iostream &ios) const
Creates a Base::DataWriter instance that will write the data to the I/O stream ios.
Definition: DefaultDataOutputHandler.hpp:57
Base::DataOutputHandler< DataType >::WriterType WriterType
Definition: DefaultDataOutputHandler.hpp:50
FileDataWriter.
Definition: FileDataWriter.hpp:51
The namespace of the Chemical Data Processing Library.