Container for file (name + content)
More...
#include <fileset.hpp>
|
| FileSetItem () |
| Default constructor.
|
|
| FileSetItem (const string &filename, const string &filecontent) |
| C++ constructor.
|
|
| FileSetItem (const string &filename, const unsigned char *blob, size_t length) |
| C++ constructor.
|
|
const string & | getContent () const |
| Access the contents.
|
|
const string & | getFilename () const |
| Access the filename.
|
|
Container for file (name + content)
◆ FileSetItem() [1/3]
kanzi::connect::FileSetItem::FileSetItem |
( |
const string & | filename, |
|
|
const string & | filecontent ) |
C++ constructor.
- Parameters
-
filename | the name of the file |
filecontent | the contents of the file. |
◆ FileSetItem() [2/3]
kanzi::connect::FileSetItem::FileSetItem |
( |
const string & | filename, |
|
|
const unsigned char * | blob, |
|
|
size_t | length ) |
C++ constructor.
- Parameters
-
filename | the name of the file |
blob | binary file content. |
length | the size of blob. |
◆ FileSetItem() [3/3]
kanzi::connect::FileSetItem::FileSetItem |
( |
| ) |
|
|
inline |
◆ getContent()
const string & kanzi::connect::FileSetItem::getContent |
( |
| ) |
const |
Access the contents.
- Returns
- the contents.
◆ getFilename()
const string & kanzi::connect::FileSetItem::getFilename |
( |
| ) |
const |
Access the filename.
- Returns
- the filename
The documentation for this class was generated from the following file: