|
MorphoGraphX
|
Inheritance diagram for mgx::graph::WeakVertex< VertexContent, Alloc >:Public Types | |
| typedef vertex_identity_t | identity_t |
| Type of the identifier of the vertex. | |
| typedef VertexContent | content_t |
| Type of the content of the vertex. | |
| typedef Vertex< VertexContent, Alloc > | strong_ref |
| Strong reference corresponding to the weak one. | |
| typedef VertexContent * | pointer |
| Type of the equivalent pointer. | |
Public Types inherited from mgx::graph::Vertex< VertexContent, Alloc > | |
| typedef vertex_identity_t | identity_t |
| Type of the identifier of the vertex. | |
| typedef VertexContent | content_t |
| Type of the content of the vertex. | |
| typedef WeakVertex< VertexContent, Alloc > | weak_ref_t |
| typedef VertexContent * | pointer |
| Type of the equivalent pointer. | |
Public Member Functions | |
| WeakVertex () | |
| Construct an empty weak vertex. More... | |
| WeakVertex (const strong_ref &v) | |
| Construct a weak reference from a strong one. | |
| WeakVertex (const WeakVertex ©) | |
| Copy constructor. | |
| WeakVertex (const identity_t &id) | |
| Construct a weak reference from an id. | |
| WeakVertex & | operator= (const WeakVertex &other) |
| Set the content of the weak reference. | |
| WeakVertex & | operator= (const identity_t &id) |
| WeakVertex & | operator= (const strong_ref &other) |
| bool | isNull () const |
Public Member Functions inherited from mgx::graph::Vertex< VertexContent, Alloc > | |
| Vertex () | |
| Creates a new vertex with a new content. More... | |
| Vertex (identity_t id) | |
Creates a reference on the vertex of identifier id. More... | |
| Vertex (const Vertex ©) | |
| Copy a vertex. More... | |
| Vertex (const weak_ref_t &w) | |
| Construct a strong reference from a weak one. | |
| ~Vertex () | |
| Desctructor. | |
| VertexContent * | operator-> () const |
| Access to the data. More... | |
| VertexContent & | operator* () const |
| Access to the data. More... | |
| Vertex & | operator= (const Vertex &other) |
| Change the vertex held by the current object. More... | |
| Vertex & | operator= (const identity_t &id) |
| Vertex & | operator= (const weak_ref_t &other) |
| Vertex & | operator= (const VertexContent *value) |
| bool | operator== (const Vertex &other) const |
| Comparison operators. More... | |
| bool | operator!= (const Vertex &other) const |
| Comparison operators. More... | |
| bool | operator> (const Vertex &other) const |
| Comparison operators. More... | |
| bool | operator< (const Vertex &other) const |
| Comparison operators. More... | |
| bool | operator>= (const Vertex &other) const |
| Comparison operators. More... | |
| bool | operator<= (const Vertex &other) const |
| Comparison operators. More... | |
| bool | isNull () const |
| Test if a vertex is a null vertex. | |
| identity_t | id () const |
| Return the identifier of a vertex. | |
| size_t | num () const |
| Return a number unique to each vertex, globally. | |
| operator bool () const | |
Convert a vertex to true if it is not null. | |
| bool | isWeakRef () const |
Return true if the current object hold a weak reference on a vertex. | |
| weak_ref_t | weakRef () const |
| Construct a weak reference on the current vertex. | |
| unsigned int | count () const |
| Serialization method. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from mgx::graph::Vertex< VertexContent, Alloc > | |
| static Vertex | null |
| Null vertex. More... | |
Protected Member Functions inherited from mgx::graph::Vertex< VertexContent, Alloc > | |
| void | release () |
| Release the current pointer. | |
| void | acquire () |
| Acquire the current pointer. | |
Protected Attributes inherited from mgx::graph::Vertex< VertexContent, Alloc > | |
| CountedContent * | content |
| Content of the vertex. More... | |
|
inline |
Construct an empty weak vertex.
At the difference of normal vertices, constructing a weak vertex creates a null one.
1.8.11