mp_stories
Sneaky Stories
|
Public Member Functions | |
Vertex (string key) | |
string | key () const |
Returns the key of the Vertex. More... | |
bool | operator== (const Vertex &other) const |
Returns true if the Vertex has the same key as other . More... | |
string & | operator[] (const string &value) |
Add, modify, or read a key/value property of the Vertex. More... | |
Private Attributes | |
string | key_ |
std::unordered_map< string, string > | properties_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Vertex &v) |
Prints out the Vertex in a human-readable format to out More... | |
|
inline |
|
inline |
Returns true
if the Vertex has the same key
as other
.
Add, modify, or read a key/value property of the Vertex.
|
friend |
Prints out the Vertex in a human-readable format to out