Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::genstruct::Table< bool > Class Template Reference

#include <elm/genstruct/BoolTable.h>

+ Inheritance diagram for elm::genstruct::Table< bool >:

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
 

Member Typedef Documentation

typedef ArrayDelegate<Table<bool>, int, bool> elm::genstruct::Table< bool >::delegate_t

Constructor & Destructor Documentation

elm::genstruct::Table< bool >::Table ( bool *  table,
int  count 
)
elm::genstruct::Table< bool >::Table ( const Table< bool > &  table)
elm::genstruct::Table< bool >::Table ( void  )
protected

Member Function Documentation

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
Table<bool>& elm::genstruct::Table< bool >::operator= ( const Table< bool > &  table)
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 
)

Member Data Documentation

Table<bool> elm::genstruct::Table< bool >::EMPTY
static

The documentation for this class was generated from the following file: