Simple reference-counted vector container based on std::vector
and ref.
More...
#include <mitsuba/core/ref.h>
Public Types | |
typedef std::vector< ref< T > > | parent_type |
Public Member Functions | |
ref_vector () | |
ref_vector (size_t size) | |
ref_vector (const ref_vector &vec) | |
void | ensureUnique () |
Remove all duplicates without changing the order. More... | |
bool | contains (const T *ptr) const |
Check if a certain pointer is contained in the vector. More... | |
Simple reference-counted vector container based on std::vector
and ref.
typedef std::vector< ref<T> > ref_vector< T >::parent_type |
|
inline |
|
inline |
|
inline |
|
inline |
Check if a certain pointer is contained in the vector.
|
inline |
Remove all duplicates without changing the order.