LibreOffice Module tools (master) 1
Public Member Functions | Protected Attributes | List of all members
Pair Class Reference

#include <gen.hxx>

Inheritance diagram for Pair:
[legend]

Public Member Functions

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

tools::Long mnA
 
tools::Long mnB
 

Detailed Description

Definition at line 42 of file gen.hxx.

Constructor & Destructor Documentation

◆ Pair() [1/2]

constexpr Pair::Pair ( )
inlineconstexpr

Definition at line 45 of file gen.hxx.

◆ Pair() [2/2]

constexpr Pair::Pair ( tools::Long  nA,
tools::Long  nB 
)
inlineconstexpr

Definition at line 46 of file gen.hxx.

Member Function Documentation

◆ A() [1/2]

tools::Long & Pair::A ( )
inline

Definition at line 51 of file gen.hxx.

◆ A() [2/2]

tools::Long Pair::A ( ) const
inline

Definition at line 48 of file gen.hxx.

Referenced by tools::detail::equal(), and toString().

◆ B() [1/2]

tools::Long & Pair::B ( )
inline

Definition at line 52 of file gen.hxx.

◆ B() [2/2]

tools::Long Pair::B ( ) const
inline

Definition at line 49 of file gen.hxx.

Referenced by tools::detail::equal(), and toString().

◆ GetHashValue()

size_t Pair::GetHashValue ( ) const

Definition at line 37 of file gen.cxx.

References o3tl::hash_combine(), mnA, and mnB.

◆ toString()

OString Pair::toString ( ) const

Definition at line 29 of file gen.cxx.

References A(), and B().

Member Data Documentation

◆ mnA

tools::Long Pair::mnA
protected

◆ mnB

tools::Long Pair::mnB
protected

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