walberla::field::FlagField< T >::RegistrationData Struct Reference

#include <FlagField.h>

Public Member Functions

 RegistrationData ()
 
 RegistrationData (const RegistrationData &o)
 

Public Attributes

std::array< FlagUID, sizeof(flag_t) *8 > flagToUID
 Maps bitNr's to strings. More...
 
std::map< FlagUID, flag_tuidToFlag
 Maps strings to bit-masks. More...
 
flag_t usedMask
 Mask is one for every registered bit. More...
 
uint_t nextFreeBit
 Counter for registerFlag(name) BitNumbers smaller than nextFreeBit are guaranteed to be occupied. More...
 

Constructor & Destructor Documentation

◆ RegistrationData() [1/2]

template<typename T = uint32_t>
walberla::field::FlagField< T >::RegistrationData::RegistrationData ( )
inline

◆ RegistrationData() [2/2]

template<typename T = uint32_t>
walberla::field::FlagField< T >::RegistrationData::RegistrationData ( const RegistrationData o)
inline

Member Data Documentation

◆ flagToUID

template<typename T = uint32_t>
std::array<FlagUID, sizeof(flag_t)*8> walberla::field::FlagField< T >::RegistrationData::flagToUID

Maps bitNr's to strings.

◆ nextFreeBit

template<typename T = uint32_t>
uint_t walberla::field::FlagField< T >::RegistrationData::nextFreeBit

Counter for registerFlag(name) BitNumbers smaller than nextFreeBit are guaranteed to be occupied.

Bits greater or equal may be occupied, when registerFlac(name,bitNr) was called.

◆ uidToFlag

template<typename T = uint32_t>
std::map<FlagUID, flag_t> walberla::field::FlagField< T >::RegistrationData::uidToFlag

Maps strings to bit-masks.

◆ usedMask

template<typename T = uint32_t>
flag_t walberla::field::FlagField< T >::RegistrationData::usedMask

Mask is one for every registered bit.


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