Options Class Reference

#include <Options.h>

Inheritance diagram for Options:

Inheritance graph
[legend]
List of all members.

Detailed Description

Basic functionality in allowing classes to handle binary "on/off" options.


Public Member Functions

 Options (unsigned options)
void EnableOptions (unsigned o)
 Enables specified options.
void DisableOptions (unsigned o)
 Disables specified options.
void SetOptionsTo (unsigned o, bool on)
void SetOptions (unsigned o)
 Sets the options to the specified values.
virtual unsigned DefaultOptions ()
 Returns the default options for the class.
virtual unsigned GetOptions ()
 Returns the current options for the object.
virtual bool GetOption (unsigned o)
 Returns true if all specified options are enabled.
 operator unsigned ()

Protected Attributes

unsigned options
 options fine-tuning the behavior of the class


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:57:20 2007 for AME Repository by  doxygen 1.5.1-p1