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