A vector of Primitive with a custom BlockAllocator.
DD::Image::PrimitiveList::PrimitiveList |
( |
| ) |
|
|
inline |
Constructs an empty vector of primitives.
DD::Image::PrimitiveList::~PrimitiveList |
( |
| ) |
|
|
inlineoverride |
Deletes all primitives on destruction.
const PrimList& DD::Image::PrimitiveList::data |
( |
| ) |
const |
|
inline |
PrimList& DD::Image::PrimitiveList::data |
( |
| ) |
|
|
inline |
size_t DD::Image::PrimitiveList::size |
( |
| ) |
const |
|
inline |
Primitive*& DD::Image::PrimitiveList::operator[] |
( |
const size_t |
i | ) |
|
|
inline |
Accesses the Primitive at index i. Doesn't check for out of bounds.
const Primitive* DD::Image::PrimitiveList::operator[] |
( |
const size_t |
i | ) |
const |
|
inline |
Accesses the Primitive at index i. Doesn't check for out of bounds.
void DD::Image::PrimitiveList::reserve |
( |
int |
i | ) |
|
|
inline |
size_t DD::Image::PrimitiveList::capacity |
( |
| ) |
const |
|
inline |
void DD::Image::PrimitiveList::push_back |
( |
Primitive * |
p | ) |
|
|
inline |
bool DD::Image::PrimitiveList::empty |
( |
| ) |
const |
|
inline |
Returns whether there are Primitives in this vector.