|
nxpp
Header-only graph utilities on top of Boost Graph Library
|

Public Member Functions | |
| template<typename T > | |
| NodeAttrProxy & | operator= (const T &val) |
Sets attribute key on node u, creating the node if it does not exist. | |
| template<typename T > | |
| operator T () const | |
Public Attributes | |
| Graph * | graph |
| NodeID | u |
| std::string | key |
|
inline |
Sets attribute key on node u, creating the node if it does not exist.
This matches the wrapper's write-creates policy for proxy-based assignment. Read-oriented accessors do not create implicitly.
References nxpp::Graph< NodeID, EdgeWeight, Directed, Multi, Weighted, OutEdgeSelector, VertexSelector >::add_node(), and nxpp::Graph< NodeID, EdgeWeight, Directed, Multi, Weighted, OutEdgeSelector, VertexSelector >::has_node().