Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::constant_property_map< Key, Value > Struct Template Reference

A constant property is one, that regardless of the edge or vertex given, will always return a constant value. More...

#include <constant_property_map.hpp>

Inheritance diagram for boost::constant_property_map< Key, Value >:
Collaboration diagram for boost::constant_property_map< Key, Value >:

Public Types

typedef Key key_type
 
typedef Value value_type
 
typedef const Value & reference
 
typedef
boost::readable_property_map_tag 
category
 

Public Member Functions

 constant_property_map ()
 
 constant_property_map (const value_type &value)
 
 constant_property_map (const constant_property_map &copy)
 
reference operator[] (const key_type &) const
 

Public Attributes

value_type m_value
 

Detailed Description

template<typename Key, typename Value>
struct boost::constant_property_map< Key, Value >

A constant property is one, that regardless of the edge or vertex given, will always return a constant value.

Member Typedef Documentation

template<typename Key , typename Value >
typedef boost::readable_property_map_tag boost::constant_property_map< Key, Value >::category
template<typename Key , typename Value >
typedef Key boost::constant_property_map< Key, Value >::key_type
template<typename Key , typename Value >
typedef const Value& boost::constant_property_map< Key, Value >::reference
template<typename Key , typename Value >
typedef Value boost::constant_property_map< Key, Value >::value_type

Constructor & Destructor Documentation

template<typename Key , typename Value >
boost::constant_property_map< Key, Value >::constant_property_map ( )
inline
template<typename Key , typename Value >
boost::constant_property_map< Key, Value >::constant_property_map ( const value_type value)
inline
template<typename Key , typename Value >
boost::constant_property_map< Key, Value >::constant_property_map ( const constant_property_map< Key, Value > &  copy)
inline

Member Function Documentation

template<typename Key , typename Value >
reference boost::constant_property_map< Key, Value >::operator[] ( const key_type ) const
inline

Member Data Documentation

template<typename Key , typename Value >
value_type boost::constant_property_map< Key, Value >::m_value

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