LEMUR Packages: ompl_lemur or_lemur pr_bgl prpy_lemur
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
pr_bgl::string_map< PropMap > Class Template Reference

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
 

Detailed Description

template<class PropMap>
class pr_bgl::string_map< PropMap >

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.

Todo:
this may duplicate functionality from boost::lexical_cast.

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