|
Dev Essential
1.6.3
|
#include <codec_index.h>
Classes | |
| class | ElementIndex |
| The element index at the CodecIndex. More... | |
Public Member Functions | |
| CodecIndex ()=default | |
| Construct a new Codec Index. | |
| const ElementIndex & | operator[] (size_t pos) const |
| Access operator to retrieve a elment index on the given pos. | |
| bool | operator== (const CodecIndex &other) const |
| Equal operator. | |
| bool | operator!= (const CodecIndex &other) const |
| Not equal operator. | |
| size_t | getSize () const |
| Get the Size of the codec index in element index count. | |
| size_t | size () const |
| Gets the Size of the codec index in element index count for generic programming. | |
| bool | hasLayout () const |
| Has layout set. | |
| ElementType | getType () const |
| Get the elements type if CodecIndex is valid. | |
| const ElementLayout & | getLayout () const |
| Get the Layout. | |
Fast Access Index Type for the coders. The Codec Index ist a vector of element indexes {{[element_index][array_pos]},{[element_sub_index][array_pos]}} pairs to access the elements of one level in a fast way. You can access leafs and elements at each level.
| const ElementLayout & ddl::codec::CodecIndex::getLayout | ( | ) | const |
Get the Layout.
| size_t ddl::codec::CodecIndex::getSize | ( | ) | const |
Get the Size of the codec index in element index count.
| ElementType ddl::codec::CodecIndex::getType | ( | ) | const |
Get the elements type if CodecIndex is valid.
| bool ddl::codec::CodecIndex::hasLayout | ( | ) | const |
Has layout set.
| bool ddl::codec::CodecIndex::operator!= | ( | const CodecIndex & | other | ) | const |
Not equal operator.
| other | The codec index to compare. |
| bool ddl::codec::CodecIndex::operator== | ( | const CodecIndex & | other | ) | const |
Equal operator.
| other | The codec index to compare. |
| const ElementIndex & ddl::codec::CodecIndex::operator[] | ( | size_t | pos | ) | const |
Access operator to retrieve a elment index on the given pos.
| pos | Position of the element index to retrieve. |
| size_t ddl::codec::CodecIndex::size | ( | ) | const |
Gets the Size of the codec index in element index count for generic programming.