bioprocessing  5.1.2
bio::CoustyStreamRef< V > Class Template Reference

Reference counting pointer to a CoustyStream. More...

#include <bioprocessing/watershed/coustystream.h>

Inheritance diagram for bio::CoustyStreamRef< V >:
Collaboration diagram for bio::CoustyStreamRef< V >:

Public Types

typedef Pointed::Vertex Vertex
 
typedef Pointed::iterator iterator
 
typedef Pointed::const_iterator const_iterator
 

Public Member Functions

 CoustyStreamRef ()
 
 CoustyStreamRef (Vertex x)
 
 ~CoustyStreamRef ()
 
void reset (Vertex x)
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
std::pair< iterator, bool > insert (const Vertex &v)
 
void erase (const Vertex &v)
 
void erase (iterator v)
 
bool empty () const
 
size_t count (const Vertex &v) const
 

Protected Types

typedef CoustyStream< V > Pointed
 
typedef carto::rc_ptr< PointedBase
 

Detailed Description

template<typename V>
class bio::CoustyStreamRef< V >

Reference counting pointer to a CoustyStream.

These objects also have full access to CoustyStream methods (without having to dereference the pointer)

Definition at line 64 of file coustystream.h.

Member Typedef Documentation

◆ Base

template<typename V >
typedef carto::rc_ptr<Pointed> bio::CoustyStreamRef< V >::Base
protected

Definition at line 69 of file coustystream.h.

◆ const_iterator

template<typename V >
typedef Pointed::const_iterator bio::CoustyStreamRef< V >::const_iterator

Definition at line 73 of file coustystream.h.

◆ iterator

template<typename V >
typedef Pointed::iterator bio::CoustyStreamRef< V >::iterator

Definition at line 72 of file coustystream.h.

◆ Pointed

template<typename V >
typedef CoustyStream<V> bio::CoustyStreamRef< V >::Pointed
protected

Definition at line 68 of file coustystream.h.

◆ Vertex

template<typename V >
typedef Pointed::Vertex bio::CoustyStreamRef< V >::Vertex

Definition at line 71 of file coustystream.h.

Constructor & Destructor Documentation

◆ CoustyStreamRef() [1/2]

template<typename V >
bio::CoustyStreamRef< V >::CoustyStreamRef ( )
inline

Definition at line 77 of file coustystream.h.

◆ CoustyStreamRef() [2/2]

template<typename V >
bio::CoustyStreamRef< V >::CoustyStreamRef ( Vertex  x)
inline

Definition at line 78 of file coustystream.h.

◆ ~CoustyStreamRef()

template<typename V >
bio::CoustyStreamRef< V >::~CoustyStreamRef ( )
inline

Definition at line 79 of file coustystream.h.

Member Function Documentation

◆ begin() [1/2]

template<typename V >
iterator bio::CoustyStreamRef< V >::begin ( )
inline

Definition at line 89 of file coustystream.h.

◆ begin() [2/2]

template<typename V >
const_iterator bio::CoustyStreamRef< V >::begin ( ) const
inline

Definition at line 87 of file coustystream.h.

Referenced by bio::CoustyWatershed< T, L >::computeStream().

◆ count()

template<typename V >
size_t bio::CoustyStreamRef< V >::count ( const Vertex v) const
inline

Definition at line 95 of file coustystream.h.

◆ empty()

template<typename V >
bool bio::CoustyStreamRef< V >::empty ( ) const
inline

Definition at line 94 of file coustystream.h.

Referenced by bio::CoustyWatershed< T, L >::computeStream().

◆ end() [1/2]

template<typename V >
iterator bio::CoustyStreamRef< V >::end ( )
inline

Definition at line 90 of file coustystream.h.

◆ end() [2/2]

template<typename V >
const_iterator bio::CoustyStreamRef< V >::end ( ) const
inline

Definition at line 88 of file coustystream.h.

◆ erase() [1/2]

template<typename V >
void bio::CoustyStreamRef< V >::erase ( const Vertex v)
inline

Definition at line 92 of file coustystream.h.

Referenced by bio::CoustyWatershed< T, L >::computeStream().

◆ erase() [2/2]

template<typename V >
void bio::CoustyStreamRef< V >::erase ( iterator  v)
inline

Definition at line 93 of file coustystream.h.

◆ insert()

template<typename V >
std::pair<iterator,bool> bio::CoustyStreamRef< V >::insert ( const Vertex v)
inline

Definition at line 91 of file coustystream.h.

Referenced by bio::CoustyWatershed< T, L >::computeStream().

◆ reset()

template<typename V >
void bio::CoustyStreamRef< V >::reset ( Vertex  x)
inline

Definition at line 83 of file coustystream.h.

Referenced by bio::CoustyWatershed< T, L >::computeStream().


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