| 
    bpp-core
    2.2.0
    
   | 
 
Interface discribing a collection of Range objects. More...
#include <Bpp/Numeric/Range.h>
 Inheritance diagram for bpp::RangeCollection< T >:Public Member Functions | |
| virtual | ~RangeCollection () | 
| virtual void | addRange (const Range< T > &r)=0 | 
| Add a new range to the collection.  More... | |
| virtual void | restrictTo (const Range< T > &r)=0 | 
| Get the intersection with a given range.  More... | |
| virtual void | filterWithin (const Range< T > &r)=0 | 
| Only keep the ranges that fall within the given range.  More... | |
| virtual std::string | toString () const =0 | 
| virtual bool | isEmpty () const =0 | 
| virtual size_t | size () const =0 | 
| virtual const Range< T > & | getRange (size_t i) const =0 | 
| virtual void | clear ()=0 | 
| Clear the collection.  More... | |
Interface discribing a collection of Range objects.
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
Add a new range to the collection.
| r | The range to add to the collection. | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Clear the collection.
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Only keep the ranges that fall within the given range.
| r | Restriction range. | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Get the intersection with a given range.
The new multirange is the union of all ranges intersections with the given range.
| r | Restriction range. | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.
      
  | 
  pure virtual | 
Implemented in bpp::MultiRange< T >, and bpp::RangeSet< T >.