bioprocessing
5.1.2
|
Reference counting pointer to a SetEdge. More...
#include <bioprocessing/graph/setedge.h>
Public Types | |
typedef Pointed::Vertex | Vertex |
Usable Vertex type. More... | |
typedef Pointed::Edge | Edge |
USable Edge type. More... | |
typedef Pointed::iterator | iterator |
typedef Pointed::const_iterator | const_iterator |
![]() | |
typedef Pointed::Vertex | Vertex |
Usable vertex type. More... | |
typedef Pointed::Edge | Edge |
Usable edge type. More... | |
typedef Pointed::Edge | Ref |
Reference type. More... | |
Public Member Functions | |
SetEdgeRef (const Vertex &x, const Vertex &y) | |
Constructor from a pair of vertices. More... | |
SetEdgeRef (Pointed *e) | |
Constructor from a pointer (the pointer should either be created by new , or be already referenced by a rc_ptr. More... | |
SetEdgeRef (const Base &other) | |
Copy constructor (it copies the reference, it does not duplicate the pointed object) More... | |
virtual | ~SetEdgeRef () |
virtual const_iterator | begin () const |
virtual const_iterator | end () const |
virtual iterator | begin () |
virtual iterator | end () |
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 |
![]() | |
BaseEdgeRef (Pointed *e) | |
Constructor from a pointer (the pointer should either be created by new , or be already referenced by a rc_ptr. More... | |
BaseEdgeRef (const Base &other) | |
Copy constructor (it copies the reference, it does not duplicate the pointed object) More... | |
virtual | ~BaseEdgeRef () |
virtual Vertex | x () |
access the first vertex (arbitrary choice for non oriented edges) More... | |
virtual const Vertex | x () const |
access the first vertex (arbitrary choice for non oriented edges) More... | |
virtual Vertex | y () |
access the second vertex (arbitrary choice for non oriented edges) More... | |
virtual const Vertex | y () const |
access the second vertex (arbitrary choice for non oriented edges) More... | |
virtual Vertex | other (const Vertex &v) |
access the vertex that is not v More... | |
virtual const Vertex | other (const Vertex &v) const |
access the vertex that is not v More... | |
Static Public Member Functions | |
static Edge | none () |
Empty pointer factory. More... | |
![]() | |
static Edge | none () |
Empty pointer factory. More... | |
Protected Types | |
typedef SetEdgeRef< V > | This |
Type of *this. More... | |
typedef BaseEdgeRef< V > | Base |
Base class type. More... | |
typedef SetEdge< V > | Pointed |
Pointed object type. More... | |
![]() | |
typedef BaseEdgeRef< V > | This |
Type of *this. More... | |
typedef carto::rc_ptr< BaseEdge< V > > | Base |
Base class. More... | |
typedef BaseEdge< V > | Pointed |
Pointed object type. More... | |
Protected Member Functions | |
SetEdgeRef () | |
Default constructor (builds a none pointer) More... | |
![]() | |
BaseEdgeRef () | |
Default constructor (creates an empty pointer) More... | |
Friends | |
class | SetEdge< V > |
Reference counting pointer to a SetEdge.
These objects also have full access to SetEdge methods (without having to dereference the pointer)
|
protected |
typedef Pointed::const_iterator bio::SetEdgeRef< V >::const_iterator |
typedef Pointed::Edge bio::SetEdgeRef< V >::Edge |
typedef Pointed::iterator bio::SetEdgeRef< V >::iterator |
|
protected |
|
protected |
typedef Pointed::Vertex bio::SetEdgeRef< V >::Vertex |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinestatic |
|
inlinevirtual |
Reimplemented from bio::BaseEdgeRef< V >.
Definition at line 222 of file setedge.h.
References bio::BaseEdgeRef< V >::other().
|
inlinevirtual |
Reimplemented from bio::BaseEdgeRef< V >.
Definition at line 235 of file setedge.h.
References bio::BaseEdgeRef< V >::other().
|
inlinevirtual |
Reimplemented from bio::BaseEdgeRef< V >.
Definition at line 248 of file setedge.h.
References bio::BaseEdgeRef< V >::other().
|
inlinevirtual |
There is equality if both pointers are none, or if both pointed objects are equal.
Reimplemented from bio::BaseEdgeRef< V >.
Definition at line 213 of file setedge.h.
References bio::BaseEdgeRef< V >::other().
|
inlinevirtual |
Reimplemented from bio::BaseEdgeRef< V >.
Definition at line 226 of file setedge.h.
References bio::BaseEdgeRef< V >::other().
|
inlinevirtual |
Reimplemented from bio::BaseEdgeRef< V >.
Definition at line 244 of file setedge.h.
References bio::BaseEdgeRef< V >::other().