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

#include <two_bit_color_map.hpp>

Collaboration diagram for boost::two_bit_color_map< IndexMap >:

Public Types

typedef property_traits
< IndexMap >::key_type 
key_type
 
typedef two_bit_color_type value_type
 
typedef void reference
 
typedef read_write_property_map_tag category
 

Public Member Functions

 BOOST_STATIC_CONSTANT (int, bits_per_char=std::numeric_limits< unsigned char >::digits)
 
 BOOST_STATIC_CONSTANT (int, elements_per_char=bits_per_char/2)
 
 two_bit_color_map (std::size_t n, const IndexMap &index=IndexMap())
 

Public Attributes

std::size_t n
 
IndexMap index
 
shared_array< unsigned char > data
 

Member Typedef Documentation

template<typename IndexMap = identity_property_map>
typedef read_write_property_map_tag boost::two_bit_color_map< IndexMap >::category
template<typename IndexMap = identity_property_map>
typedef property_traits<IndexMap>::key_type boost::two_bit_color_map< IndexMap >::key_type
template<typename IndexMap = identity_property_map>
typedef void boost::two_bit_color_map< IndexMap >::reference
template<typename IndexMap = identity_property_map>
typedef two_bit_color_type boost::two_bit_color_map< IndexMap >::value_type

Constructor & Destructor Documentation

template<typename IndexMap = identity_property_map>
boost::two_bit_color_map< IndexMap >::two_bit_color_map ( std::size_t  n,
const IndexMap &  index = IndexMap() 
)
inlineexplicit

Member Function Documentation

template<typename IndexMap = identity_property_map>
boost::two_bit_color_map< IndexMap >::BOOST_STATIC_CONSTANT ( int  ,
bits_per_char  = std::numeric_limits< unsigned char >::digits 
)
template<typename IndexMap = identity_property_map>
boost::two_bit_color_map< IndexMap >::BOOST_STATIC_CONSTANT ( int  ,
elements_per_char  = bits_per_char/2 
)

Member Data Documentation

template<typename IndexMap = identity_property_map>
shared_array<unsigned char> boost::two_bit_color_map< IndexMap >::data

Referenced by boost::get(), and boost::put().

template<typename IndexMap = identity_property_map>
IndexMap boost::two_bit_color_map< IndexMap >::index

Referenced by boost::get(), and boost::put().

template<typename IndexMap = identity_property_map>
std::size_t boost::two_bit_color_map< IndexMap >::n

Referenced by boost::get(), and boost::put().


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