Skip to content

Class Ase::AtomicBits

ClassList > Ase > AtomicBits

Vector of atomic bits, operates in blocks of 64 bits.

  • #include <atomics.hh>

Inherits the following classes: std::vector< AtomicU64 >

Classes

Type Name
class Iter

Public Functions

Type Name
AtomicBits (size_t nbits)
AtomicBits (const AtomicBits &) = delete
bool all (bool toggle) const
bool any (bool toggle) const
Iter begin ()
Iter end () const
Iter iter (size_t pos)
AtomicBits & operator= (const AtomicBits &) = delete
bool operator[] (size_t pos) const
Iter operator[] (size_t pos)
bool set (size_t pos, bool toggle)
size_t size () const
uint64 u64 (size_t upos) const
AtomicU64 & u64 (size_t upos)
size_t usize () const
~AtomicBits ()

Protected Functions

Type Name
std::vector< AtomicU64 > & base ()
const std::vector< AtomicU64 > & base () const

Public Functions Documentation

function AtomicBits [1/2]

inline explicit Ase::AtomicBits::AtomicBits (
    size_t nbits
) 

function AtomicBits [2/2]

explicit Ase::AtomicBits::AtomicBits (
    const AtomicBits &
) = delete

function all

inline bool Ase::AtomicBits::all (
    bool toggle
) const

function any

inline bool Ase::AtomicBits::any (
    bool toggle
) const

function begin

inline Iter Ase::AtomicBits::begin () 

function end

inline Iter Ase::AtomicBits::end () const

function iter

inline Iter Ase::AtomicBits::iter (
    size_t pos
) 

function operator=

AtomicBits & Ase::AtomicBits::operator= (
    const AtomicBits &
) = delete

function operator[]

inline bool Ase::AtomicBits::operator[] (
    size_t pos
) const

function operator[]

inline Iter Ase::AtomicBits::operator[] (
    size_t pos
) 

function set

inline bool Ase::AtomicBits::set (
    size_t pos,
    bool toggle
) 

function size

inline size_t Ase::AtomicBits::size () const

function u64 [1/2]

inline uint64 Ase::AtomicBits::u64 (
    size_t upos
) const

function u64 [2/2]

inline AtomicU64 & Ase::AtomicBits::u64 (
    size_t upos
) 

function usize

inline size_t Ase::AtomicBits::usize () const

function ~AtomicBits

inline Ase::AtomicBits::~AtomicBits () 

Protected Functions Documentation

function base [1/2]

inline std::vector< AtomicU64 > & Ase::AtomicBits::base () 

function base [2/2]

inline const std::vector< AtomicU64 > & Ase::AtomicBits::base () const


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/atomics.hh