|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
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>
70 #endif // CDPL_UTIL_DEFAULTDATAOUTPUTHANDLER_HPP
Definition of the class CDPL::Base::DataOutputHandler.
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
A factory interface providing methods for the creation of Base::DataWriter instances handling a parti...
Definition: DataOutputHandler.hpp:53
Definition of the class CDPL::Util::FileDataWriter.
FileDataWriter.
Definition: FileDataWriter.hpp:51
Base::DataOutputHandler< DataType >::WriterType WriterType
Definition: DefaultDataOutputHandler.hpp:50
std::shared_ptr< DataWriter > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated DataWriter instances.
Definition: DataWriter.hpp:69
The namespace of the Chemical Data Processing Library.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
DefaultDataOutputHandler.
Definition: DefaultDataOutputHandler.hpp:47
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
const Base::DataFormat & getDataFormat() const
Definition: DefaultDataOutputHandler.hpp:52