11 #ifndef BIOPROCESSING_GRAPH_VALUEVERTEX
12 #define BIOPROCESSING_GRAPH_VALUEVERTEX
17 #include <cartobase/smart/rcptr.h>
22 template <
typename T>
class ValueVertex;
23 template <
typename T>
class ValueVertexRef;
Reference counting pointer to a BaseVertex.
carto::rc_ptr< BaseVertex > Base
Base class type.
Reference counting pointer to a ValueVertex.
Pointed::Type Type
Value type.
BaseVertexRef Base
Base class (rc_ptr)
ValueVertexRef()
Default constructor (builds a non pointer)
ValueVertexRef(const Type &val)
Constructor from a value (creates a new instance)
const Type & value() const
Const accessor to th value.
virtual ~ValueVertexRef()
ValueVertex< T > Pointed
Pointed object type.
ValueVertexRef(Pointed *v)
Constructor from a pointer (the pointer should either be created by new, or be already referenced by ...
Pointed::Vertex Vertex
Useable type (RC)
ValueVertexRef(const Base &other)
Copy constructor (it copies the reference, it does not duplicate the pointed object)
ValueVertexRef< T > This
Type of *this.
static Vertex none()
Empty pointer factory.
Type value()
Non const accessor to th value.
ValueVertex< T > This
Type of *this.
ValueVertexRef< T > Vertex
Useable type (RC)
ValueVertex(const Type &val)
Constructor from a value.
ValueVertexRef< T > Ref
Reference type.
BaseVertex Base
Base class.
const Type & value() const
Const accessor to th value.
Type value()
Non const accessor to the value.