LibreOffice Module tools (master) 1
Public Member Functions | List of all members
Selection Class Referencefinal

#include <gen.hxx>

Inheritance diagram for Selection:
[legend]
Collaboration diagram for Selection:
[legend]

Public Member Functions

 Selection ()
 
 Selection (tools::Long nPos)
 
 Selection (tools::Long nMin, tools::Long nMax)
 
tools::Long Min () const
 
tools::Long Max () const
 
tools::Long Len () const
 
tools::LongMin ()
 
tools::LongMax ()
 
bool Contains (tools::Long nIs) const
 
void Normalize ()
 
bool operator! () const
 
tools::Long getMin () const
 
void setMin (tools::Long nMin)
 
void setMax (tools::Long nMax)
 
Pair const & toPair () const
 
PairtoPair ()
 
TOOLS_DLLPUBLIC rtl::OString toString () const
 

Additional Inherited Members

- Protected Member Functions inherited from Pair
constexpr Pair ()
 
constexpr Pair (tools::Long nA, tools::Long nB)
 
tools::Long A () const
 
tools::Long B () const
 
tools::LongA ()
 
tools::LongB ()
 
TOOLS_DLLPUBLIC rtl::OString toString () const
 
TOOLS_DLLPUBLIC size_t GetHashValue () const
 
- Protected Attributes inherited from Pair
tools::Long mnA
 
tools::Long mnB
 

Detailed Description

Definition at line 406 of file gen.hxx.

Constructor & Destructor Documentation

◆ Selection() [1/3]

Selection::Selection ( )
inline

Definition at line 409 of file gen.hxx.

◆ Selection() [2/3]

Selection::Selection ( tools::Long  nPos)
inline

Definition at line 410 of file gen.hxx.

References nPos.

◆ Selection() [3/3]

Selection::Selection ( tools::Long  nMin,
tools::Long  nMax 
)
inline

Definition at line 411 of file gen.hxx.

Member Function Documentation

◆ Contains()

bool Selection::Contains ( tools::Long  nIs) const
inline

Definition at line 436 of file gen.hxx.

References Pair::mnA, and Pair::mnB.

◆ getMin()

tools::Long Selection::getMin ( ) const
inline

Definition at line 426 of file gen.hxx.

References Min.

◆ Len()

tools::Long Selection::Len ( ) const
inline

Definition at line 415 of file gen.hxx.

◆ Max() [1/2]

tools::Long & Selection::Max ( )
inline

Definition at line 418 of file gen.hxx.

◆ Max() [2/2]

tools::Long Selection::Max ( ) const
inline

Definition at line 414 of file gen.hxx.

◆ Min() [1/2]

tools::Long & Selection::Min ( )
inline

Definition at line 417 of file gen.hxx.

◆ Min() [2/2]

tools::Long Selection::Min ( ) const
inline

Definition at line 413 of file gen.hxx.

◆ Normalize()

void Selection::Normalize ( )
inline

Definition at line 441 of file gen.hxx.

References Pair::mnA, and Pair::mnB.

◆ operator!()

bool Selection::operator! ( ) const
inline

Definition at line 424 of file gen.hxx.

◆ setMax()

void Selection::setMax ( tools::Long  nMax)
inline

Definition at line 428 of file gen.hxx.

References Max.

◆ setMin()

void Selection::setMin ( tools::Long  nMin)
inline

Definition at line 427 of file gen.hxx.

References Min.

◆ toPair() [1/2]

Pair & Selection::toPair ( )
inline

Definition at line 431 of file gen.hxx.

◆ toPair() [2/2]

Pair const & Selection::toPair ( ) const
inline

Definition at line 430 of file gen.hxx.

Referenced by operator==().

◆ toString()

OString Pair::toString ( ) const

Definition at line 54 of file gen.cxx.


The documentation for this class was generated from the following file: