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

Collection of user-defined sort lists. More...

#include <userlist.hxx>

Public Types

typedef DataType::iterator iterator
 
typedef DataType::const_iterator const_iterator
 

Public Member Functions

 ScUserList ()
 
 ScUserList (const ScUserList &r)
 
const ScUserListDataGetData (const OUString &rSubStr) const
 
bool HasEntry (const OUString &rStr) const
 If the list in rStr is already inserted. More...
 
const ScUserListDataoperator[] (size_t nIndex) const
 
ScUserListDataoperator[] (size_t nIndex)
 
ScUserListoperator= (const ScUserList &r)
 
bool operator== (const ScUserList &r) const
 
bool operator!= (const ScUserList &r) const
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
size_t size () const
 
void push_back (ScUserListData *p)
 
void erase (const iterator &itr)
 

Private Types

typedef std::vector< std::unique_ptr< ScUserListData > > DataType
 

Private Attributes

DataType maData
 

Detailed Description

Collection of user-defined sort lists.

Definition at line 66 of file userlist.hxx.

Member Typedef Documentation

typedef DataType::const_iterator ScUserList::const_iterator

Definition at line 72 of file userlist.hxx.

typedef std::vector< std::unique_ptr<ScUserListData> > ScUserList::DataType
private

Definition at line 68 of file userlist.hxx.

typedef DataType::iterator ScUserList::iterator

Definition at line 71 of file userlist.hxx.

Constructor & Destructor Documentation

ScUserList::ScUserList ( )
ScUserList::ScUserList ( const ScUserList r)

Definition at line 271 of file userlist.cxx.

References maData, and rData.

Member Function Documentation

ScUserList::iterator ScUserList::begin ( )

Definition at line 335 of file userlist.cxx.

References maData.

const_iterator ScUserList::begin ( ) const
void ScUserList::clear ( )

Definition at line 340 of file userlist.cxx.

References maData.

Referenced by lcl_SetSortList(), and ScSpreadsheetSettings::setPropertyValue().

void ScUserList::erase ( const iterator itr)

Definition at line 355 of file userlist.cxx.

References maData.

const ScUserListData * ScUserList::GetData ( const OUString &  rSubStr) const

Definition at line 277 of file userlist.cxx.

References maData, and nIndex.

Referenced by ScTable::FillAnalyse().

bool ScUserList::HasEntry ( const OUString &  rStr) const

If the list in rStr is already inserted.

Definition at line 328 of file userlist.cxx.

References maData, and pData.

Referenced by ScUserList().

bool ScUserList::operator!= ( const ScUserList r) const

Definition at line 323 of file userlist.cxx.

References operator==().

ScUserList & ScUserList::operator= ( const ScUserList r)

Definition at line 307 of file userlist.cxx.

References maData, and rData.

bool ScUserList::operator== ( const ScUserList r) const

Definition at line 315 of file userlist.cxx.

References maData.

Referenced by operator!=().

const ScUserListData & ScUserList::operator[] ( size_t  nIndex) const

Definition at line 297 of file userlist.cxx.

References maData.

ScUserListData & ScUserList::operator[] ( size_t  nIndex)

Definition at line 302 of file userlist.cxx.

References maData.

void ScUserList::push_back ( ScUserListData p)

Definition at line 350 of file userlist.cxx.

References maData.

Referenced by lcl_SetSortList(), and ScSpreadsheetSettings::setPropertyValue().

size_t ScUserList::size ( ) const

Member Data Documentation

DataType ScUserList::maData
private

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