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) |
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 275 of file dbdata.hxx.
typedef DBsType::const_iterator ScDBCollection::AnonDBs::const_iterator |
Definition at line 287 of file dbdata.hxx.
|
private |
Definition at line 277 of file dbdata.hxx.
typedef DBsType::iterator ScDBCollection::AnonDBs::iterator |
Definition at line 286 of file dbdata.hxx.
ScDBCollection::AnonDBs::AnonDBs | ( | ) |
Definition at line 1279 of file dbdata.cxx.
ScDBCollection::AnonDBs::AnonDBs | ( | AnonDBs const & | r | ) |
Definition at line 1283 of file dbdata.cxx.
References m_DBs.
ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::begin | ( | ) |
Definition at line 1203 of file dbdata.cxx.
Referenced by ScDBCollection::UpdateMoveTab(), ScDBCollection::UpdateReference(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
ScDBCollection::AnonDBs::const_iterator ScDBCollection::AnonDBs::begin | ( | ) | const |
Definition at line 1213 of file dbdata.cxx.
Definition at line 1238 of file dbdata.cxx.
Referenced by ScDBCollection::DeleteOnTab().
bool ScDBCollection::AnonDBs::empty | ( | ) | const |
Definition at line 1264 of file dbdata.cxx.
Referenced by ScDBCollection::empty(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
ScDBCollection::AnonDBs::iterator ScDBCollection::AnonDBs::end | ( | ) |
Definition at line 1208 of file dbdata.cxx.
Referenced by ScDBCollection::UpdateMoveTab(), ScDBCollection::UpdateReference(), and ScXMLExportDatabaseRanges::WriteDatabaseRanges().
ScDBCollection::AnonDBs::const_iterator ScDBCollection::AnonDBs::end | ( | ) | const |
Definition at line 1218 of file dbdata.cxx.
const ScDBData * ScDBCollection::AnonDBs::findAtCursor | ( | SCCOL | nCol, |
SCROW | nRow, | ||
SCTAB | nTab, | ||
ScDBDataPortion | ePortion | ||
) | const |
Definition at line 1223 of file dbdata.cxx.
Referenced by ScDBCollection::GetDBAtCursor().
Definition at line 1231 of file dbdata.cxx.
Referenced by ScDBCollection::GetDBAtArea().
Definition at line 1244 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 |
Definition at line 1269 of file dbdata.cxx.
Referenced by ScDBDocFunc::Sort().
Definition at line 1259 of file dbdata.cxx.
Referenced by ScXMLDatabaseRangeContext::endFastElement().
bool ScDBCollection::AnonDBs::operator== | ( | const AnonDBs & | r | ) | const |
Definition at line 1274 of file dbdata.cxx.
References m_DBs.
|
private |
Definition at line 278 of file dbdata.hxx.
Referenced by AnonDBs(), and operator==().