29 #ifndef CDPL_PHARM_PMLFEATURECONTAINERWRITER_HPP
30 #define CDPL_PHARM_PMLFEATURECONTAINERWRITER_HPP
46 class FeatureContainer;
87 operator const void*()
const;
96 typedef std::unique_ptr<PMLDataWriter> PMLDataWriterPtr;
100 PMLDataWriterPtr writer;
Definition of class CDPL::Base::DataWriter.
Definition of the preprocessor macro CDPL_PHARM_API.
#define CDPL_PHARM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Abstract base class for containers holding a sequence of Pharm::Feature objects with associated prope...
Definition: FeatureContainer.hpp:55
Writer for feature container data in the native I/O format of LigandScout.
Definition: PMLFeatureContainerWriter.hpp:52
PMLFeatureContainerWriter & operator=(const PMLFeatureContainerWriter &)=delete
PMLFeatureContainerWriter(std::ostream &os)
Constructs a PMLFeatureContainerWriter instance that will write data of feature containers to the out...
bool operator!() const
Tells whether the writer is in a bad (non-writable) state.
Base::DataWriter< FeatureContainer > & write(const FeatureContainer &cntnr)
Writes data of the feature container cntnr to the output stream specified in the constructor.
~PMLFeatureContainerWriter()
Destructor.
void close()
Finalizes the PML output and flushes the underlying stream.
PMLFeatureContainerWriter(const PMLFeatureContainerWriter &)=delete
The namespace of the Chemical Data Processing Library.