FreeFOAM The Cross-Platform CFD Toolkit
pTraits< label > Class Template Reference

template specialization for pTraits<label> More...

#include <src/OpenFOAM/primitives/ints/label/label.H>


Detailed Description

template<>
class Foam::pTraits< label >

template specialization for pTraits<label>

Definition at line 136 of file label.H.

List of all members.

Public Types

enum  { dim = 3, rank = 0, nComponents = 1 }
typedef label cmptType
 Component type.

Public Member Functions

 pTraits (const label l)
 Construct from label.
 pTraits (Istream &)
 Construct from Istream.
 operator label () const
 operator label & ()

Static Public Attributes

static const char *const typeName = "label"
static const char * componentNames [] = { "x" }
static const label zero = 0
static const label one = 1
static const label min = labelMin
static const label max = labelMax

Member Typedef Documentation

typedef label cmptType

Component type.

Definition at line 143 of file label.H.


Member Enumeration Documentation

anonymous enum
Enumerator:
dim 
rank 
nComponents 

Definition at line 147 of file label.H.


Constructor & Destructor Documentation

pTraits ( const label  l)
inline

Construct from label.

Definition at line 168 of file label.H.

pTraits ( Istream is)

Construct from Istream.

Definition at line 44 of file label.C.


Member Function Documentation

operator label ( ) const
inline

Definition at line 179 of file label.H.

operator label & ( )
inline

Definition at line 184 of file label.H.


Member Data Documentation

const char *const typeName = "label"
static

Definition at line 157 of file label.H.

const char * componentNames = { "x" }
static

Definition at line 158 of file label.H.

const label zero = 0
static

Definition at line 159 of file label.H.

const label one = 1
static

Definition at line 160 of file label.H.

const label min = labelMin
static

Definition at line 161 of file label.H.

const label max = labelMax
static

Definition at line 162 of file label.H.


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