libdballe  7.19
Public Member Functions | Public Attributes | List of all members
dballe::BinaryMessage Struct Reference

Binary message. More...

#include <file.h>

Public Member Functions

 BinaryMessage (File::Encoding encoding)
 
 operator bool () const
 Return true if the message is not empty.
 

Public Attributes

File::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.
 

Detailed Description

Binary message.

Member Data Documentation

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


The documentation for this struct was generated from the following file: