![]() |
The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Vector of unsigned values, used for size and index description of n-dimensional matrixes. More...

Public Member Functions | |
| uint_vector_t (unsigned int len) | |
| Constructor, initializes all elements to zero. More... | |
| uint_vector_t (const uint_vector_t &) | |
| uint_vector_t (const uint8_t *buf, unsigned int len) | |
| Construct from memory area. More... | |
| ~uint_vector_t () | |
| bool | operator== (const uint_vector_t &) const |
| Check for equality. More... | |
| uint_vector_t & | operator= (const uint_vector_t &) |
| Assign from other uint_vector_t. More... | |
| unsigned int | get_length () const |
| Return the length of the vector. More... | |
| const uint32_t & | operator[] (unsigned int k) const |
| Read-only access to elements. More... | |
| uint32_t & | operator[] (unsigned int k) |
| Access to elements. More... | |
| unsigned int | numbytes () const |
| Return number of bytes needed to store into memory. More... | |
| unsigned int | write (uint8_t *buf, unsigned int len) const |
| Copy to memory area. More... | |
| const uint32_t * | getdata () const |
| Return pointer to the data field. More... | |
Protected Attributes | |
| uint32_t | length |
| uint32_t * | data |
Vector of unsigned values, used for size and index description of n-dimensional matrixes.
| MHASignal::uint_vector_t::uint_vector_t | ( | unsigned int | len | ) |
Constructor, initializes all elements to zero.
| len | Length of vector. |
| MHASignal::uint_vector_t::uint_vector_t | ( | const uint_vector_t & | src | ) |
| MHASignal::uint_vector_t::uint_vector_t | ( | const uint8_t * | buf, |
| unsigned int | len | ||
| ) |
Construct from memory area.
| MHASignal::uint_vector_t::~uint_vector_t | ( | ) |
| bool MHASignal::uint_vector_t::operator== | ( | const uint_vector_t & | src | ) | const |
Check for equality.
| uint_vector_t & MHASignal::uint_vector_t::operator= | ( | const uint_vector_t & | src | ) |
Assign from other uint_vector_t.
|
inline |
Return the length of the vector.
|
inline |
Read-only access to elements.
|
inline |
Access to elements.
| unsigned int MHASignal::uint_vector_t::numbytes | ( | ) | const |
Return number of bytes needed to store into memory.
| unsigned int MHASignal::uint_vector_t::write | ( | uint8_t * | buf, |
| unsigned int | len | ||
| ) | const |
Copy to memory area.
|
inline |
Return pointer to the data field.
|
protected |
|
protected |