52#ifndef UTIL_PROPERTYMAP_HPP
53#define UTIL_PROPERTYMAP_HPP
88 void addProperty(std::shared_ptr<GenericData> genData);
142 std::map<std::string, std::shared_ptr<GenericData>> propMap_;
PropertyMap class maintains a list of GenericData.
virtual ~PropertyMap()=default
Virtual Destructor responsible for deleting all of the generc data in PropertyMap.
std::shared_ptr< GenericData > getPropertyByName(const std::string &propName)
Returns property.
std::vector< std::shared_ptr< GenericData > > getProperties()
Returns all of the properties in PropertyMap.
void addProperty(std::shared_ptr< GenericData > genData)
Adds property into property map.
bool removeProperty(const std::string &propName)
Removes property from PropertyMap by name.
PropertyMap()
trivial constructor
bool hasProperty(const std::string &propName)
Checks if property is in this PropertyMap.
std::vector< std::string > getPropertyNames()
Returns all names of properties.
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.