bioprocessing  5.1.2
bio::ValueVertex< T > Class Template Reference

Vertices with value. More...

#include <bioprocessing/graph/valuevertex.h>

Inheritance diagram for bio::ValueVertex< T >:
Collaboration diagram for bio::ValueVertex< T >:

Public Types

typedef ValueVertexRef< T > Vertex
 Useable type (RC) More...
 
typedef ValueVertexRef< T > Ref
 Reference type. More...
 
typedef T Type
 Value type. More...
 
- Public Types inherited from bio::BaseVertex
typedef BaseVertexRef Vertex
 Useable type (its RC pointer) More...
 
typedef BaseVertexRef Ref
 RC pointer to the type. More...
 

Public Member Functions

 ValueVertex (const Type &val)
 Constructor from a value. More...
 
virtual ~ValueVertex ()
 
const Typevalue () const
 Const accessor to th value. More...
 
Type value ()
 Non const accessor to the value. More...
 
- Public Member Functions inherited from bio::BaseVertex
 BaseVertex ()
 Default constructor. More...
 
virtual ~BaseVertex ()
 
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
 
virtual bool operator>= (const This &other) const
 

Protected Types

typedef ValueVertex< T > This
 Type of *this. More...
 
typedef BaseVertex Base
 Base class. More...
 
- Protected Types inherited from bio::BaseVertex
typedef BaseVertex This
 Type of *this. More...
 

Protected Attributes

Type _value
 

Friends

class ValueVertexRef< T >
 

Detailed Description

template<typename T>
class bio::ValueVertex< T >

Vertices with value.

This class is templated with a value type (U8, S16, S32 ...).
The vertices embed a value of this type.
The overall behaviour of those vertices is the same as in BaseVertex.

Definition at line 34 of file valuevertex.h.

Member Typedef Documentation

◆ Base

template<typename T >
typedef BaseVertex bio::ValueVertex< T >::Base
protected

Base class.

Definition at line 39 of file valuevertex.h.

◆ Ref

template<typename T >
typedef ValueVertexRef<T> bio::ValueVertex< T >::Ref

Reference type.

Definition at line 42 of file valuevertex.h.

◆ This

template<typename T >
typedef ValueVertex<T> bio::ValueVertex< T >::This
protected

Type of *this.

Definition at line 38 of file valuevertex.h.

◆ Type

template<typename T >
typedef T bio::ValueVertex< T >::Type

Value type.

Definition at line 43 of file valuevertex.h.

◆ Vertex

template<typename T >
typedef ValueVertexRef<T> bio::ValueVertex< T >::Vertex

Useable type (RC)

Definition at line 41 of file valuevertex.h.

Constructor & Destructor Documentation

◆ ValueVertex()

template<typename T >
bio::ValueVertex< T >::ValueVertex ( const Type val)
inline

Constructor from a value.

Definition at line 48 of file valuevertex.h.

◆ ~ValueVertex()

template<typename T >
virtual bio::ValueVertex< T >::~ValueVertex ( )
inlinevirtual

Definition at line 49 of file valuevertex.h.

Member Function Documentation

◆ value() [1/2]

template<typename T >
Type bio::ValueVertex< T >::value ( )
inline

Non const accessor to the value.

Definition at line 56 of file valuevertex.h.

References bio::ValueVertex< T >::_value.

◆ value() [2/2]

template<typename T >
const Type& bio::ValueVertex< T >::value ( ) const
inline

Const accessor to th value.

Definition at line 54 of file valuevertex.h.

References bio::ValueVertex< T >::_value.

Friends And Related Function Documentation

◆ ValueVertexRef< T >

template<typename T >
friend class ValueVertexRef< T >
friend

Definition at line 60 of file valuevertex.h.

Member Data Documentation

◆ _value

template<typename T >
Type bio::ValueVertex< T >::_value
protected

Definition at line 60 of file valuevertex.h.

Referenced by bio::ValueVertex< T >::value().


The documentation for this class was generated from the following file: