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 60 of file lookupcache.hxx.

Constructor & Destructor Documentation

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

Definition at line 53 of file lookupcache.cxx.

References mbAlloc, mbString, and mpStr.

ScLookupCache::QueryCriteria::~QueryCriteria ( )

Definition at line 66 of file lookupcache.cxx.

Member Function Documentation

void ScLookupCache::QueryCriteria::deleteString ( )
inlineprivate

Definition at line 71 of file lookupcache.hxx.

References mpStr.

Referenced by setDouble(), and setString().

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

Definition at line 85 of file lookupcache.hxx.

References meOp.

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

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

Definition at line 107 of file lookupcache.hxx.

References getQueryOp(), and mpStr.

Referenced by ScInterpreter::LookupQueryWithCache().

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

Definition at line 101 of file lookupcache.hxx.

References mbString, meOp, mfVal, and mpStr.

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

Definition at line 87 of file lookupcache.hxx.

References deleteString(), and mfVal.

Referenced by QueryCriteria().

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

Definition at line 94 of file lookupcache.hxx.

References deleteString(), and mpStr.

Referenced by QueryCriteria().

Member Data Documentation

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

Definition at line 67 of file lookupcache.hxx.

Referenced by QueryCriteria().

bool ScLookupCache::QueryCriteria::mbString
private

Definition at line 68 of file lookupcache.hxx.

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

QueryOp ScLookupCache::QueryCriteria::meOp
private

Definition at line 69 of file lookupcache.hxx.

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

double ScLookupCache::QueryCriteria::mfVal

Definition at line 64 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: