From cd9f9a8add02597a2998ba74b803ed3fbf81314c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 Nov 2005 01:44:46 +0000 Subject: Added new documentation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1966 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classBoolSet.html | 176 ++++++++++++++++++-------------------- 1 file changed, 83 insertions(+), 93 deletions(-) (limited to 'docs/module-doc/classBoolSet.html') diff --git a/docs/module-doc/classBoolSet.html b/docs/module-doc/classBoolSet.html index bf356dabe..c812aee4f 100644 --- a/docs/module-doc/classBoolSet.html +++ b/docs/module-doc/classBoolSet.html @@ -1,79 +1,78 @@ - + -InspIRCd: BoolSet class Reference +InspIRCd: BoolSet Class Reference - -
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members
-

BoolSet Class Reference

BoolSet is a utility class designed to hold eight bools in a bitmask. + +
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members
+

BoolSet Class Reference

BoolSet is a utility class designed to hold eight bools in a bitmask. More...

#include <base.h>

Collaboration diagram for BoolSet:

Collaboration graph
-
[legend]
List of all members. +
[legend]
List of all members.
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + +

Public Member Functions

 BoolSet ()

Public Member Functions

 BoolSet ()
 The default constructor initializes the BoolSet to all values unset.

 BoolSet (char bitmask)
 The default constructor initializes the BoolSet to all values unset.
 BoolSet (char bitmask)
 This constructor copies the default bitmask from a char.

void Set (int number)
 This constructor copies the default bitmask from a char.
void Set (int number)
 The Set method sets one bool in the set.

bool Get (int number)
 The Set method sets one bool in the set.
bool Get (int number)
 The Get method returns the value of one bool in the set.

void Unset (int number)
 The Get method returns the value of one bool in the set.
void Unset (int number)
 The Unset method unsets one value in the set.

void Invert (int number)
 The Unset method unsets one value in the set.
void Invert (int number)
 The Unset method inverts (flips) one value in the set.

bool operator== (BoolSet other)
 The Unset method inverts (flips) one value in the set.
bool operator== (BoolSet other)
 Compare two BoolSets.

BoolSet operator| (BoolSet other)
 Compare two BoolSets.
BoolSet operator| (BoolSet other)
 OR two BoolSets together.

BoolSet operator & (BoolSet other)
 OR two BoolSets together.
BoolSet operator & (BoolSet other)
 AND two BoolSets together.

bool operator= (BoolSet other)
 AND two BoolSets together.
bool operator= (BoolSet other)
 Assign one BoolSet to another.


Private Attributes

char bits
 Assign one BoolSet to another.

Private Attributes

char bits

Detailed Description

BoolSet is a utility class designed to hold eight bools in a bitmask.

-Use BoolSet::Set and BoolSet::Get to set and get bools in the bitmask, and Unset and Invert for special operations upon them. +Use BoolSet::Set and BoolSet::Get to set and get bools in the bitmask, and Unset and Invert for special operations upon them.

-Definition at line 98 of file base.h.


Constructor & Destructor Documentation

-

- +Definition at line 95 of file base.h.

Constructor & Destructor Documentation

+

+

- + -
BoolSet::BoolSet BoolSet::BoolSet  ) 
- +
  @@ -86,25 +85,24 @@ The default constructor initializes the BoolSet to all values unset.
-

- +

+

- + -
BoolSet::BoolSet BoolSet::BoolSet char  bitmask  ) 
- +
  @@ -118,25 +116,24 @@ This constructor copies the default bitmask from a char.


Member Function Documentation

-

- +

+

- + -
bool BoolSet::Get bool BoolSet::Get int  number  ) 
- +
  @@ -148,32 +145,31 @@ The Get method returns the value of one bool in the set.

Parameters:
- +
number The number of the item to retrieve. This must be between 0 and 7.
number The number of the item to retrieve. This must be between 0 and 7.
Returns:
True if the item is set, false if it is unset.
-

- +

+

- + -
void BoolSet::Invert void BoolSet::Invert int  number  ) 
- +
  @@ -185,31 +181,30 @@ The Unset method inverts (flips) one value in the set.

Parameters:
- +
number The number of the item to invert. This must be between 0 and 7.
number The number of the item to invert. This must be between 0 and 7.
-

- +

+

- + -
BoolSet BoolSet::operator & BoolSet BoolSet::operator & BoolSet  other  ) 
- +
  @@ -222,25 +217,24 @@ AND two BoolSets together.
-

- +

+

- + -
bool BoolSet::operator= bool BoolSet::operator= BoolSet  other  ) 
- +
  @@ -253,25 +247,24 @@ Assign one BoolSet to another.
-

- +

+

- + -
bool BoolSet::operator== bool BoolSet::operator== BoolSet  other  ) 
- +
  @@ -284,25 +277,24 @@ Compare two BoolSets.
-

- +

+

- + -
BoolSet BoolSet::operator| BoolSet BoolSet::operator| BoolSet  other  ) 
- +
  @@ -315,25 +307,24 @@ OR two BoolSets together.
-

- +

+

- + -
void BoolSet::Set void BoolSet::Set int  number  ) 
- +
  @@ -345,31 +336,30 @@ The Set method sets one bool in the set.

Parameters:
- +
number The number of the item to set. This must be between 0 and 7.
number The number of the item to set. This must be between 0 and 7.
-

- +

+

- + -
void BoolSet::Unset void BoolSet::Unset int  number  ) 
- +
  @@ -381,25 +371,26 @@ The Unset method unsets one value in the set.

Parameters:
- +
number The number of the item to set. This must be between 0 and 7.
number The number of the item to set. This must be between 0 and 7.


Member Data Documentation

-

- +

+

- +
char BoolSet::bits [private] + char BoolSet::bits [private]
- +
+Definition at line 97 of file base.h.
  @@ -409,14 +400,13 @@ The Unset method unsets one value in the set.

-Definition at line 100 of file base.h.


The documentation for this class was generated from the following file: -
Generated on Mon May 30 05:16:29 2005 for InspIRCd by +
Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by  -doxygen -1.3.3
+doxygen 1.4.4-20050815
-- cgit v1.3.1-10-gc9f91