Public Member Functions | Friends | List of all members
labelBits Class Reference

A 29bits label and 3bits direction packed into single label. More...

Public Member Functions

 labelBits ()
 
 labelBits (const label val, const direction bits)
 
 labelBits (Istream &is)
 
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)
 
Istreamoperator>> (Istream &is, labelBits &lb)
 
Ostreamoperator<< (Ostream &os, const labelBits &lb)
 

Detailed Description

A 29bits label and 3bits direction packed into single label.

Source files

Definition at line 49 of file labelBits.H.

Constructor & Destructor Documentation

◆ labelBits() [1/3]

labelBits ( )
inline

Definition at line 76 of file labelBits.H.

◆ labelBits() [2/3]

labelBits ( const label  val,
const direction  bits 
)
inline

Definition at line 80 of file labelBits.H.

◆ labelBits() [3/3]

labelBits ( Istream is)
inline

Definition at line 86 of file labelBits.H.

Member Function Documentation

◆ val()

label val ( ) const
inline

◆ bits()

direction bits ( ) const
inline

◆ setVal()

void setVal ( const label  val)
inline

Definition at line 105 of file labelBits.H.

References labelBits::bits(), and labelBits::val().

Here is the call graph for this function:

◆ setBits()

void setBits ( const direction  bits)
inline

Definition at line 110 of file labelBits.H.

References labelBits::bits(), and labelBits::val().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator==

bool operator== ( const labelBits a,
const labelBits b 
)
friend

Definition at line 118 of file labelBits.H.

◆ operator!=

bool operator!= ( const labelBits a,
const labelBits b 
)
friend

Definition at line 123 of file labelBits.H.

◆ operator>>

Istream& operator>> ( Istream is,
labelBits lb 
)
friend

Definition at line 130 of file labelBits.H.

◆ operator<<

Ostream& operator<< ( Ostream os,
const labelBits lb 
)
friend

Definition at line 135 of file labelBits.H.


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