Classes | Namespaces | Defines | Functions

_src_base_bits.hh File Reference

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 >
base::SetBit (const T val, const int bit)
template<typename T >
base::ClearBit (const T val, const int bit)

Detailed Description

Bits class and functions.

LastChangedDate:
2010-02-03 20:50:32 -0500 (Wed, 03 Feb 2010)
Author:
Jim E. Brooks http://www.palomino3d.org

Define Documentation

#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 );

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10