adchpp::Flags Class Reference

#include <Util.h>

Collaboration diagram for adchpp::Flags:
Collaboration graph
[legend]

List of all members.

Public Types

typedef size_t MaskType

Public Member Functions

 Flags (MaskType f)
 Flags (const Flags &rhs)
 Flags ()
MaskType getFlags () const
bool isAnySet (MaskType aFlag) const
bool isSet (MaskType aFlag) const
Flagsoperator= (const Flags &rhs)
void setFlag (MaskType aFlag)
void unsetFlag (MaskType aFlag)

Private Attributes

MaskType flags

Detailed Description

Definition at line 60 of file Util.h.


Member Typedef Documentation

typedef size_t adchpp::Flags::MaskType

Definition at line 62 of file Util.h.


Constructor & Destructor Documentation

adchpp::Flags::Flags (  )  [inline]

Definition at line 64 of file Util.h.

adchpp::Flags::Flags ( const Flags rhs  )  [inline]

Definition at line 65 of file Util.h.

adchpp::Flags::Flags ( MaskType  f  )  [inline]

Definition at line 66 of file Util.h.


Member Function Documentation

MaskType adchpp::Flags::getFlags (  )  const [inline]

Definition at line 67 of file Util.h.

References flags.

Referenced by adchpp::Entity::setFlag(), and adchpp::Entity::unsetFlag().

Here is the caller graph for this function:

bool adchpp::Flags::isAnySet ( MaskType  aFlag  )  const [inline]

Definition at line 69 of file Util.h.

References flags.

bool adchpp::Flags::isSet ( MaskType  aFlag  )  const [inline]

Definition at line 68 of file Util.h.

References flags.

Flags& adchpp::Flags::operator= ( const Flags rhs  )  [inline]

Definition at line 72 of file Util.h.

References flags.

void adchpp::Flags::setFlag ( MaskType  aFlag  )  [inline]

Definition at line 70 of file Util.h.

References flags.

Referenced by adchpp::Entity::setFlag(), and adchpp::Entity::unsetFlag().

Here is the caller graph for this function:

void adchpp::Flags::unsetFlag ( MaskType  aFlag  )  [inline]

Definition at line 71 of file Util.h.

References flags.


Member Data Documentation

Definition at line 74 of file Util.h.

Referenced by getFlags(), isAnySet(), isSet(), operator=(), setFlag(), and unsetFlag().

Generated on Sat Nov 27 23:38:42 2010 for adchpp by  doxygen 1.6.3