FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

labelBits Class Reference

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

#include <meshTools/labelBits.H>


Detailed Description

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

Source files

Definition at line 52 of file labelBits.H.

List of all members.

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)

Constructor & Destructor Documentation

labelBits (  ) [inline]

Construct null.

Definition at line 79 of file labelBits.H.

labelBits ( const label   val,
const direction   bits  
) [inline]

Construct from components.

Definition at line 83 of file labelBits.H.

labelBits ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 89 of file labelBits.H.


Member Function Documentation

direction bits (  ) const [inline]
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().


Friends And Related Function Documentation

bool operator== ( const labelBits &   a,
const labelBits &   b  
) [friend]

Definition at line 121 of file labelBits.H.

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

Definition at line 126 of file labelBits.H.

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

Definition at line 133 of file labelBits.H.

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

Definition at line 138 of file labelBits.H.


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