11 #ifndef BIOPROCESSING_WATERSHED_COUSTYSTREAM 12 #define BIOPROCESSING_WATERSHED_COUSTYSTREAM 30 class CoustyStream:
public std::set<V>,
public carto::RCObject
34 typedef typename std::set<V>
Base;
69 typedef carto::rc_ptr<Pointed>
Base;
83 void reset( Vertex x ) {
return (*this)->reset(x); }
87 const_iterator
begin()
const {
return (*this)->begin(); }
88 const_iterator
end()
const {
return (*this)->end(); }
89 iterator
begin() {
return (*this)->begin(); }
90 iterator
end() {
return (*this)->end(); }
91 std::pair<iterator,bool>
insert(
const Vertex & v ) {
return (*this)->insert(v); }
92 void erase(
const Vertex & v ) { (*this)->erase(v); }
93 void erase( iterator v ) { (*this)->erase(v); }
94 bool empty()
const {
return (*this)->empty(); }
95 size_t count(
const Vertex & v)
const {
return (*this)->count(v); }
101 #endif // BIOPROCESSING_WATERSHED_COUSTYSTREAM
carto::rc_ptr< Pointed > Base
Pointed::const_iterator const_iterator
Reference counting pointer to a CoustyStream.
std::pair< iterator, bool > insert(const Vertex &v)
CoustyStreamRef(Vertex x)
CoustyStream< V > Pointed
Streams represent a descent path in a graph.
const_iterator end() const
size_t count(const Vertex &v) const
const_iterator begin() const
Pointed::iterator iterator
void erase(const Vertex &v)