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 534 of file Identifier.h.


Constructor & Destructor Documentation

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

Definition at line 537 of file Identifier.h.


Member Function Documentation

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

Converts to a boolean value

Definition at line 542 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 549 of file Identifier.h.

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

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

Definition at line 554 of file Identifier.h.

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


Member Data Documentation

Definition at line 561 of file Identifier.h.

Referenced by operator bool().

Definition at line 563 of file Identifier.h.

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

Definition at line 562 of file Identifier.h.

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


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

Generated on Fri Aug 14 23:39:40 2009 for Ariba by  doxygen 1.5.8