bioprocessing
5.1.2
|
Reference counting pointer to a BaseVertex. More...
#include <bioprocessing/graph/basevertex.h>
Public Types | |
typedef Pointed::Vertex | Vertex |
Useable type. More... | |
Public Member Functions | |
BaseVertexRef () | |
Default constructor. More... | |
BaseVertexRef (Pointed *v) | |
Constructor from a pointer (the pointer should either be created by new , or be already referenced by a rc_ptr. More... | |
BaseVertexRef (const Base &other) | |
Copy constructor (copies the reference, it does not duplicate the pointed object) More... | |
virtual | ~BaseVertexRef () |
virtual bool | operator== (const This &other) const |
There is equality if both pointers are none, or if both pointed objects are equal. More... | |
virtual bool | operator!= (const This &other) const |
virtual bool | operator> (const This &other) const |
virtual bool | operator< (const This &other) const |
virtual bool | operator>= (const This &other) const |
virtual bool | operator<= (const This &other) const |
Static Public Member Functions | |
static Vertex | none () |
Empty pointer factory. More... | |
Protected Types | |
typedef BaseVertexRef | This |
Type of *this . More... | |
typedef carto::rc_ptr< BaseVertex > | Base |
Base class type. More... | |
typedef BaseVertex | Pointed |
Pointed object type. More... | |
Friends | |
class | BaseVertex |
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.
|
protected |
Base class type.
Definition at line 109 of file basevertex.h.
|
protected |
Pointed object type.
Definition at line 110 of file basevertex.h.
|
protected |
Type of *this
.
Definition at line 108 of file basevertex.h.
Useable type.
Definition at line 112 of file basevertex.h.
|
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.
|
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.
|
inline |
Copy constructor (copies the reference, it does not duplicate the pointed object)
Definition at line 126 of file basevertex.h.
|
inlinevirtual |
Definition at line 127 of file basevertex.h.
|
inlinestatic |
|
inlinevirtual |
Reimplemented in bio::PointVertexRef< P >.
Definition at line 148 of file basevertex.h.
|
inlinevirtual |
Reimplemented in bio::PointVertexRef< P >.
Definition at line 159 of file basevertex.h.
|
inlinevirtual |
Reimplemented in bio::PointVertexRef< P >.
Definition at line 170 of file basevertex.h.
|
inlinevirtual |
There is equality if both pointers are none, or if both pointed objects are equal.
Reimplemented in bio::PointVertexRef< P >.
Definition at line 139 of file basevertex.h.
|
inlinevirtual |
Reimplemented in bio::PointVertexRef< P >.
Definition at line 152 of file basevertex.h.
|
inlinevirtual |
Reimplemented in bio::PointVertexRef< P >.
Definition at line 166 of file basevertex.h.
|
friend |
Definition at line 176 of file basevertex.h.