cgatools::util::RangeSet Class Reference

List of all members.

Public Types

typedef std::vector< std::string > StringVector

Public Member Functions

bool intersects (const reference::Range &inRange) const
 Returns true if there is a range in this set that overlaps the specified range.
bool contains (const reference::Location &loc) const
 Returns true if any range of this set contains the given location.
void add (const std::string &rangeStr, const reference::CrrFile &ref)
void add (const StringVector &rangeStrSet, const reference::CrrFile &ref)

Member Function Documentation

bool cgatools::util::RangeSet::intersects ( const reference::Range inRange  )  const

Returns true if there is a range in this set that overlaps the specified range.

Zero-length overlap is allowed for empty ranges, therefore an empty range overlaps with itself. An empty range overlap includes begin of other range: [b,b) overlaps [a,b) and [b,c) and vise versa.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2