Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/genstruct/BoolTable.h>
Public Types | |
typedef ArrayDelegate< Table < bool >, int, bool > | delegate_t |
Public Member Functions | |
Table (bool *table, int count) | |
Table (const Table< bool > &table) | |
int | count (void) const |
bool | get (int index) const |
delegate_t | get (int index) |
void | set (int index, bool value) |
bool | isEmpty (void) const |
void | copy (const Table< bool > &table) |
bool | operator[] (int index) const |
delegate_t | operator[] (int index) |
Table< bool > & | operator= (const Table< bool > &table) |
operator bool (void) const | |
Static Public Attributes | |
static Table< bool > | EMPTY |
Protected Member Functions | |
Table (void) | |
Protected Attributes | |
BitVector | bvec |
typedef ArrayDelegate<Table<bool>, int, bool> elm::genstruct::Table< bool >::delegate_t |
elm::genstruct::Table< bool >::Table | ( | bool * | table, |
int | count | ||
) |
References elm::genstruct::Table< T >::count().
elm::genstruct::Table< bool >::Table | ( | const Table< bool > & | table | ) |
References elm::genstruct::Table< T >::copy().
|
protected |
void elm::genstruct::Table< bool >::copy | ( | const Table< bool > & | table | ) |
References bvec.
int elm::genstruct::Table< bool >::count | ( | void | ) | const |
bool elm::genstruct::Table< bool >::get | ( | int | index | ) | const |
delegate_t elm::genstruct::Table< bool >::get | ( | int | index | ) |
bool elm::genstruct::Table< bool >::isEmpty | ( | void | ) | const |
elm::genstruct::Table< bool >::operator bool | ( | void | ) | const |
References elm::genstruct::Table< T >::isEmpty().
Table<bool>& elm::genstruct::Table< bool >::operator= | ( | const Table< bool > & | table | ) |
References elm::genstruct::Table< T >::copy().
bool elm::genstruct::Table< bool >::operator[] | ( | int | index | ) | const |
delegate_t elm::genstruct::Table< bool >::operator[] | ( | int | index | ) |
void elm::genstruct::Table< bool >::set | ( | int | index, |
bool | value | ||
) |
|
protected |
Referenced by copy(), and elm::genstruct::AllocatedTable< bool >::copy().
|
static |