Searched defs:ValueRange (Results 1 – 1 of 1) sorted by relevance
47 struct ValueRange struct49 sal_Int32 mnFirst;50 sal_Int32 mnLast;52 inline explicit ValueRange( sal_Int32 nValue = 0 ) : mnFirst( nValue ), mnLast( nValue ) {} in ValueRange() argument53 …inline explicit ValueRange( sal_Int32 nFirst, sal_Int32 nLast ) : mnFirst( nFirst ), mnLast( n… in ValueRange() function55 …inline bool operator==( const ValueRange& rRange ) const { return (mnFirst == rRange.mnFir… in operator ==()56 inline bool operator!=( const ValueRange& rRange ) const { return !(*this == rRange); } in operator !=()57 …inline bool contains( sal_Int32 nValue ) const { return (mnFirst <= nValue) && (nValue <= … in contains()58 …inline bool contains( const ValueRange& rRange ) const { return (mnFirst <= rRange.mnFirst… in contains()59 …inline bool intersects( const ValueRange& rRange ) const { return (mnFirst <= rRange.mnLas… in intersects()
Completed in 18 milliseconds