|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Metadata for one binary attachment chunk inside a JSONM container. More...
#include <NetworkProtocols.h>
Public Member Functions | |
| std::string | getInfoString () |
| std::string | toJSON () |
Public Attributes | |
| uint32 | chunk |
| Chunk index within the container (1-based). | |
| uint64 | size |
| Attachment size in bytes. | |
| uint64 | offset |
| Byte offset of the attachment within the container data. | |
| std::string | name |
| Attachment name. | |
| std::string | type |
| MIME type of the attachment. | |
Metadata for one binary attachment chunk inside a JSONM container.
Definition at line 326 of file NetworkProtocols.h.
|
inline |
Definition at line 333 of file NetworkProtocols.h.
References cmlabs::utils::BytifySize(), chunk, name, offset, size, cmlabs::utils::StringFormat(), and type.
|
inline |
Definition at line 338 of file NetworkProtocols.h.
References name, size, cmlabs::utils::StringFormat(), and type.
| uint32 cmlabs::JSONMEntry::chunk |
Chunk index within the container (1-based).
Definition at line 327 of file NetworkProtocols.h.
Referenced by cmlabs::JSONM::addData(), and getInfoString().
| std::string cmlabs::JSONMEntry::name |
Attachment name.
Definition at line 330 of file NetworkProtocols.h.
Referenced by cmlabs::JSONM::addData(), getInfoString(), and toJSON().
| uint64 cmlabs::JSONMEntry::offset |
Byte offset of the attachment within the container data.
Definition at line 329 of file NetworkProtocols.h.
Referenced by cmlabs::JSONM::addData(), and getInfoString().
| uint64 cmlabs::JSONMEntry::size |
Attachment size in bytes.
Definition at line 328 of file NetworkProtocols.h.
Referenced by cmlabs::JSONM::addData(), getInfoString(), and toJSON().
| std::string cmlabs::JSONMEntry::type |
MIME type of the attachment.
Definition at line 331 of file NetworkProtocols.h.
Referenced by cmlabs::JSONM::addData(), getInfoString(), and toJSON().