LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScLookupCache::QueryCriteria Class Reference

#include <lookupcache.hxx>

Public Member Functions

 QueryCriteria (const ScQueryEntry &rEntry)
 
 QueryCriteria (const QueryCriteria &r)
 
 ~QueryCriteria ()
 
QueryOp getQueryOp () const
 
void setDouble (double fVal)
 
void setString (const OUString &rStr)
 
bool operator== (const QueryCriteria &r) const
 
bool isEmptyStringQuery () const
 

Private Member Functions

void deleteString ()
 
QueryCriteriaoperator= (const QueryCriteria &r)=delete
 

Private Attributes

union {
   double   mfVal
 
   const OUString *   mpStr
 
}; 
 
bool mbAlloc
 
bool mbString
 
QueryOp meOp
 

Detailed Description

Definition at line 59 of file lookupcache.hxx.

Constructor & Destructor Documentation

◆ QueryCriteria() [1/2]

ScLookupCache::QueryCriteria::QueryCriteria ( const ScQueryEntry rEntry)
explicit

◆ QueryCriteria() [2/2]

ScLookupCache::QueryCriteria::QueryCriteria ( const QueryCriteria r)

Definition at line 53 of file lookupcache.cxx.

References mbAlloc, mbString, and mpStr.

◆ ~QueryCriteria()

ScLookupCache::QueryCriteria::~QueryCriteria ( )

Definition at line 66 of file lookupcache.cxx.

Member Function Documentation

◆ deleteString()

void ScLookupCache::QueryCriteria::deleteString ( )
inlineprivate

Definition at line 70 of file lookupcache.hxx.

References mbAlloc, mbString, and mpStr.

Referenced by setDouble(), and setString().

◆ getQueryOp()

QueryOp ScLookupCache::QueryCriteria::getQueryOp ( ) const
inline

Definition at line 84 of file lookupcache.hxx.

References meOp.

Referenced by ScLookupCache::insert(), isEmptyStringQuery(), and ScLookupCache::lookup().

◆ isEmptyStringQuery()

bool ScLookupCache::QueryCriteria::isEmptyStringQuery ( ) const
inline

Definition at line 106 of file lookupcache.hxx.

References getQueryOp(), mbString, and mpStr.

Referenced by ScInterpreter::LookupQueryWithCache().

◆ operator=()

QueryCriteria & ScLookupCache::QueryCriteria::operator= ( const QueryCriteria r)
privatedelete

◆ operator==()

bool ScLookupCache::QueryCriteria::operator== ( const QueryCriteria r) const
inline

Definition at line 100 of file lookupcache.hxx.

References mbString, meOp, mfVal, and mpStr.

◆ setDouble()

void ScLookupCache::QueryCriteria::setDouble ( double  fVal)
inline

Definition at line 86 of file lookupcache.hxx.

References deleteString(), mbAlloc, mbString, and mfVal.

Referenced by QueryCriteria().

◆ setString()

void ScLookupCache::QueryCriteria::setString ( const OUString &  rStr)
inline

Definition at line 93 of file lookupcache.hxx.

References deleteString(), mbAlloc, mbString, and mpStr.

Referenced by QueryCriteria().

Member Data Documentation

◆ 

union { ... } ScLookupCache::QueryCriteria::@33

◆ mbAlloc

bool ScLookupCache::QueryCriteria::mbAlloc
private

Definition at line 66 of file lookupcache.hxx.

Referenced by deleteString(), QueryCriteria(), setDouble(), and setString().

◆ mbString

bool ScLookupCache::QueryCriteria::mbString
private

◆ meOp

QueryOp ScLookupCache::QueryCriteria::meOp
private

Definition at line 68 of file lookupcache.hxx.

Referenced by getQueryOp(), operator==(), and QueryCriteria().

◆ mfVal

double ScLookupCache::QueryCriteria::mfVal

Definition at line 63 of file lookupcache.hxx.

Referenced by operator==(), and setDouble().

◆ mpStr

const OUString* ScLookupCache::QueryCriteria::mpStr

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