...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Parameter | Description | Default |
---|---|---|
PropertyTag | A type to identify (give a unique name to) the property. There are several predefined tags, and it is easy to add more. For convenience, BGL also provides predefined objects of the tag types (enum values) for use as arguments to functions that expect property tag objects (such as adjacency_list's property map accessor functions). | |
T | This type specifies the type of the property values. | |
NextProperty | This parameter allows property types to be nested, so that an arbitrary number of properties can be attached to the same graph. | no_property |
namespace boost { enum edge_name_t { edge_name }; enum edge_weight_t { edge_weight }; enum edge_index_t { edge_index }; enum edge_capacity_t { edge_capacity }; enum edge_residual_capacity_t { edge_residual_capacity }; enum edge_reverse_t { edge_reverse }; enum vertex_name_t { vertex_name }; enum vertex_distance_t { vertex_distance }; enum vertex_index_t { vertex_index }; enum vertex_color_t { vertex_color }; enum vertex_degree_t { vertex_degree }; enum vertex_out_degree_t { vertex_out_degree }; enum vertex_in_degree_t { vertex_in_degree }; enum vertex_discover_time_t { vertex_discover_time }; enum vertex_finish_time_t { vertex_finish_time }; enum graph_name_t { graph_name }; BOOST_INSTALL_PROPERTY(vertex, index); BOOST_INSTALL_PROPERTY(edge, index); // ... }