uLabel.H File Reference
Include dependency graph for uLabel.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define UINT_ADD_SIZE(x, s, y)   x ## s ## y
 
#define UINT_ADD_DEF_SIZE(x, s, y)   UINT_ADD_SIZE(x,s,y)
 
#define UINT_SIZE(x, y)   UINT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)
 

Typedefs

typedef uintWM_LABEL_SIZE_t uLabel
 A uLabel is an uint32_t or uint64_t as specified by the pre-processor macro WM_LABEL_SIZE. More...
 

Functions

uLabel readULabel (Istream &is)
 
uLabel pow (uLabel a, uLabel b)
 Raise one uLabel to the power of another. More...
 
uLabel factorial (uLabel n)
 Evaluate n! : 0 < n <= 12. More...
 
uLabel & setComponent (uLabel &l, const direction)
 
uLabel component (const uLabel l, const direction)
 

Variables

static const uLabel uLabelMax = UINTWM_LABEL_SIZE_MAX
 

Detailed Description

Original source file uLabel.H

Definition in file uLabel.H.

Macro Definition Documentation

◆ UINT_ADD_SIZE

#define UINT_ADD_SIZE (   x,
  s,
  y 
)    x ## s ## y

Definition at line 43 of file uLabel.H.

◆ UINT_ADD_DEF_SIZE

#define UINT_ADD_DEF_SIZE (   x,
  s,
  y 
)    UINT_ADD_SIZE(x,s,y)

Definition at line 44 of file uLabel.H.

◆ UINT_SIZE

#define UINT_SIZE (   x,
  y 
)    UINT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)

Definition at line 45 of file uLabel.H.

Referenced by Foam::readULabel().