Collection interface.
More...
#include <CollectionHDF5.hpp>
|
| CollectionHDF5 (hid_t fileId, const std::string &filename, system::ISynchronizer *synchro) |
|
virtual | ~CollectionHDF5 () |
|
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::CollectionHDF5< Item >
Collection interface.
void addProperty |
( |
const std::string & |
key, |
|
|
const std::string |
value |
|
) |
| |
|
inlinevirtual |
Add a property to the collection.
- Parameters
-
[in] | key | : key of the property |
[in] | value | : value of the property. |
Reimplemented from CollectionAbstract< Item >.
std::string getProperty |
( |
const std::string & |
key | ) |
|
|
inlinevirtual |
Retrieve a property for a given key
- Parameters
-
[in] | key | : key of the property to be retrieved |
- Returns
- the value of the property.
Reimplemented from CollectionAbstract< Item >.
The documentation for this class was generated from the following file:
- /builds/workspace/publish-doc-api-gitlab/gatb-core/src/gatb/tools/storage/impl/CollectionHDF5.hpp