rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWBitRef Class Reference
[Traditional Collections]

Represents an l-value to the RWBitVec and RWTBitVec classes. More...

#include <rw/bitref.h>

Inherits RWMemoryPool.

List of all members.

Public Member Functions

 operator bool () const
bool operator= (bool i)
void operator&= (bool i)
void operator|= (bool i)
void operator^= (bool i)
void swap (RWBitRef &br)

Detailed Description

Class RWBitRef is used as an l-value to the RWBitVec and RWTBitVec<N> classes. RWBitRef instances should not be constructed directly.


Member Function Documentation

RWBitRef::operator bool (  )  const [inline]

Returns the value of the bit.

void RWBitRef::operator&= ( bool  i  )  [inline]

Logical assignment operator.

bool RWBitRef::operator= ( bool  i  )  [inline]

Set the bit to the value i

void RWBitRef::operator^= ( bool  i  )  [inline]

Logical assignment operator.

void RWBitRef::operator|= ( bool  i  )  [inline]

Logical assignment operator.

void RWBitRef::swap ( RWBitRef br  )  [inline]

Swaps the data owned by self with the data owned by br.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.