LibreOffice Module sc (master) 1
|
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 ScDBData * | findAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion ePortion) const |
const ScDBData * | findByRange (const ScRange &rRange) const |
void | deleteOnTab (SCTAB nTab) |
ScDBData * | getByRange (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 | |
AnonDBs & | operator= (AnonDBs const &)=delete |
Private Attributes | |
DBsType | m_DBs |
Stores global anonymous database ranges.
Definition at line 284 of file dbdata.hxx.
typedef DBsType::const_iterator ScDBCollection::AnonDBs::const_iterator |
Definition at line 296 of file dbdata.hxx.
|
private |
Definition at line 286 of file dbdata.hxx.
typedef DBsType::iterator ScDBCollection::AnonDBs::iterator |
Definition at line 295 of file dbdata.hxx.
ScDBCollection::AnonDBs::AnonDBs | ( | ) |
Definition at line 1364 of file dbdata.cxx.
ScDBCollection::AnonDBs::AnonDBs | ( | AnonDBs const & | r | ) |
Definition at line 1368 of file dbdata.cxx.
References m_DBs.
ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::begin | ( | ) |
Definition at line 1283 of file dbdata.cxx.
Referenced by ScDBCollection::UpdateMoveTab(), ScDBCollection::UpdateReference(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
ScDBCollection::AnonDBs::const_iterator ScDBCollection::AnonDBs::begin | ( | ) | const |
Definition at line 1293 of file dbdata.cxx.
void ScDBCollection::AnonDBs::deleteOnTab | ( | SCTAB | nTab | ) |
Definition at line 1318 of file dbdata.cxx.
Referenced by ScDBCollection::DeleteOnTab().
bool ScDBCollection::AnonDBs::empty | ( | ) | const |
Definition at line 1349 of file dbdata.cxx.
Referenced by ScDBCollection::empty(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::end | ( | ) |
Definition at line 1288 of file dbdata.cxx.
Referenced by ScDBCollection::UpdateMoveTab(), ScDBCollection::UpdateReference(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
ScDBCollection::AnonDBs::const_iterator ScDBCollection::AnonDBs::end | ( | ) | const |
Definition at line 1298 of file dbdata.cxx.
ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::erase | ( | const iterator & | itr | ) |
Definition at line 1344 of file dbdata.cxx.
Referenced by ScDBCollection::UpdateReference().
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().
Definition at line 1311 of file dbdata.cxx.
Referenced by ScDBCollection::GetDBAtArea().
Definition at line 1324 of file dbdata.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), pData, ScAddress::Row(), STR_DB_GLOBAL_NONAME, and ScAddress::Tab().
Referenced by ScDocShell::GetAnonymousDBData().
bool ScDBCollection::AnonDBs::has | ( | const ScDBData * | p | ) | const |
void ScDBCollection::AnonDBs::insert | ( | ScDBData * | p | ) |
Definition at line 1339 of file dbdata.cxx.
References p.
Referenced by ScXMLDatabaseRangeContext::endFastElement().
bool ScDBCollection::AnonDBs::operator== | ( | const AnonDBs & | r | ) | const |
Definition at line 1359 of file dbdata.cxx.
References m_DBs.
|
private |
Definition at line 287 of file dbdata.hxx.
Referenced by AnonDBs(), and operator==().