Classes | Namespaces | Macros | Functions | Variables
label.H File Reference
Include dependency graph for label.H:

Go to the source code of this file.

Classes

struct  labelOp< class >
 
struct  labelOp< int32_t >
 
struct  labelOp< int64_t >
 

Namespaces

 Foam
 

Macros

#define INT_ADD_SIZE(x, s, y)   x ## s ## y
 
#define INT_ADD_DEF_SIZE(x, s, y)   INT_ADD_SIZE(x,s,y)
 
#define INT_SIZE(x, y)   INT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)
 

Functions

label readLabel (const char *buf)
 
label readLabel (const std::string &str)
 
bool readLabel (const char *buf, label &val)
 
bool readLabel (const std::string &str, label &val)
 
label readLabel (Istream &is)
 
label readRawLabel (Istream &is)
 
void readRawLabel (Istream &is, label *data, size_t nElem=1)
 
label pow (label a, label b)
 
label factorial (label n)
 
label & setComponent (label &l, const direction)
 
label component (const label l, const direction)
 
int32_t narrowInt32 (const int64_t val)
 

Variables

constexpr label labelMin = INTWM_LABEL_SIZE_MIN
 
constexpr label labelMax = INTWM_LABEL_SIZE_MAX
 

Detailed Description

Original source file label.H

Definition in file label.H.

Macro Definition Documentation

◆ INT_ADD_SIZE

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

Definition at line 41 of file label.H.

◆ INT_ADD_DEF_SIZE

#define INT_ADD_DEF_SIZE (   x,
  s,
  y 
)    INT_ADD_SIZE(x,s,y)

Definition at line 42 of file label.H.

◆ INT_SIZE

#define INT_SIZE (   x,
  y 
)    INT_ADD_DEF_SIZE(x,WM_LABEL_SIZE,y)

Definition at line 43 of file label.H.