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

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

Definition at line 53 of file lookupcache.cxx.

References false, mbAlloc, mbString, and mpStr.

ScLookupCache::QueryCriteria::~QueryCriteria ( )

Definition at line 66 of file lookupcache.cxx.

Member Function Documentation

void ScLookupCache::QueryCriteria::deleteString ( )

Definition at line 70 of file lookupcache.hxx.

References mpStr.

Referenced by setDouble(), and setString().

QueryOp ScLookupCache::QueryCriteria::getQueryOp ( ) const

Definition at line 84 of file lookupcache.hxx.

References meOp.

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

bool ScLookupCache::QueryCriteria::isEmptyStringQuery ( ) const

Definition at line 106 of file lookupcache.hxx.

References getQueryOp(), and mpStr.

Referenced by ScInterpreter::LookupQueryWithCache().

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

Definition at line 100 of file lookupcache.hxx.

References mbString, meOp, mfVal, and mpStr.

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

Definition at line 86 of file lookupcache.hxx.

References deleteString(), and mfVal.

Referenced by QueryCriteria().

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

Definition at line 93 of file lookupcache.hxx.

References deleteString(), and mpStr.

Referenced by QueryCriteria().

Member Data Documentation

union { ... }
bool ScLookupCache::QueryCriteria::mbAlloc

Definition at line 66 of file lookupcache.hxx.

Referenced by QueryCriteria().

bool ScLookupCache::QueryCriteria::mbString

Definition at line 67 of file lookupcache.hxx.

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

QueryOp ScLookupCache::QueryCriteria::meOp

Definition at line 68 of file lookupcache.hxx.

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

double ScLookupCache::QueryCriteria::mfVal

Definition at line 63 of file lookupcache.hxx.

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

const OUString* ScLookupCache::QueryCriteria::mpStr

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