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 (std::u16string_view 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

◆ const_iterator

typedef DataType::const_iterator ScUserList::const_iterator

Definition at line 73 of file userlist.hxx.

◆ DataType

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

Definition at line 68 of file userlist.hxx.

◆ iterator

typedef DataType::iterator ScUserList::iterator

Definition at line 72 of file userlist.hxx.

Constructor & Destructor Documentation

◆ ScUserList() [1/2]

ScUserList::ScUserList ( )

◆ ScUserList() [2/2]

ScUserList::ScUserList ( const ScUserList r)

Definition at line 272 of file userlist.cxx.

References maData.

Member Function Documentation

◆ begin() [1/2]

ScUserList::iterator ScUserList::begin ( )

Definition at line 336 of file userlist.cxx.

References maData.

◆ begin() [2/2]

const_iterator ScUserList::begin ( ) const

References size.

◆ clear()

void ScUserList::clear ( )

Definition at line 341 of file userlist.cxx.

References maData.

Referenced by ScSpreadsheetSettings::setPropertyValue().

◆ erase()

void ScUserList::erase ( const iterator itr)

Definition at line 356 of file userlist.cxx.

References maData.

◆ GetData()

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

Definition at line 278 of file userlist.cxx.

References maData, and nIndex.

Referenced by ScTable::FillAnalyse().

◆ HasEntry()

bool ScUserList::HasEntry ( std::u16string_view  rStr) const

If the list in rStr is already inserted.

Definition at line 329 of file userlist.cxx.

References maData, and pData.

Referenced by ScUserList().

◆ operator!=()

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

Definition at line 324 of file userlist.cxx.

References operator==().

◆ operator=()

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

Definition at line 308 of file userlist.cxx.

References maData.

◆ operator==()

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

Definition at line 316 of file userlist.cxx.

References maData.

Referenced by operator!=().

◆ operator[]() [1/2]

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

Definition at line 303 of file userlist.cxx.

References maData, and nIndex.

◆ operator[]() [2/2]

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

Definition at line 298 of file userlist.cxx.

References maData, and nIndex.

◆ push_back()

void ScUserList::push_back ( ScUserListData p)

◆ size()

size_t ScUserList::size ( ) const

Member Data Documentation

◆ maData

DataType ScUserList::maData
private

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