yosys-master
|
#include <Vec.h>
Public Types | |
typedef _Size | Size |
Public Member Functions | |
vec () | |
vec (Size size) | |
vec (Size size, const T &pad) | |
~vec () | |
operator T * (void) | |
Size | size (void) const |
void | shrink (Size nelems) |
void | shrink_ (Size nelems) |
int | capacity (void) const |
void | capacity (Size min_cap) |
void | growTo (Size size) |
void | growTo (Size 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[] (Size index) const |
T & | operator[] (Size index) |
void | copyTo (vec< T > ©) const |
void | moveTo (vec< T > &dest) |
Private Member Functions | |
vec< T > & | operator= (vec< T > &other) |
vec (vec< T > &other) | |
Static Private Member Functions | |
static Size | max (Size x, Size y) |
Private Attributes | |
T * | data |
Size | sz |
Size | cap |
typedef _Size Minisat::vec< T, _Size >::Size |
|
private |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
void Minisat::vec< T, _Size >::capacity | ( | Size | min_cap | ) |
void Minisat::vec< T, _Size >::clear | ( | bool | dealloc = false | ) |
|
inline |
void Minisat::vec< T, _Size >::growTo | ( | Size | size | ) |
void Minisat::vec< T, _Size >::growTo | ( | Size | size, |
const T & | pad | ||
) |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |