Bits class and functions. More...
Go to the source code of this file.
Classes | |
| class | base::Bits |
| Portable bit-field class. More... | |
Namespaces | |
| namespace | base |
Library of base code. | |
Defines | |
| #define | CLEAR_BIT_FIELDS(BIT_FIELD_PTR) ( *(reinterpret_cast<unsigned int*>( (BIT_FIELD_PTR) )) = 0 ) |
Functions | |
| template<typename T > | |
| T | base::SetBit (const T val, const int bit) |
| template<typename T > | |
| T | base::ClearBit (const T val, const int bit) |
Bits class and functions.
| #define CLEAR_BIT_FIELDS | ( | BIT_FIELD_PTR | ) | ( *(reinterpret_cast<unsigned int*>( (BIT_FIELD_PTR) )) = 0 ) |
Pass address of bit-field struct. CLEAR_BIT_FIELDS( &mBits );
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10