Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::BitArray::BitProxy Class Reference
Collaboration diagram for Aleph::BitArray::BitProxy:
[legend]

Public Member Functions

 BitProxy (BitArray &a, const size_t i) noexcept
 
 operator int () const
 
BitProxyoperator= (const size_t value)
 
BitProxyoperator= (const BitProxy &proxy)
 

Private Attributes

const size_t index
 
const size_t bit_index
 
const size_t byte_index
 
BitArrayarray
 
Bytebyte_ptr
 

Detailed Description

Definition at line 230 of file bitArray.H.

Constructor & Destructor Documentation

◆ BitProxy()

Aleph::BitArray::BitProxy::BitProxy ( BitArray a,
const size_t  i 
)
inlinenoexcept

Definition at line 239 of file bitArray.H.

References array, Aleph::BitArray::array_of_bytes, byte_index, and byte_ptr.

Member Function Documentation

◆ operator int()

Aleph::BitArray::BitProxy::operator int ( ) const
inline

◆ operator=() [1/2]

◆ operator=() [2/2]

Member Data Documentation

◆ array

BitArray* Aleph::BitArray::BitProxy::array
private

Definition at line 235 of file bitArray.H.

Referenced by BitProxy(), operator int(), operator=(), and operator=().

◆ bit_index

const size_t Aleph::BitArray::BitProxy::bit_index
private

Definition at line 233 of file bitArray.H.

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

◆ byte_index

const size_t Aleph::BitArray::BitProxy::byte_index
private

Definition at line 234 of file bitArray.H.

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

◆ byte_ptr

Byte* Aleph::BitArray::BitProxy::byte_ptr
private

Definition at line 236 of file bitArray.H.

Referenced by BitProxy(), operator int(), operator=(), and operator=().

◆ index

const size_t Aleph::BitArray::BitProxy::index
private

Definition at line 232 of file bitArray.H.

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


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