Lines Matching defs:Range
29 // A Range contains two integer values that represent a numeric range, like the
31 // position; when they are the same, the Range is akin to a caret. Note that
34 class GFX_EXPORT Range {
37 Range();
40 Range(size_t start, size_t end);
43 explicit Range(size_t position);
47 explicit Range(const NSRange& range);
51 Range(const CHARRANGE& range, LONG total_length = -1);
55 static const Range InvalidRange();
80 bool operator==(const Range& other) const;
81 bool operator!=(const Range& other) const;
82 bool EqualsIgnoringDirection(const Range& other) const;
85 bool Intersects(const Range& range) const;
88 bool Contains(const Range& range) const;
93 Range Intersect(const Range& range) const;
96 Range& operator=(const NSRange& range);
113 GFX_EXPORT std::ostream& operator<<(std::ostream& os, const Range& range);