Lines Matching refs:r
293 inline ScAddress( const ScAddress& r ) in ScAddress() argument
294 : nRow(r.nRow), nCol(r.nCol), nTab(r.nTab) in ScAddress()
296 inline ScAddress& operator=( const ScAddress& r );
307 inline void PutInOrder( ScAddress& r );
325 inline bool operator==( const ScAddress& r ) const;
326 inline bool operator!=( const ScAddress& r ) const;
327 inline bool operator<( const ScAddress& r ) const;
328 inline bool operator<=( const ScAddress& r ) const;
329 inline bool operator>( const ScAddress& r ) const;
330 inline bool operator>=( const ScAddress& r ) const;
339 inline void ScAddress::PutInOrder( ScAddress& r ) in PutInOrder() argument
341 if ( r.Col() < Col() ) in PutInOrder()
343 SCCOL nTmp = r.Col(); in PutInOrder()
344 r.SetCol( Col() ); in PutInOrder()
347 if ( r.Row() < Row() ) in PutInOrder()
349 SCROW nTmp = r.Row(); in PutInOrder()
350 r.SetRow( Row() ); in PutInOrder()
353 if ( r.Tab() < Tab() ) in PutInOrder()
355 SCTAB nTmp = r.Tab(); in PutInOrder()
356 r.SetTab( Tab() ); in PutInOrder()
368 inline ScAddress& ScAddress::operator=( const ScAddress& r ) in operator =() argument
370 nCol = r.nCol; in operator =()
371 nRow = r.nRow; in operator =()
372 nTab = r.nTab; in operator =()
376 inline bool ScAddress::operator==( const ScAddress& r ) const in operator ==()
378 return nRow == r.nRow && nCol == r.nCol && nTab == r.nTab; in operator ==()
381 inline bool ScAddress::operator!=( const ScAddress& r ) const in operator !=()
383 return !operator==( r ); in operator !=()
386 inline bool ScAddress::operator<( const ScAddress& r ) const in operator <()
390 if (nTab == r.nTab) in operator <()
392 if (nCol == r.nCol) in operator <()
393 return nRow < r.nRow; in operator <()
395 return nCol < r.nCol; in operator <()
398 return nTab < r.nTab; in operator <()
401 inline bool ScAddress::operator<=( const ScAddress& r ) const in operator <=()
403 return operator<( r ) || operator==( r ); in operator <=()
406 inline bool ScAddress::operator>( const ScAddress& r ) const in operator >()
408 return !operator<=( r ); in operator >()
411 inline bool ScAddress::operator>=( const ScAddress& r ) const in operator >=()
413 return !operator<( r ); in operator >=()
459 inline ScRange( const ScRange& r ) : aStart( r.aStart ), aEnd( r.aEnd ) {} in ScRange() argument
460 inline ScRange( const ScAddress& r ) : aStart( r ), aEnd( r ) {} in ScRange() argument
467 inline ScRange& operator=( const ScRange& r ) in operator =() argument
468 { aStart = r.aStart; aEnd = r.aEnd; return *this; } in operator =()
525 inline bool operator==( const ScRange& r ) const;
526 inline bool operator!=( const ScRange& r ) const;
527 inline bool operator<( const ScRange& r ) const;
528 inline bool operator<=( const ScRange& r ) const;
529 inline bool operator>( const ScRange& r ) const;
530 inline bool operator>=( const ScRange& r ) const;
545 inline bool ScRange::operator==( const ScRange& r ) const in operator ==()
547 return ( (aStart == r.aStart) && (aEnd == r.aEnd) ); in operator ==()
550 inline bool ScRange::operator!=( const ScRange& r ) const in operator !=()
552 return !operator==( r ); in operator !=()
556 inline bool ScRange::operator<( const ScRange& r ) const in operator <()
558 return aStart < r.aStart || (aStart == r.aStart && aEnd < r.aEnd) ; in operator <()
561 inline bool ScRange::operator<=( const ScRange& r ) const in operator <=()
563 return operator<( r ) || operator==( r ); in operator <=()
566 inline bool ScRange::operator>( const ScRange& r ) const in operator >()
568 return !operator<=( r ); in operator >()
571 inline bool ScRange::operator>=( const ScRange& r ) const in operator >=()
573 return !operator<( r ); in operator >=()
584 inline bool ScRange::In( const ScRange& r ) const in In()
587 aStart.Col() <= r.aStart.Col() && r.aEnd.Col() <= aEnd.Col() && in In()
588 aStart.Row() <= r.aStart.Row() && r.aEnd.Row() <= aEnd.Row() && in In()
589 aStart.Tab() <= r.aStart.Tab() && r.aEnd.Tab() <= aEnd.Tab(); in In()
648 ScRangePair( const ScRangePair& r ) in ScRangePair() argument
649 { aRange[0] = r.aRange[0]; aRange[1] = r.aRange[1]; } in ScRangePair()
653 inline ScRangePair& operator= ( const ScRangePair& r );
660 inline ScRangePair& ScRangePair::operator= ( const ScRangePair& r ) in operator =() argument
662 aRange[0] = r.aRange[0]; in operator =()
663 aRange[1] = r.aRange[1]; in operator =()
667 inline int ScRangePair::operator==( const ScRangePair& r ) const in operator ==()
669 return ( (aRange[0] == r.aRange[0]) && (aRange[1] == r.aRange[1]) ); in operator ==()
672 inline int ScRangePair::operator!=( const ScRangePair& r ) const in operator !=()
674 return !operator==( r ); in operator !=()
723 inline int operator == ( const ScRefAddress& r ) const;
724 inline int operator != ( const ScRefAddress& r ) const in operator !=()
725 { return !(operator==(r)); } in operator !=()
758 inline int ScRefAddress::operator==( const ScRefAddress& r ) const in operator ==()
760 return aAdr == r.aAdr && bRelCol == r.bRelCol && bRelRow == r.bRelRow && in operator ==()
761 bRelTab == r.bRelTab; in operator ==()