This struct describes an attachment to be added to a CZI-file.
More...
#include <libCZI_Write.h>
|
GUID | contentGuid |
| Unique identifier for the content.
|
|
std::uint8_t | contentFileType [8] |
| The content file type.
|
|
std::uint8_t | name [80] |
| The attachment's name.
|
|
const void * | ptrData |
| Pointer to the attachment data.
|
|
std::uint32_t | dataSize |
| Size of the attachment data (in bytes).
|
|
This struct describes an attachment to be added to a CZI-file.
◆ SetContentFileType()
void libCZI::AddAttachmentInfo::SetContentFileType |
( |
const char * |
sz | ) |
|
|
inline |
Sets content file type. Note that the 'content file type' is a fixed-length string (of length 8), longer strings will be truncated.
- Parameters
-
sz | The 'content file type'-string. |
◆ SetName()
void libCZI::AddAttachmentInfo::SetName |
( |
const char * |
sz | ) |
|
|
inline |
Sets 'name' of the attachment. Note that the 'content file type' is a fixed-length string (of length 80), longer strings will be truncated.
- Parameters
-
The documentation for this struct was generated from the following file: