ariba::utility::IdentifierBit Class Reference

#include <source/ariba/utility/types/Identifier.h>

Collaboration diagram for ariba::utility::IdentifierBit:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 IdentifierBit (bool value, uint pos, Identifier *key)
 operator bool ()
IdentifierBitoperator= (bool value)
IdentifierBitoperator^= (bool value)

Private Attributes

bool bit
uint pos
Identifierkey


Detailed Description

An auxiliary class for single bits in OverlayKey

Allows statements like "key[n] = true"

Definition at line 532 of file Identifier.h.


Constructor & Destructor Documentation

ariba::utility::IdentifierBit::IdentifierBit ( bool  value,
uint  pos,
Identifier key 
) [inline]

Definition at line 535 of file Identifier.h.


Member Function Documentation

ariba::utility::IdentifierBit::operator bool (  )  [inline]

Converts to a boolean value

Definition at line 540 of file Identifier.h.

References bit.

IdentifierBit& ariba::utility::IdentifierBit::operator= ( bool  value  )  [inline]

Sets the corresponding bit to a boolean value

Parameters:
value value to set to

Definition at line 547 of file Identifier.h.

References key, pos, and ariba::utility::Identifier::setBitAt().

IdentifierBit& ariba::utility::IdentifierBit::operator^= ( bool  value  )  [inline]

Definition at line 552 of file Identifier.h.

References key, pos, and ariba::utility::Identifier::setBitAt().


Member Data Documentation

Definition at line 559 of file Identifier.h.

Referenced by operator bool().

Definition at line 560 of file Identifier.h.

Referenced by operator=(), and operator^=().

Definition at line 561 of file Identifier.h.

Referenced by operator=(), and operator^=().


The documentation for this class was generated from the following file:

Generated on Wed May 27 18:24:11 2009 for Ariba by  doxygen 1.5.6