29 #ifndef CDPL_PHARM_PMLFEATURECONTAINERWRITER_HPP
30 #define CDPL_PHARM_PMLFEATURECONTAINERWRITER_HPP
46 class FeatureContainer;
80 operator const void*()
const;
85 typedef std::unique_ptr<PMLDataWriter> PMLDataWriterPtr;
89 PMLDataWriterPtr writer;
Definition of the 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.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
FeatureContainer.
Definition: FeatureContainer.hpp:53
A 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 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()
Writes format dependent data (if required) to mark the end of output.
PMLFeatureContainerWriter(const PMLFeatureContainerWriter &)=delete
The namespace of the Chemical Data Processing Library.