LibreOffice Module sc (master)  1
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
ScTypedStrData Class Reference

#include <typedstrdata.hxx>

Classes

struct  EqualCaseInsensitive
 
struct  EqualCaseSensitive
 
struct  LessCaseInsensitive
 
struct  LessCaseSensitive
 

Public Types

enum  StringType {
  Value = 0,
  Standard = 1,
  Name = 2,
  DbName = 3,
  Header = 4
}
 

Public Member Functions

 ScTypedStrData (const OUString &rStr, double nVal=0.0, StringType eType=Standard, bool bDate=false)
 
bool IsDate () const
 
const OUString & GetString () const
 
StringType GetStringType () const
 
double GetValue () const
 
bool operator< (const ScTypedStrData &r) const
 

Private Attributes

OUString maStrValue
 
double mfValue
 
StringType meStrType
 
bool mbIsDate
 

Detailed Description

Definition at line 17 of file typedstrdata.hxx.

Member Enumeration Documentation

Enumerator
Value 
Standard 
Name 
DbName 
Header 

Definition at line 20 of file typedstrdata.hxx.

Constructor & Destructor Documentation

ScTypedStrData::ScTypedStrData ( const OUString &  rStr,
double  nVal = 0.0,
StringType  eType = Standard,
bool  bDate = false 
)

Definition at line 81 of file typedstrdata.cxx.

Member Function Documentation

const OUString& ScTypedStrData::GetString ( ) const
inline

Definition at line 32 of file typedstrdata.hxx.

References maStrValue.

Referenced by ScInputHandler::PasteFunctionData(), and ScFilterDlg::UpdateHdrInValueList().

StringType ScTypedStrData::GetStringType ( ) const
inline

Definition at line 33 of file typedstrdata.hxx.

References meStrType.

double ScTypedStrData::GetValue ( ) const
inline

Definition at line 34 of file typedstrdata.hxx.

References mfValue.

bool ScTypedStrData::IsDate ( ) const
inline

Definition at line 31 of file typedstrdata.hxx.

References mbIsDate.

bool ScTypedStrData::operator< ( const ScTypedStrData r) const

Definition at line 75 of file typedstrdata.cxx.

Member Data Documentation

OUString ScTypedStrData::maStrValue
private
bool ScTypedStrData::mbIsDate
private
StringType ScTypedStrData::meStrType
private
double ScTypedStrData::mfValue
private

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