SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
#include <Vec.h>
Public Member Functions | |
vec () | |
vec (int size) | |
vec (int size, const T &pad) | |
vec (vec< T > &&_toMove) | |
~vec () | |
vec< T > & | operator= (vec< T > &&_toMove) |
operator T* (void) | |
int | size (void) const |
void | shrink (int nelems) |
void | shrink_ (int nelems) |
int | capacity (void) const |
void | capacity (int min_cap) |
void | growTo (int size) |
void | growTo (int size, const T &pad) |
void | clear (bool dealloc=false) |
void | push (void) |
void | push (const T &elem) |
void | push_ (const T &elem) |
void | pop (void) |
const T & | last (void) const |
T & | last (void) |
const T & | operator[] (int index) const |
T & | operator[] (int index) |
void | copyTo (vec< T > ©) const |
void | moveTo (vec< T > &dest) |
Private Member Functions | |
vec< T > & | operator= (vec< T > &) |
vec (vec< T > &) | |
Static Private Member Functions | |
static int | imax (int x, int y) |
static void | nextCap (int &cap) |
Private Attributes | |
T * | data |
int | sz |
int | cap |
|
inlineprivate |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
void Minisat::vec< T >::capacity | ( | int | min_cap | ) |
|
inline |
void Minisat::vec< T >::clear | ( | bool | dealloc = false | ) |
|
inline |
void Minisat::vec< T >::growTo | ( | int | size | ) |
void Minisat::vec< T >::growTo | ( | int | size, |
const T & | pad | ||
) |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |