A 29bits label and 3bits direction packed into single label. More...
#include <meshTools/labelBits.H>
A 29bits label and 3bits direction packed into single label.
Definition at line 52 of file labelBits.H.
Public Member Functions | |
| labelBits () | |
| Construct null.
| |
| labelBits (const label val, const direction bits) | |
| Construct from components.
| |
| labelBits (Istream &is) | |
| Construct from Istream.
| |
| label | val () const |
| direction | bits () const |
| void | setVal (const label val) |
| void | setBits (const direction bits) |
Friends | |
| bool | operator== (const labelBits &a, const labelBits &b) |
| bool | operator!= (const labelBits &a, const labelBits &b) |
| Istream & | operator>> (Istream &is, labelBits &lb) |
| Ostream & | operator<< (Ostream &os, const labelBits &lb) |
| labelBits | ( | ) | [inline]
|
Construct null.
Definition at line 79 of file labelBits.H.
Construct from components.
Definition at line 83 of file labelBits.H.
Construct from Istream.
Definition at line 89 of file labelBits.H.
| label val | ( | ) | const [inline]
|
Definition at line 98 of file labelBits.H.
Referenced by indexedOctree< treeDataTriSurface >::getContent(), indexedOctree< treeDataTriSurface >::getNode(), indexedOctree< treeDataTriSurface >::isContent(), indexedOctree< treeDataTriSurface >::isEmpty(), indexedOctree< treeDataTriSurface >::isNode(), and labelBits::setBits().
| direction bits | ( | ) | const [inline]
|
Definition at line 103 of file labelBits.H.
Referenced by indexedOctree< treeDataTriSurface >::getOctant(), and labelBits::setVal().
| void setVal | ( | const label | val ) | [inline]
|
Definition at line 108 of file labelBits.H.
References labelBits::bits().
| void setBits | ( | const direction | bits ) | [inline]
|
Definition at line 113 of file labelBits.H.
References labelBits::val().
Definition at line 121 of file labelBits.H.
Definition at line 126 of file labelBits.H.
Definition at line 133 of file labelBits.H.
Definition at line 138 of file labelBits.H.