A reference supporting read/write access to an entry. More...


Public Member Functions | |
| reference (const reference &)=default | |
| Copy construct. More... | |
| reference (reference &&)=default | |
| Move construct. More... | |
| void | flip () |
| Flip the bit at the position, no range-checking. More... | |
| void | operator= (const reference &other) |
| Value assignment. More... | |
| void | operator= (const unsigned int val) |
| Value assignment. More... | |
| operator unsigned int () const | |
| Conversion operator. More... | |
Public Member Functions inherited from PackedList< Width >::reference | |
| reference (const reference &)=default | |
| Copy construct. More... | |
| reference (reference &&)=default | |
| Move construct. More... | |
| void | operator= (const reference &other) |
| Value assignment. More... | |
| void | operator= (const unsigned int val) |
| Value assignment. More... | |
| operator unsigned int () const | |
| Conversion operator. More... | |
Protected Member Functions | |
| void | operator & ()=delete |
| reference (bitSet *parent, const label index) | |
| Construct by taking reference of block from within the list and the specified index. More... | |
Protected Member Functions inherited from PackedList< Width >::reference | |
| void | operator & ()=delete |
| reference (PackedList *parent, const label index) | |
| Construct by taking reference of block from within the list and the specified index. More... | |
| unsigned int | get () const |
| Get value as unsigned, no range-checking. More... | |
| bool | set (unsigned int val) |
| Set value, returning true if changed, no range-checking. More... | |
Friends | |
| class | bitSet |
Additional Inherited Members | |
Protected Attributes inherited from PackedList< Width >::reference | |
| block_type & | ref_ |
| Reference to the block. More... | |
| unsigned | shift_ |
| The bit shift to access the given sub-portion. More... | |
|
protecteddelete |
|
inline |
Flip the bit at the position, no range-checking.
Definition at line 181 of file bitSetI.H.
References PackedList< 1 >::max_value, PackedList< Width >::reference::ref_, and PackedList< Width >::reference::shift_.
Referenced by bitSet::flip().

|
inline |
|
inline |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.