libdballe
9.11
|
Binary message. More...
#include <file.h>
Public Member Functions | |
BinaryMessage (Encoding encoding) | |
BinaryMessage (const BinaryMessage &)=default | |
BinaryMessage (BinaryMessage &&)=default | |
BinaryMessage & | operator= (const BinaryMessage &)=default |
BinaryMessage & | operator= (BinaryMessage &&)=default |
operator bool () const | |
Return true if the message is not empty. | |
Public Attributes | |
Encoding | encoding |
Format of the binary data. | |
std::string | data |
Binary message data. | |
std::string | pathname |
Pathname of the file from where the BinaryMessage has been read. More... | |
off_t | offset = (off_t)-1 |
Start offset of this message inside the file. | |
int | index = MISSING_INT |
Index of the message from the beginning of the file. | |
Binary message.
std::string dballe::BinaryMessage::pathname |
Pathname of the file from where the BinaryMessage has been read.
It can be empty when not applicable, such as when the message is created from scratch and not yet written