Regina Calculation Engine
Public Member Functions
regina::xml::XMLPropertyDict Class Reference

Represents a map from property names to property values. More...

#include <utilities/xmlutils.h>

List of all members.

Public Member Functions

 XMLPropertyDict ()
 Create a new map.
const std::string & lookup (const std::string &key) const
 Return a value for the given key, or the empty string if the key does not exist in the map.

Detailed Description

Represents a map from property names to property values.

Python:
Not present.

Constructor & Destructor Documentation

Create a new map.


Member Function Documentation

const std::string & regina::xml::XMLPropertyDict::lookup ( const std::string &  key) const [inline]

Return a value for the given key, or the empty string if the key does not exist in the map.

Parameters:
keythe key to look up.
Returns:
the value associated with the given key, or the empty string if the key does not exist in the map.

The documentation for this class was generated from the following file:

Copyright © 1999-2012, The Regina development team
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).