Planeshift
|
#include <memory_range.h>
Public Member Functions | |
bool | Covers (size_t sub_offset, size_t sub_length) const |
const uint8_t * | data () const |
const void * | GetArrayElement (size_t element_offset, size_t element_size, unsigned element_index) const |
template<typename ElementType > | |
const ElementType * | GetArrayElement (size_t element_offset, unsigned element_index) const |
template<typename DataType > | |
const DataType * | GetData (size_t sub_offset) const |
const void * | GetData (size_t sub_offset, size_t sub_length) const |
bool | IsEmpty () const |
size_t | length () const |
MemoryRange (const void *data, size_t length) | |
MemoryRange () | |
void | Reset () |
void | Set (const void *data, size_t length) |
MemoryRange | Subrange (size_t sub_offset, size_t sub_length) const |
Definition at line 48 of file memory_range.h.
google_breakpad::MemoryRange::MemoryRange | ( | ) | [inline] |
Definition at line 50 of file memory_range.h.
google_breakpad::MemoryRange::MemoryRange | ( | const void * | data, |
size_t | length | ||
) | [inline] |
Definition at line 52 of file memory_range.h.
bool google_breakpad::MemoryRange::Covers | ( | size_t | sub_offset, |
size_t | sub_length | ||
) | const [inline] |
Definition at line 77 of file memory_range.h.
const uint8_t* google_breakpad::MemoryRange::data | ( | ) | const [inline] |
Definition at line 130 of file memory_range.h.
const ElementType* google_breakpad::MemoryRange::GetArrayElement | ( | size_t | element_offset, |
unsigned | element_index | ||
) | const [inline] |
Definition at line 116 of file memory_range.h.
const void* google_breakpad::MemoryRange::GetArrayElement | ( | size_t | element_offset, |
size_t | element_size, | ||
unsigned | element_index | ||
) | const [inline] |
Definition at line 105 of file memory_range.h.
const void* google_breakpad::MemoryRange::GetData | ( | size_t | sub_offset, |
size_t | sub_length | ||
) | const [inline] |
Definition at line 90 of file memory_range.h.
const DataType* google_breakpad::MemoryRange::GetData | ( | size_t | sub_offset | ) | const [inline] |
Definition at line 97 of file memory_range.h.
bool google_breakpad::MemoryRange::IsEmpty | ( | ) | const [inline] |
Definition at line 57 of file memory_range.h.
size_t google_breakpad::MemoryRange::length | ( | ) | const [inline] |
Definition at line 133 of file memory_range.h.
void google_breakpad::MemoryRange::Reset | ( | void | ) | [inline] |
Definition at line 63 of file memory_range.h.
void google_breakpad::MemoryRange::Set | ( | const void * | data, |
size_t | length | ||
) | [inline] |
Definition at line 69 of file memory_range.h.
MemoryRange google_breakpad::MemoryRange::Subrange | ( | size_t | sub_offset, |
size_t | sub_length | ||
) | const [inline] |
Definition at line 124 of file memory_range.h.