FileSetItem¶
-
class
kanzi::connect
::
FileSetItem
¶ Container for file (name + content)
Public Functions
-
FileSetItem
(const string &filename, const string &filecontent)¶ C++ constructor.
- Parameters
filename
: the name of the filefilecontent
: the contents of the file.
-
FileSetItem
(const string &filename, const unsigned char *blob, size_t length)¶ C++ constructor.
- Parameters
filename
: the name of the fileblob
: binary file content.length
: the size of blob.
-
FileSetItem
()¶ Default constructor.
-
const string &
getContent
() const¶ Access the contents.
- Return
the contents.
-
const string &
getFilename
() const¶ Access the filename.
- Return
the filename
-