pTraits< uint32_t > Class Template Reference

Template specialisation for pTraits<uint32_t> More...

Public Types

typedef uint32_t cmptType
 Component type. More...
 

Public Member Functions

 pTraits (const uint32_t &)
 Construct from primitive. More...
 
 pTraits (Istream &)
 Construct from Istream. More...
 
 operator uint32_t () const
 Access to the uint32_t value. More...
 
 operator uint32_t & ()
 Access to the uint32_t value. More...
 

Static Public Attributes

static const direction dim = 3
 Dimensionality of space. More...
 
static const direction rank = 0
 Rank of uint32_t is 0. More...
 
static const direction nComponents = 1
 Number of components in uint32_t is 1. More...
 
static const char *const typeName
 
static const char *const componentNames [] = { "" }
 
static const uint32_t zero = 0
 
static const uint32_t one = 1
 
static const uint32_t min = 0
 
static const uint32_t max = UINT32_MAX
 
static const uint32_t rootMax = pTraits<uint32_t>::max
 
static const uint32_t rootMin = 0
 

Detailed Description

template<>
class Foam::pTraits< uint32_t >

Template specialisation for pTraits<uint32_t>

Definition at line 69 of file uint32.H.

Member Typedef Documentation

◆ cmptType

typedef uint32_t cmptType

Component type.

Definition at line 76 of file uint32.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const uint32_t &  p)
explicit

Construct from primitive.

Definition at line 39 of file uint32.C.

◆ pTraits() [2/2]

pTraits ( Istream is)

Construct from Istream.

Definition at line 44 of file uint32.C.

Member Function Documentation

◆ operator uint32_t()

operator uint32_t ( ) const
inline

Access to the uint32_t value.

Definition at line 115 of file uint32.H.

◆ operator uint32_t &()

operator uint32_t & ( )
inline

Access to the uint32_t value.

Definition at line 121 of file uint32.H.

Member Data Documentation

◆ dim

const direction dim = 3
static

Dimensionality of space.

Definition at line 82 of file uint32.H.

◆ rank

const direction rank = 0
static

Rank of uint32_t is 0.

Definition at line 85 of file uint32.H.

◆ nComponents

const direction nComponents = 1
static

Number of components in uint32_t is 1.

Definition at line 88 of file uint32.H.

◆ typeName

const char* const typeName
static

Definition at line 93 of file uint32.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 94 of file uint32.H.

◆ zero

const uint32_t zero = 0
static

Definition at line 95 of file uint32.H.

◆ one

const uint32_t one = 1
static

Definition at line 96 of file uint32.H.

◆ min

const uint32_t min = 0
static

Definition at line 97 of file uint32.H.

◆ max

const uint32_t max = UINT32_MAX
static

Definition at line 98 of file uint32.H.

◆ rootMax

const uint32_t rootMax = pTraits<uint32_t>::max
static

Definition at line 99 of file uint32.H.

◆ rootMin

const uint32_t rootMin = 0
static

Definition at line 100 of file uint32.H.


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