Reference counting pointer to a BaseVertex.
More...
#include <bioprocessing/graph/basevertex.h>
Reference counting pointer to a BaseVertex.
These objects also have full access to BaseVertex methods (without having to dereference the pointer)
Definition at line 104 of file basevertex.h.
◆ Base
◆ Pointed
◆ This
◆ Vertex
◆ BaseVertexRef() [1/3]
| bio::BaseVertexRef::BaseVertexRef |
( |
| ) |
|
|
inline |
Default constructor.
This creates an actual Vertex instance. "Empty" verteices should be created using the none() static method.
Definition at line 119 of file basevertex.h.
◆ BaseVertexRef() [2/3]
| bio::BaseVertexRef::BaseVertexRef |
( |
Pointed * | v | ) |
|
|
inline |
Constructor from a pointer (the pointer should either be created by new, or be already referenced by a rc_ptr.
See rc_ptr for more details on reference counting pointers)
Definition at line 123 of file basevertex.h.
◆ BaseVertexRef() [3/3]
| bio::BaseVertexRef::BaseVertexRef |
( |
const Base & | other | ) |
|
|
inline |
Copy constructor (copies the reference, it does not duplicate the pointed object)
Definition at line 126 of file basevertex.h.
◆ ~BaseVertexRef()
| virtual bio::BaseVertexRef::~BaseVertexRef |
( |
| ) |
|
|
inlinevirtual |
◆ none()
| static Vertex bio::BaseVertexRef::none |
( |
| ) |
|
|
inlinestatic |
Empty pointer factory.
The reference is set to 0
Definition at line 133 of file basevertex.h.
◆ operator!=()
| virtual bool bio::BaseVertexRef::operator!= |
( |
const This & | other | ) |
const |
|
inlinevirtual |
◆ operator<()
| virtual bool bio::BaseVertexRef::operator< |
( |
const This & | other | ) |
const |
|
inlinevirtual |
◆ operator<=()
| virtual bool bio::BaseVertexRef::operator<= |
( |
const This & | other | ) |
const |
|
inlinevirtual |
◆ operator==()
| virtual bool bio::BaseVertexRef::operator== |
( |
const This & | other | ) |
const |
|
inlinevirtual |
There is equality if both pointers are none, or if both pointed objects are equal.
Definition at line 139 of file basevertex.h.
◆ operator>()
| virtual bool bio::BaseVertexRef::operator> |
( |
const This & | other | ) |
const |
|
inlinevirtual |
◆ operator>=()
| virtual bool bio::BaseVertexRef::operator>= |
( |
const This & | other | ) |
const |
|
inlinevirtual |
◆ BaseVertex
The documentation for this class was generated from the following file: