FileSet¶
-
class
kanzi::connect
::
FileSet
¶ Container for set of file items.
Public Functions
-
void
add
(const FileSetItem &item)¶ Inserts a new item.
- Parameters
item – to be inserted.
-
const FileSetItem &
at
(size_t index) const¶ Retrieves item at specifiec index.
- Parameters
index – the index
- Returns
item
-
FileSet *
clone
()¶ Creates a duplicate of the fileset.
- Returns
newly allocated fileset with exactly same content. ownership transfers.
-
bool
contains
(const string &filename)¶ Check whether contains an file with the specified name.
- Parameters
filename – the name to be checked.
-
size_t
count
() const¶ Return amount of items held.
- Returns
the count items.
-
const FileSetItem &
get
(const string &filename)¶ Retrieves item with filename.
- Parameters
filename – the item to retrieve.
- Returns
item
-
void