Public Types | Public Member Functions | Static Public Attributes | List of all members
pTraits< uint32_t > Class Template Reference

Template specialization for pTraits<uint32_t> More...

Public Types

enum  { dim = 3, rank = 0, nComponents = 1 }
 
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 char *const typeName
 
static const char * componentNames [] = { "x" }
 
static const uint32_t zero = 0
 
static const uint32_t one = 1
 
static const uint32_t min = INT32_MIN
 
static const uint32_t max = INT32_MAX
 
static const uint32_t rootMax = pTraits<uint32_t>::max
 
static const uint32_t rootMin = pTraits<uint32_t>::min
 

Detailed Description

template<>
class Foam::pTraits< uint32_t >

Template specialization for pTraits<uint32_t>

Definition at line 74 of file uint32.H.

Member Typedef Documentation

typedef uint32_t cmptType

Component type.

Definition at line 81 of file uint32.H.

Member Enumeration Documentation

anonymous enum
Enumerator
dim 

Dimensionality of space.

rank 

Rank of uint32_t is 0.

nComponents 

Number of components in uint32_t is 1.

Definition at line 85 of file uint32.H.

Constructor & Destructor Documentation

pTraits ( const uint32_t &  p)
explicit

Construct from primitive.

Definition at line 39 of file uint32.C.

pTraits ( Istream is)

Construct from Istream.

Definition at line 44 of file uint32.C.

Member Function Documentation

operator uint32_t ( ) const
inline

Access to the uint32_t value.

Definition at line 117 of file uint32.H.

operator uint32_t & ( )
inline

Access to the uint32_t value.

Definition at line 123 of file uint32.H.

Member Data Documentation

const char* const typeName
static

Definition at line 95 of file uint32.H.

const char * componentNames = { "x" }
static

Definition at line 96 of file uint32.H.

const uint32_t zero = 0
static

Definition at line 97 of file uint32.H.

const uint32_t one = 1
static

Definition at line 98 of file uint32.H.

const uint32_t min = INT32_MIN
static

Definition at line 99 of file uint32.H.

const uint32_t max = INT32_MAX
static

Definition at line 100 of file uint32.H.

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

Definition at line 101 of file uint32.H.

const uint32_t rootMin = pTraits<uint32_t>::min
static

Definition at line 102 of file uint32.H.


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