Container for set of file items.
More...
#include <fileset.hpp>
|
void | add (const FileSetItem &item) |
| Inserts a new item.
|
|
const FileSetItem & | at (size_t index) const |
| Retrieves item at specifiec index.
|
|
FileSet * | clone () |
| Creates a duplicate of the fileset.
|
|
bool | contains (const string &filename) |
| Check whether contains an file with the specified name.
|
|
size_t | count () const |
| Return amount of items held.
|
|
const FileSetItem & | get (const string &filename) |
| Retrieves item with filename.
|
|
Container for set of file items.
◆ add()
void kanzi::connect::FileSet::add |
( |
const FileSetItem & | item | ) |
|
Inserts a new item.
- Parameters
-
◆ at()
const FileSetItem & kanzi::connect::FileSet::at |
( |
size_t | index | ) |
const |
Retrieves item at specifiec index.
- Parameters
-
- Returns
- item
◆ clone()
FileSet * kanzi::connect::FileSet::clone |
( |
| ) |
|
Creates a duplicate of the fileset.
- Returns
- newly allocated fileset with exactly same content. ownership transfers.
◆ contains()
bool kanzi::connect::FileSet::contains |
( |
const string & | filename | ) |
|
Check whether contains an file with the specified name.
- Parameters
-
filename | the name to be checked. |
◆ count()
size_t kanzi::connect::FileSet::count |
( |
| ) |
const |
Return amount of items held.
- Returns
- the count items.
◆ get()
const FileSetItem & kanzi::connect::FileSet::get |
( |
const string & | filename | ) |
|
Retrieves item with filename.
- Parameters
-
filename | the item to retrieve. |
- Returns
- item
The documentation for this class was generated from the following file: