Chemical Data Processing Library C++ API - Version 1.1.1
|
A handler for the output of molecular graph dara in the PSD-format of the CDPL. More...
#include <PSDMolecularGraphOutputHandler.hpp>
Public Member Functions | |
const Base::DataFormat & | getDataFormat () const |
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< Chem::MolecularGraph > | |
virtual | ~DataOutputHandler () |
Virtual destructor. More... | |
virtual const DataFormat & | getDataFormat () const=0 |
Returns a Base::DataFormat object that provides information about the handled output data format. More... | |
Additional Inherited Members | |
Public Types inherited from CDPL::Base::DataOutputHandler< Chem::MolecularGraph > | |
typedef DataWriter< Chem::MolecularGraph > | WriterType |
typedef std::shared_ptr< DataOutputHandler > | SharedPointer |
A handler for the output of molecular graph dara in the PSD-format of the CDPL.
const Base::DataFormat& CDPL::Pharm::PSDMolecularGraphOutputHandler::getDataFormat | ( | ) | const |
|
virtual |
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< Chem::MolecularGraph >.
|
virtual |
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< Chem::MolecularGraph >.