#include <ogdf/lib/minisat/mtl/Vec.h>
Public Member Functions | |
vec () | |
vec (int size) | |
vec (int size, const T &pad) | |
~vec () | |
void | capacity (int min_cap) |
int | capacity (void) const |
void | clear (bool dealloc=false) |
void | copyTo (vec< T > ©) const |
void | growTo (int size) |
void | growTo (int size, const T &pad) |
T & | last (void) |
const T & | last (void) const |
void | moveTo (vec< T > &dest) |
operator T* (void) | |
T & | operator[] (int index) |
const T & | operator[] (int index) const |
void | pop (void) |
void | push (const T &elem) |
void | push (void) |
void | push_ (const T &elem) |
void | shrink (int nelems) |
void | shrink_ (int nelems) |
int | size (void) const |
Private Member Functions | |
vec (vec< T > &other) | |
vec< T > & | operator= (vec< T > &other) |
Static Private Member Functions | |
static int | imax (int x, int y) |
static void | nextCap (int &cap) |
Private Attributes | |
int | cap |
T * | data |
int | sz |
|
inlineprivate |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
void Minisat::Internal::vec< T >::capacity | ( | int | min_cap | ) |
|
inline |
void Minisat::Internal::vec< T >::clear | ( | bool | dealloc = false | ) |
|
inline |
void Minisat::Internal::vec< T >::growTo | ( | int | size | ) |
void Minisat::Internal::vec< T >::growTo | ( | int | size, |
const T & | pad | ||
) |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |