STAPL API Reference |
Modules Classes |
Vertex for adjacency list for the graph with property. More...
Public Member Functions | |
vertex_property_impl (vertex_descriptor const &vd, Property const &p) | |
Creates a vertex for the graph with the given descriptor and property. More... | |
property_type & | property (void) noexcept |
property_type const & | property (void) const noexcept |
vertex_descriptor const & | descriptor (void) const noexcept |
Returns the descriptor of this vertex. More... | |
edgelist_type & | edgelist (void) noexcept |
Returns the edge-list of this vertex. | |
void | edgelist (edgelist_type const *const edgelist) |
Sets the edge-list of this vertex. | |
edgelist_type const & | edgelist (void) const noexcept |
Returns the edge-list of this vertex. | |
edgelist_type & | edges (void) noexcept |
Returns the edge-list of this vertex. | |
void | clear (void) |
Clears the edge-list of this vertex. | |
Public Types | |
typedef VD | vertex_descriptor |
typedef Property | property_type |
typedef AdjList | edgelist_type |
Protected Attributes | |
property_type | m_property |
The property of this vertex. | |
VD | m_vd |
The descriptor of this vertex. | |
edgelist_type | m_edgelist |
The edge-list of this vertex. | |
Properties | |
__pad0__:no_property property_type | |
Vertex for adjacency list for the graph with property.
It contains a descriptor and an adjacency list of edges, and extends the vertex_impl class with data/methods related to the property field.
stapl::sequential::vertex_property_impl< VD, Property, AdjList >::vertex_property_impl | ( | vertex_descriptor const & | vd, |
Property const & | p | ||
) |
Creates a vertex for the graph with the given descriptor and property.
vd | The descriptor of this vertex. |
p | The property of this vertex. |
|
noexceptinherited |
Returns the descriptor of this vertex.
The vertex descriptor can't be changed after the vertex is created.