QxOrm  1.4.8
C++ Object Relational Mapping library
qx::memory::bool_array::_Element Class Reference

List of all members.

Public Member Functions

 _Element (BYTE *__ptr, unsigned long __idx)
bool operator= (bool ___value)
 operator bool () const

Private Attributes

size_t _M_byte_idx
size_t _M_bit_idx

Detailed Description

Class to represent a reference to an array element.

Definition at line 82 of file bool_array.h.

Constructor & Destructor Documentation

qx::memory::bool_array::_Element::_Element ( BYTE __ptr,
unsigned long  __idx 
) [inline]

Constructs a reference to an array element.

__ptrpointer to the interal boolean data
__idxindex of the array element to access

Definition at line 128 of file bool_array.h.

Member Function Documentation

qx::memory::bool_array::_Element::operator bool ( ) const [inline]

Reads the boolean value from an array element.

the boolean value of the accessed array element

Definition at line 155 of file bool_array.h.

bool qx::memory::bool_array::_Element::operator= ( bool  ___value) [inline]

Assigns a new boolean value to an array element.

___valuethe new boolean value
the assigned boolean value

Definition at line 141 of file bool_array.h.

Member Data Documentation

Definition at line 91 of file bool_array.h.

Definition at line 90 of file bool_array.h.

Definition at line 89 of file bool_array.h.

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