29 #ifndef CDPL_CHEM_STRINGDATABLOCK_HPP
30 #define CDPL_CHEM_STRINGDATABLOCK_HPP
63 header(header), data(data) {}
130 void addEntry(
const std::string& header,
const std::string& data)
136 const char* getClassName()
const
138 return "StringDataBlock";
Definition of the class CDPL::Util::Array.
Definition of the preprocessor macro CDPL_CHEM_API.
#define CDPL_CHEM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Represents a data item in the structure or reaction data block of a MDL SD- or RD-File data record (s...
Definition: StringDataBlock.hpp:49
StringDataBlockEntry(const std::string &header, const std::string &data)
Constructs a StringDataBlockEntry object with the specified data header and content.
Definition: StringDataBlock.hpp:62
void setHeader(const std::string &header)
Sets the data header.
bool operator<=(const StringDataBlockEntry &entry) const
bool operator==(const StringDataBlockEntry &entry) const
Equality comparison operator.
void setData(const std::string &data)
Sets the data content.
const std::string & getHeader() const
Returns the data header.
bool operator<(const StringDataBlockEntry &entry) const
const std::string & getData() const
Returns the stored data content.
bool operator!=(const StringDataBlockEntry &entry) const
Inequality comparison operator.
bool operator>=(const StringDataBlockEntry &entry) const
bool operator>(const StringDataBlockEntry &entry) const
StringDataBlockEntry()
Constructs a StringDataBlockEntry object with an empty data header and content.
Definition: StringDataBlock.hpp:55
An array of Chem::StringDataBlockEntry objects used to store the structure or reaction data block of ...
Definition: StringDataBlock.hpp:125
void addEntry(const std::string &header, const std::string &data)
Definition: StringDataBlock.hpp:130
std::shared_ptr< StringDataBlock > SharedPointer
Definition: StringDataBlock.hpp:128
A dynamic array class providing amortized constant time access to arbitrary elements.
Definition: Array.hpp:92
The namespace of the Chemical Data Processing Library.