|
HDK
|
Data buffer specialization for boolean (bit) values. More...
#include <UN_DataBuffer.h>
Public Member Functions | |
| UN_DataBuffer ()=default | |
| UN_DataBuffer (UN_DataSize size) | |
| void | setData (UN_DataIndex index, bool value) |
| Sets the data value for the entry at a given index. More... | |
| bool | getDataVal (UN_DataIndex index) const |
| Returns the data value for the entry at a given index. More... | |
| bool | operator[] (UN_DataIndex index) const |
| void | addData (UN_DataIndex index, bool init_value=false) |
| Adds an entry slot to the data buffer. More... | |
| void | appendData (bool value, exint count) |
| Appends count copies of the given value. More... | |
| void | appendData (const UN_DataBuffer< bool > &src, UN_DataIndex start, UN_DataSize size) |
| Appends a span of entries from another buffer. More... | |
| void | clear () |
| Resets the data to an empty buffer. More... | |
| UN_DataSize | size () const |
| Returns the number of bits held in the data buffer. More... | |
| void | setCapacityIfNeeded (UN_DataSize min_capacity) |
| bool | isValidIndex (UN_DataIndex index) const |
| Return true if given index is valid. More... | |
Data buffer specialization for boolean (bit) values.
Definition at line 156 of file UN_DataBuffer.h.
|
default |
|
inline |
Definition at line 163 of file UN_DataBuffer.h.
|
inline |
Adds an entry slot to the data buffer.
Definition at line 197 of file UN_DataBuffer.h.
|
inline |
Appends count copies of the given value.
Definition at line 210 of file UN_DataBuffer.h.
|
inline |
Appends a span of entries from another buffer.
Definition at line 217 of file UN_DataBuffer.h.
|
inline |
Resets the data to an empty buffer.
Definition at line 229 of file UN_DataBuffer.h.
|
inline |
Returns the data value for the entry at a given index.
Definition at line 181 of file UN_DataBuffer.h.
|
inline |
Return true if given index is valid.
Definition at line 249 of file UN_DataBuffer.h.
|
inline |
Returns the data value for the entry at a given index. Just a convenience operator that calls the official API method.
Definition at line 191 of file UN_DataBuffer.h.
|
inline |
Definition at line 243 of file UN_DataBuffer.h.
|
inline |
Sets the data value for the entry at a given index.
Definition at line 172 of file UN_DataBuffer.h.
|
inline |
Returns the number of bits held in the data buffer.
Definition at line 236 of file UN_DataBuffer.h.