29 #ifndef CDPL_GRID_ATTRIBUTEDGRIDFUNCTIONS_HPP
30 #define CDPL_GRID_ATTRIBUTEDGRIDFUNCTIONS_HPP
Definition of the preprocessor macro CDPL_GRID_API.
#define CDPL_GRID_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Abstract base class for grid types that also carry generic key/value properties.
Definition: AttributedGrid.hpp:50
CDPL_GRID_API bool hasComment(const AttributedGrid &grid)
Tells whether grid carries an explicit Grid::AttributedGridProperty::COMMENT property.
CDPL_GRID_API const std::string & getName(const AttributedGrid &grid)
Returns the value of the Grid::AttributedGridProperty::NAME property of grid.
CDPL_GRID_API void clearName(AttributedGrid &grid)
Removes the Grid::AttributedGridProperty::NAME property from grid.
CDPL_GRID_API void clearComment(AttributedGrid &grid)
Removes the Grid::AttributedGridProperty::COMMENT property from grid.
CDPL_GRID_API const std::string & getComment(const AttributedGrid &grid)
Returns the value of the Grid::AttributedGridProperty::COMMENT property of grid.
CDPL_GRID_API void setComment(AttributedGrid &grid, const std::string &comment)
Sets the value of the Grid::AttributedGridProperty::COMMENT property of grid.
CDPL_GRID_API bool hasName(const AttributedGrid &grid)
Tells whether grid carries an explicit Grid::AttributedGridProperty::NAME property.
CDPL_GRID_API void setName(AttributedGrid &grid, const std::string &name)
Sets the value of the Grid::AttributedGridProperty::NAME property of grid.
The namespace of the Chemical Data Processing Library.