Classes | |
class | IDCompare |
struct | ItemInfo |
class | OriginIDCompare |
Public Types | |
enum | Index { INDEX_ID, INDEX_ORIGIN, INDEXES } |
typedef std::vector< ItemInfo > | ItemInfos |
typedef nsID const &(* | IDExtractorFunc )(ItemInfos::const_iterator) |
typedef sbIndex< nsID, ItemInfos::iterator, IDCompare > | IDIndex |
typedef sbIndex< nsID, ItemInfos::iterator, OriginIDCompare > | OriginIDIndex |
typedef ItemInfos::const_iterator | const_iterator |
typedef ItemInfos::iterator | iterator |
typedef IDIndex::const_iterator | ConstIDIterator |
typedef IDIndex::iterator | IDIterator |
typedef IDIndex::const_iterator | ConstOriginIterator |
typedef IDIndex::iterator | OriginIterator |
Public Member Functions | |
sbLDBDSEnumerator () | |
void | Sort () |
IDIterator | FindByID (nsID const &aID) |
ConstIDIterator | FindByID (nsID const &aID) const |
OriginIterator | FindByOrigin (nsID const &aID) |
ConstOriginIterator | FindByOrigin (nsID const &aID) const |
const_iterator | begin () const |
iterator | begin () |
const_iterator | end () const |
iterator | end () |
ConstIDIterator | IDBegin () const |
IDIterator | IDBegin () |
ConstIDIterator | IDEnd () const |
IDIterator | IDEnd () |
ConstOriginIterator | OriginBegin () const |
OriginIterator | OriginBegin () |
ConstOriginIterator | OriginEnd () const |
OriginIterator | OriginEnd () |
Public Member Functions inherited from sbIMediaListEnumerationListener | |
unsigned short | onEnumerationBegin (in sbIMediaList aMediaList) |
Called when enumeration is about to begin. More... | |
unsigned short | onEnumeratedItem (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem) |
Called once for each item in the enumeration. More... | |
void | onEnumerationEnd (in sbIMediaList aMediaList, in nsresult aStatusCode) |
Called when enumeration has completed. More... | |
Static Public Member Functions | |
static bool | lessThan (nsID const &aLeftID, nsID const &aRightID) |
Protected Member Functions | |
~sbLDBDSEnumerator () | |
Additional Inherited Members | |
Public Attributes inherited from sbIMediaListEnumerationListener | |
const unsigned short | CONTINUE = 0 |
const unsigned short | CANCEL = 1 |
This class serves to enumerate and collect the ID and origin ID of items
Definition at line 150 of file sbLocalDatabaseDiffingService.cpp.
typedef ItemInfos::const_iterator sbLDBDSEnumerator::const_iterator |
Definition at line 296 of file sbLocalDatabaseDiffingService.cpp.
Definition at line 298 of file sbLocalDatabaseDiffingService.cpp.
Definition at line 300 of file sbLocalDatabaseDiffingService.cpp.
typedef nsID const&(* sbLDBDSEnumerator::IDExtractorFunc)(ItemInfos::const_iterator) |
Definition at line 222 of file sbLocalDatabaseDiffingService.cpp.
typedef sbIndex<nsID, ItemInfos::iterator, IDCompare> sbLDBDSEnumerator::IDIndex |
Definition at line 223 of file sbLocalDatabaseDiffingService.cpp.
Definition at line 299 of file sbLocalDatabaseDiffingService.cpp.
typedef std::vector<ItemInfo> sbLDBDSEnumerator::ItemInfos |
Definition at line 217 of file sbLocalDatabaseDiffingService.cpp.
typedef ItemInfos::iterator sbLDBDSEnumerator::iterator |
Definition at line 297 of file sbLocalDatabaseDiffingService.cpp.
typedef sbIndex<nsID, ItemInfos::iterator, OriginIDCompare> sbLDBDSEnumerator::OriginIDIndex |
Definition at line 224 of file sbLocalDatabaseDiffingService.cpp.
Definition at line 301 of file sbLocalDatabaseDiffingService.cpp.
Enumerator | |
---|---|
INDEX_ID | |
INDEX_ORIGIN | |
INDEXES |
Definition at line 291 of file sbLocalDatabaseDiffingService.cpp.
sbLDBDSEnumerator::sbLDBDSEnumerator | ( | ) |
|
protected |
Definition at line 395 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 324 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 328 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 332 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 336 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 312 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 315 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 318 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 321 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 341 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 345 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 349 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 353 of file sbLocalDatabaseDiffingService.cpp.
|
inlinestatic |
Definition at line 181 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 358 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 362 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 366 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 370 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 305 of file sbLocalDatabaseDiffingService.cpp.