LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
connectivity::dbase::ONDXKey Class Reference

#include <dindexnode.hxx>

Inheritance diagram for connectivity::dbase::ONDXKey:
[legend]
Collaboration diagram for connectivity::dbase::ONDXKey:
[legend]

Public Member Functions

 ONDXKey ()
 
 ONDXKey (ORowSetValue aVal, sal_Int32 eType, sal_uInt32 nRec)
 
 ONDXKey (const OUString &aStr, sal_uInt32 nRec)
 
 ONDXKey (double aVal, sal_uInt32 nRec)
 
 ONDXKey (const ONDXKey &rKey)
 
ONDXKeyoperator= (const ONDXKey &rKey)
 
virtual void setValue (const ORowSetValue &_rVal) override
 
virtual const ORowSetValuegetValue () const override
 
sal_uInt32 GetRecord () const
 
void setRecord (sal_uInt32 _nRec)
 
void ResetRecord ()
 
bool operator== (const ONDXKey &rKey) const
 
bool operator!= (const ONDXKey &rKey) const
 
bool operator< (const ONDXKey &rKey) const
 
bool operator<= (const ONDXKey &rKey) const
 
bool operator> (const ONDXKey &rKey) const
 
- Public Member Functions inherited from connectivity::file::OOperand
virtual const ORowSetValuegetValue () const =0
 
virtual void setValue (const ORowSetValue &_rVal)=0
 
sal_Int32 getDBType () const
 
bool isValid () const
 
- Public Member Functions inherited from connectivity::file::OCode
virtual ~OCode ()
 
 OCode (OCode &&)=default
 
 OCode (const OCode &)=default
 
 OCode ()=default
 
OCodeoperator= (const OCode &)=default
 
OCodeoperator= (OCode &&)=default
 

Static Public Member Functions

static bool IsText (sal_Int32 eType)
 

Private Member Functions

int Compare (const ONDXKey &rKey) const
 

Private Attributes

sal_uInt32 nRecord
 
ORowSetValue xValue
 

Friends

class ONDXNode
 

Additional Inherited Members

- Protected Member Functions inherited from connectivity::file::OOperand
 OOperand (sal_Int32 _rType)
 
 OOperand ()
 
- Protected Attributes inherited from connectivity::file::OOperand
sal_Int32 m_eDBType
 

Detailed Description

Definition at line 39 of file dindexnode.hxx.

Constructor & Destructor Documentation

◆ ONDXKey() [1/5]

ONDXKey::ONDXKey ( )

Definition at line 37 of file dindexnode.cxx.

◆ ONDXKey() [2/5]

ONDXKey::ONDXKey ( ORowSetValue  aVal,
sal_Int32  eType,
sal_uInt32  nRec 
)

Definition at line 42 of file dindexnode.cxx.

References eType.

◆ ONDXKey() [3/5]

ONDXKey::ONDXKey ( const OUString &  aStr,
sal_uInt32  nRec 
)

Definition at line 49 of file dindexnode.cxx.

References aStr, connectivity::ORowSetValue::setBound(), and xValue.

◆ ONDXKey() [4/5]

ONDXKey::ONDXKey ( double  aVal,
sal_uInt32  nRec 
)

Definition at line 60 of file dindexnode.cxx.

References DOUBLE.

◆ ONDXKey() [5/5]

connectivity::dbase::ONDXKey::ONDXKey ( const ONDXKey rKey)
inline

Definition at line 255 of file dindexnode.hxx.

Member Function Documentation

◆ Compare()

int ONDXKey::Compare ( const ONDXKey rKey) const
private

◆ GetRecord()

sal_uInt32 connectivity::dbase::ONDXKey::GetRecord ( ) const
inline

◆ getValue()

const ORowSetValue & ONDXKey::getValue ( ) const
overridevirtual

◆ IsText()

bool ONDXKey::IsText ( sal_Int32  eType)
static

Definition at line 738 of file dindexnode.cxx.

References eType.

Referenced by Compare().

◆ operator!=()

bool connectivity::dbase::ONDXKey::operator!= ( const ONDXKey rKey) const
inline

Definition at line 279 of file dindexnode.hxx.

References operator==().

◆ operator<()

bool connectivity::dbase::ONDXKey::operator< ( const ONDXKey rKey) const
inline

Definition at line 283 of file dindexnode.hxx.

References Compare().

◆ operator<=()

bool connectivity::dbase::ONDXKey::operator<= ( const ONDXKey rKey) const
inline

Definition at line 291 of file dindexnode.hxx.

References operator>().

◆ operator=()

ONDXKey & connectivity::dbase::ONDXKey::operator= ( const ONDXKey rKey)
inline

◆ operator==()

bool connectivity::dbase::ONDXKey::operator== ( const ONDXKey rKey) const
inline

Definition at line 273 of file dindexnode.hxx.

References Compare().

Referenced by operator!=().

◆ operator>()

bool connectivity::dbase::ONDXKey::operator> ( const ONDXKey rKey) const
inline

Definition at line 287 of file dindexnode.hxx.

References Compare().

Referenced by operator<=().

◆ ResetRecord()

void connectivity::dbase::ONDXKey::ResetRecord ( )
inline

◆ setRecord()

void connectivity::dbase::ONDXKey::setRecord ( sal_uInt32  _nRec)
inline

Definition at line 59 of file dindexnode.hxx.

References nRecord.

Referenced by connectivity::dbase::ODbaseIndex::CreateImpl().

◆ setValue()

void ONDXKey::setValue ( const ORowSetValue _rVal)
overridevirtual

Implements connectivity::file::OOperand.

Definition at line 782 of file dindexnode.cxx.

References xValue.

Referenced by connectivity::dbase::ODbaseIndex::CreateImpl().

Friends And Related Function Documentation

◆ ONDXNode

friend class ONDXNode
friend

Definition at line 41 of file dindexnode.hxx.

Member Data Documentation

◆ nRecord

sal_uInt32 connectivity::dbase::ONDXKey::nRecord
private

◆ xValue

ORowSetValue connectivity::dbase::ONDXKey::xValue
private

Definition at line 43 of file dindexnode.hxx.

Referenced by getValue(), ONDXKey(), operator=(), and setValue().


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