|
Regina Calculation Engine
|
Represents a map from property names to property values. More...
#include <utilities/xmlutils.h>
Public Member Functions | |
| XMLPropertyDict () | |
| Create a new map. | |
| const std::string & | lookup (const std::string &key, const std::string &defaultVal=std::string()) const |
| Return a value for the given key, even if the key does not exist in the map. | |
Represents a map from property names to property values.
| regina::xml::XMLPropertyDict::XMLPropertyDict | ( | ) | [inline] |
Create a new map.
| const std::string & regina::xml::XMLPropertyDict::lookup | ( | const std::string & | key, |
| const std::string & | defaultVal = std::string() |
||
| ) | const [inline] |
Return a value for the given key, even if the key does not exist in the map.
| key | the key to look up. |
| defaultVal | the value to return if the key does not exist. |