Torc  0.1
Macros | Functions
torcplist.cpp File Reference
#include <QtEndian>
#include <QDateTime>
#include <QTextStream>
#include <QTextCodec>
#include <QBuffer>
#include <QUuid>
#include "torclogging.h"
#include "torcplist.h"
Include dependency graph for torcplist.cpp:

Go to the source code of this file.

Macros

#define MAGIC   QByteArray("bplist")
 
#define VERSION   QByteArray("00")
 
#define MAGIC_SIZE   6
 
#define VERSION_SIZE   2
 
#define TRAILER_SIZE   26
 
#define MIN_SIZE   (MAGIC_SIZE + VERSION_SIZE + TRAILER_SIZE)
 
#define TRAILER_OFFSIZE_INDEX   0
 
#define TRAILER_PARMSIZE_INDEX   1
 
#define TRAILER_NUMOBJ_INDEX   2
 
#define TRAILER_ROOTOBJ_INDEX   10
 
#define TRAILER_OFFTAB_INDEX   18
 

Functions

static void convert_float (quint8 *p, quint8 s)
 

Macro Definition Documentation

#define MAGIC   QByteArray("bplist")

Definition at line 32 of file torcplist.cpp.

#define MAGIC_SIZE   6

Definition at line 34 of file torcplist.cpp.

#define MIN_SIZE   (MAGIC_SIZE + VERSION_SIZE + TRAILER_SIZE)

Definition at line 37 of file torcplist.cpp.

#define TRAILER_NUMOBJ_INDEX   2

Definition at line 40 of file torcplist.cpp.

#define TRAILER_OFFSIZE_INDEX   0

Definition at line 38 of file torcplist.cpp.

#define TRAILER_OFFTAB_INDEX   18

Definition at line 42 of file torcplist.cpp.

#define TRAILER_PARMSIZE_INDEX   1

Definition at line 39 of file torcplist.cpp.

#define TRAILER_ROOTOBJ_INDEX   10

Definition at line 41 of file torcplist.cpp.

#define TRAILER_SIZE   26

Definition at line 36 of file torcplist.cpp.

#define VERSION   QByteArray("00")

Definition at line 33 of file torcplist.cpp.

#define VERSION_SIZE   2

Definition at line 35 of file torcplist.cpp.

Function Documentation

static void convert_float ( quint8 *  p,
quint8  s 
)
static

Definition at line 45 of file torcplist.cpp.