yosys-master
|
#include <NumberlikeArray.hh>
Public Types | |
typedef unsigned int | Index |
Public Member Functions | |
NumberlikeArray (Index c) | |
NumberlikeArray () | |
~NumberlikeArray () | |
void | allocate (Index c) |
void | allocateAndCopy (Index c) |
NumberlikeArray (const NumberlikeArray< Blk > &x) | |
void | operator= (const NumberlikeArray< Blk > &x) |
NumberlikeArray (const Blk *b, Index blen) | |
Index | getCapacity () const |
Index | getLength () const |
Blk | getBlock (Index i) const |
bool | isEmpty () const |
bool | operator== (const NumberlikeArray< Blk > &x) const |
bool | operator!= (const NumberlikeArray< Blk > &x) const |
Data Fields | |
Index | cap |
Index | len |
Blk * | blk |
Static Public Attributes | |
static const unsigned int | N = 8 * sizeof(Blk) |
Definition at line 21 of file NumberlikeArray.hh.
typedef unsigned int NumberlikeArray< Blk >::Index |
Definition at line 25 of file NumberlikeArray.hh.
|
inline |
Definition at line 37 of file NumberlikeArray.hh.
|
inline |
Definition at line 45 of file NumberlikeArray.hh.
|
inline |
Definition at line 50 of file NumberlikeArray.hh.
NumberlikeArray< Blk >::NumberlikeArray | ( | const NumberlikeArray< Blk > & | x | ) |
Definition at line 123 of file NumberlikeArray.hh.
NumberlikeArray< Blk >::NumberlikeArray | ( | const Blk * | b, |
Index | blen | ||
) |
Definition at line 151 of file NumberlikeArray.hh.
void NumberlikeArray< Blk >::allocate | ( | Index | c | ) |
void NumberlikeArray< Blk >::allocateAndCopy | ( | Index | c | ) |
Definition at line 106 of file NumberlikeArray.hh.
|
inline |
Definition at line 74 of file NumberlikeArray.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 82 of file NumberlikeArray.hh.
void NumberlikeArray< Blk >::operator= | ( | const NumberlikeArray< Blk > & | x | ) |
bool NumberlikeArray< Blk >::operator== | ( | const NumberlikeArray< Blk > & | x | ) | const |
Blk* NumberlikeArray< Blk >::blk |
Definition at line 34 of file NumberlikeArray.hh.
Index NumberlikeArray< Blk >::cap |
Definition at line 30 of file NumberlikeArray.hh.
Index NumberlikeArray< Blk >::len |
Definition at line 32 of file NumberlikeArray.hh.
|
static |
Definition at line 27 of file NumberlikeArray.hh.