Wraps a property as a string map. More...
#include <string_map.h>
Public Types | |
typedef boost::property_traits < PropMap >::category | category |
typedef boost::property_traits < PropMap >::key_type | key_type |
typedef std::string | value_type |
typedef std::string | reference |
Public Member Functions | |
string_map (PropMap prop_map) | |
Public Attributes | |
PropMap | prop_map |
Wraps a property as a string map.
The string_map class implements a read-write map which wraps an existing property by allowing converting its values to and from the std::string instances. It requires that the free functions stringify_from_x() and stringify_to_x() for any custom values.