MercuryGLState Class Reference

#include <MercuryGLState.h>

List of all members.

Public Member Functions

 MercuryGLState ()
void Enable (unsigned long mask)
void Disable (unsigned long mask)
bool GetState (unsigned long mask) const
unsigned long GetStates () const
MercuryGLState operator^ (const MercuryGLState &states)
MercuryGLState operator & (const MercuryGLState &states)
MercuryGLState operator &= (const MercuryGLState &states)

Private Attributes

unsigned long m_state


Detailed Description

Definition at line 21 of file MercuryGLState.h.


Constructor & Destructor Documentation

MercuryGLState::MercuryGLState (  )  [inline]

Definition at line 24 of file MercuryGLState.h.


Member Function Documentation

void MercuryGLState::Enable ( unsigned long  mask  )  [inline]

Definition at line 27 of file MercuryGLState.h.

void MercuryGLState::Disable ( unsigned long  mask  )  [inline]

Definition at line 28 of file MercuryGLState.h.

bool MercuryGLState::GetState ( unsigned long  mask  )  const [inline]

Definition at line 29 of file MercuryGLState.h.

unsigned long MercuryGLState::GetStates (  )  const [inline]

Definition at line 30 of file MercuryGLState.h.

MercuryGLState MercuryGLState::operator^ ( const MercuryGLState states  ) 

Definition at line 3 of file MercuryGLState.cpp.

MercuryGLState MercuryGLState::operator & ( const MercuryGLState states  ) 

Definition at line 10 of file MercuryGLState.cpp.

MercuryGLState MercuryGLState::operator &= ( const MercuryGLState states  )  [inline]

Definition at line 34 of file MercuryGLState.h.


Member Data Documentation

unsigned long MercuryGLState::m_state [private]

Definition at line 36 of file MercuryGLState.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo