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

Stores global anonymous database ranges. More...

#include <dbdata.hxx>

Public Types

typedef DBsType::iterator iterator
 
typedef DBsType::const_iterator const_iterator
 

Public Member Functions

 AnonDBs ()
 
 AnonDBs (AnonDBs const &)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const ScDBDatafindAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion) const
 
const ScDBDatafindByRange (const ScRange &rRange) const
 
void deleteOnTab (SCTAB nTab)
 
ScDBDatagetByRange (const ScRange &rRange)
 
void insert (ScDBData *p)
 
iterator erase (const iterator &itr)
 
bool empty () const
 
bool has (const ScDBData *p) const
 
bool operator== (const AnonDBs &r) const
 

Private Types

typedef ::std::vector< std::unique_ptr< ScDBData > > DBsType
 

Private Member Functions

AnonDBsoperator= (AnonDBs const &)=delete
 

Private Attributes

DBsType m_DBs
 

Detailed Description

Stores global anonymous database ranges.

Definition at line 284 of file dbdata.hxx.

Member Typedef Documentation

◆ const_iterator

typedef DBsType::const_iterator ScDBCollection::AnonDBs::const_iterator

Definition at line 296 of file dbdata.hxx.

◆ DBsType

typedef ::std::vector<std::unique_ptr<ScDBData> > ScDBCollection::AnonDBs::DBsType
private

Definition at line 286 of file dbdata.hxx.

◆ iterator

typedef DBsType::iterator ScDBCollection::AnonDBs::iterator

Definition at line 295 of file dbdata.hxx.

Constructor & Destructor Documentation

◆ AnonDBs() [1/2]

ScDBCollection::AnonDBs::AnonDBs ( )

Definition at line 1364 of file dbdata.cxx.

◆ AnonDBs() [2/2]

ScDBCollection::AnonDBs::AnonDBs ( AnonDBs const &  r)

Definition at line 1368 of file dbdata.cxx.

References m_DBs.

Member Function Documentation

◆ begin() [1/2]

ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::begin ( )

◆ begin() [2/2]

ScDBCollection::AnonDBs::const_iterator ScDBCollection::AnonDBs::begin ( ) const

Definition at line 1293 of file dbdata.cxx.

◆ deleteOnTab()

void ScDBCollection::AnonDBs::deleteOnTab ( SCTAB  nTab)

Definition at line 1318 of file dbdata.cxx.

Referenced by ScDBCollection::DeleteOnTab().

◆ empty()

bool ScDBCollection::AnonDBs::empty ( ) const

◆ end() [1/2]

ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::end ( )

◆ end() [2/2]

ScDBCollection::AnonDBs::const_iterator ScDBCollection::AnonDBs::end ( ) const

Definition at line 1298 of file dbdata.cxx.

◆ erase()

ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::erase ( const iterator itr)

Definition at line 1344 of file dbdata.cxx.

Referenced by ScDBCollection::UpdateReference().

◆ findAtCursor()

const ScDBData * ScDBCollection::AnonDBs::findAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScDBDataPortion  ePortion 
) const

Definition at line 1303 of file dbdata.cxx.

Referenced by ScDBCollection::GetDBAtCursor().

◆ findByRange()

const ScDBData * ScDBCollection::AnonDBs::findByRange ( const ScRange rRange) const

Definition at line 1311 of file dbdata.cxx.

Referenced by ScDBCollection::GetDBAtArea().

◆ getByRange()

ScDBData * ScDBCollection::AnonDBs::getByRange ( const ScRange rRange)

◆ has()

bool ScDBCollection::AnonDBs::has ( const ScDBData p) const

Definition at line 1354 of file dbdata.cxx.

References p.

Referenced by ScDBDocFunc::Sort().

◆ insert()

void ScDBCollection::AnonDBs::insert ( ScDBData p)

Definition at line 1339 of file dbdata.cxx.

References p.

Referenced by ScXMLDatabaseRangeContext::endFastElement().

◆ operator=()

AnonDBs & ScDBCollection::AnonDBs::operator= ( AnonDBs const &  )
privatedelete

◆ operator==()

bool ScDBCollection::AnonDBs::operator== ( const AnonDBs r) const

Definition at line 1359 of file dbdata.cxx.

References m_DBs.

Member Data Documentation

◆ m_DBs

DBsType ScDBCollection::AnonDBs::m_DBs
private

Definition at line 287 of file dbdata.hxx.

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


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