|
AGX Dynamics
2.37.2.0
|
Special class for small bitset, because minimum bitset size in clang/gcc is 8 bytes, and we only need 4. More...
#include <BitSet_small.h>
Public Member Functions | |
| BitSet_small (T state=T(0)) | |
| ~BitSet_small () | |
| T | get () const |
| T & | get () |
| void | set (size_t bit, bool flag) |
| T | state () const |
| T & | state () |
| bool | test (size_t bit) const |
Protected Attributes | |
| T | m_state |
Special class for small bitset, because minimum bitset size in clang/gcc is 8 bytes, and we only need 4.
Definition at line 28 of file BitSet_small.h.
| agx::BitSet_small< T >::BitSet_small | ( | T | state = T(0) | ) |
Definition at line 50 of file BitSet_small.h.
| agx::BitSet_small< T >::~BitSet_small | ( | ) |
Definition at line 55 of file BitSet_small.h.
| T agx::BitSet_small< T >::get | ( | ) | const |
Definition at line 74 of file BitSet_small.h.
References agx::BitSet_small< T >::m_state.
| T & agx::BitSet_small< T >::get | ( | ) |
Definition at line 80 of file BitSet_small.h.
References agx::BitSet_small< T >::m_state.
| void agx::BitSet_small< T >::set | ( | size_t | bit, |
| bool | flag | ||
| ) |
Definition at line 67 of file BitSet_small.h.
References agx::BitSet_small< T >::m_state.
| T agx::BitSet_small< T >::state | ( | ) | const |
Definition at line 77 of file BitSet_small.h.
References agx::BitSet_small< T >::m_state.
| T & agx::BitSet_small< T >::state | ( | ) |
Definition at line 83 of file BitSet_small.h.
References agx::BitSet_small< T >::m_state.
| bool agx::BitSet_small< T >::test | ( | size_t | bit | ) | const |
Definition at line 60 of file BitSet_small.h.
References agx::BitSet_small< T >::m_state.
|
protected |
Definition at line 44 of file BitSet_small.h.
Referenced by agx::BitSet_small< T >::get(), agx::BitSet_small< T >::set(), agx::BitSet_small< T >::state(), and agx::BitSet_small< T >::test().