|
| CollectionFile (const std::string &filename, size_t cacheItemsNb=10000) |
|
virtual | ~CollectionFile () |
|
void | remove () |
|
void | addProperty (const std::string &key, const std::string value) |
|
std::string | getProperty (const std::string &key) |
|
| CollectionAbstract (Bag< Item > *bag, Iterable< Item > *iterable) |
|
virtual | ~CollectionAbstract () |
|
Bag< Item > * | bag () |
|
Iterable< Item > * | iterable () |
|
dp::Iterator< Item > * | iterator () |
|
int64_t | getNbItems () |
|
int64_t | estimateNbItems () |
|
Item * | getItems (Item *&buffer) |
|
size_t | getItems (Item *&buffer, size_t start, size_t nb) |
|
void | insert (const Item &item) |
|
void | insert (const std::vector< Item > &items, size_t length) |
|
void | insert (const Item *items, size_t length) |
|
void | flush () |
|
void | addProperty (const std::string &key, const char *format...) |
|
virtual | ~Collection () |
|
virtual void | addProperty (const std::string &key, const char *format,...)=0 |
|
virtual | ~ISmartPointer () |
|
template<typename Functor > |
void | iterate (Functor f) |
|
void | use () |
|
void | forget () |
|
template<class Item>
class gatb::core::tools::storage::impl::CollectionFile< Item >
Implementation of the Collection interface with a file.
This implementation reads/writes Item objects in a file.