|
| CollectionNode (StorageFactory *factory, ICell *parent, const std::string &id, collections::Collection< Item > *ref) |
|
virtual | ~CollectionNode () |
|
void | remove () |
|
void | addProperty (const std::string &key, const std::string value) |
|
std::string | getProperty (const std::string &key) |
|
collections::Collection< Item > * | getRef () |
|
| Cell (ICell *parent, const std::string &id) |
|
| ~Cell () |
|
ICell * | getParent () const |
|
const std::string & | getId () const |
|
std::string | getFullId (char sep='.') const |
|
void | setCompressLevel (int level) |
|
int | getCompressLevel () const |
|
virtual | ~ICell () |
|
virtual | ~ISmartPointer () |
|
void | use () |
|
void | forget () |
|
| 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 |
|
template<typename Functor > |
void | iterate (Functor f) |
|
template<class Item>
class gatb::core::tools::storage::impl::CollectionNode< Item >
Class that add some features to the Collection interface.
The CollectionNode has two aspects:
- this is a Collection
- this is a Node
The idea was not to have a Collection interface extending the INode interface => we introduce the CollectionNode for this.