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.
- Return
item
- Parameters
index
: the index
-
FileSet *
clone
()¶ Creates a duplicate of the fileset.
- Return
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.
- Return
the count items.
-
const FileSetItem &
get
(const string &filename)¶ Retrieves item with filename.
- Return
item
- Parameters
filename
: the item to retrieve.
-
void