#include <SkDescriptor.h>
Classes | |
struct | Entry |
Public Member Functions | |
void | init () |
uint32_t | getLength () const |
void * | addEntry (uint32_t tag, uint32_t length, const void *data=NULL) |
void | computeChecksum () |
const void * | findEntry (uint32_t tag, uint32_t *length) const |
SkDescriptor * | copy () const |
bool | equals (const SkDescriptor &other) const |
Static Public Member Functions | |
static size_t | ComputeOverhead (int entryCount) |
static SkDescriptor * | Alloc (size_t length) |
static void | Free (SkDescriptor *desc) |
Definition at line 22 of file SkDescriptor.h.
void* SkDescriptor::addEntry | ( | uint32_t | tag, | |
uint32_t | length, | |||
const void * | data = NULL | |||
) | [inline] |
Definition at line 50 of file SkDescriptor.h.
static SkDescriptor* SkDescriptor::Alloc | ( | size_t | length | ) | [inline, static] |
Definition at line 30 of file SkDescriptor.h.
void SkDescriptor::computeChecksum | ( | ) | [inline] |
Definition at line 67 of file SkDescriptor.h.
static size_t SkDescriptor::ComputeOverhead | ( | int | entryCount | ) | [inline, static] |
Definition at line 24 of file SkDescriptor.h.
SkDescriptor* SkDescriptor::copy | ( | ) | const [inline] |
Definition at line 97 of file SkDescriptor.h.
bool SkDescriptor::equals | ( | const SkDescriptor & | other | ) | const [inline] |
Definition at line 104 of file SkDescriptor.h.
const void* SkDescriptor::findEntry | ( | uint32_t | tag, | |
uint32_t * | length | |||
) | const [inline] |
Definition at line 79 of file SkDescriptor.h.
static void SkDescriptor::Free | ( | SkDescriptor * | desc | ) | [inline, static] |
Definition at line 37 of file SkDescriptor.h.
uint32_t SkDescriptor::getLength | ( | ) | const [inline] |
Definition at line 48 of file SkDescriptor.h.
void SkDescriptor::init | ( | ) | [inline] |
Definition at line 42 of file SkDescriptor.h.