MythTV
master
|
#include <array>
#include <cmath>
#include <limits>
#include <QtGlobal>
#include <QtEndian>
#include <QDateTime>
#include <QSequentialIterable>
#include <QTextStream>
#include <QBuffer>
#include "mythlogging.h"
#include "mythbinaryplist.h"
Go to the source code of this file.
Macros | |
#define | LOC QString("PList: ") |
Enumerations | |
enum | { BPLIST_NULL = 0x00, BPLIST_FALSE = 0x08, BPLIST_TRUE = 0x09, BPLIST_FILL = 0x0F, BPLIST_UINT = 0x10, BPLIST_REAL = 0x20, BPLIST_DATE = 0x30, BPLIST_DATA = 0x40, BPLIST_STRING = 0x50, BPLIST_UNICODE = 0x60, BPLIST_UID = 0x70, BPLIST_ARRAY = 0xA0, BPLIST_SET = 0xC0, BPLIST_DICT = 0xD0 } |
Functions | |
template<typename T > | |
static T | convert_float (const uint8_t *p) |
Variables | |
static const QByteArray | MAGIC { "bplist" } |
static const QByteArray | VERSION { "00" } |
static constexpr ssize_t | MAGIC_SIZE { 6 } |
static constexpr ssize_t | VERSION_SIZE { 2 } |
static constexpr ssize_t | TRAILER_SIZE { 26 } |
static constexpr ssize_t | MIN_SIZE { MAGIC_SIZE + VERSION_SIZE + TRAILER_SIZE} |
static constexpr uint8_t | TRAILER_OFFSIZE_INDEX { 0 } |
static constexpr uint8_t | TRAILER_PARMSIZE_INDEX { 1 } |
static constexpr uint8_t | TRAILER_NUMOBJ_INDEX { 2 } |
static constexpr uint8_t | TRAILER_ROOTOBJ_INDEX { 10 } |
static constexpr uint8_t | TRAILER_OFFTAB_INDEX { 18 } |
static constexpr uint64_t | CORE_DATA_EPOCH { 978307200 } |
#define LOC QString("PList: ") |
Definition at line 49 of file mythbinaryplist.cpp.
anonymous enum |
Enumerator | |
---|---|
BPLIST_NULL | |
BPLIST_FALSE | |
BPLIST_TRUE | |
BPLIST_FILL | |
BPLIST_UINT | |
BPLIST_REAL | |
BPLIST_DATE | |
BPLIST_DATA | |
BPLIST_STRING | |
BPLIST_UNICODE | |
BPLIST_UID | |
BPLIST_ARRAY | |
BPLIST_SET | |
BPLIST_DICT |
Definition at line 73 of file mythbinaryplist.cpp.
|
static |
Definition at line 92 of file mythbinaryplist.cpp.
|
static |
Definition at line 51 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
static |
Definition at line 52 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 59 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 60 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 61 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 62 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 64 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 65 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 66 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 67 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 68 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryPList().
|
staticconstexpr |
Definition at line 71 of file mythbinaryplist.cpp.
Referenced by MythBinaryPList::ParseBinaryDate().