pTraits< int32_t > Class Reference

Template specialisation for pTraits<int32_t> More...

Public Types

typedef int32_t cmptType
 Component type. More...
 

Public Member Functions

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

Static Public Attributes

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

Detailed Description

Template specialisation for pTraits<int32_t>

Definition at line 83 of file int32.H.

Member Typedef Documentation

◆ cmptType

typedef int32_t cmptType

Component type.

Definition at line 90 of file int32.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const int32_t &  p)
explicit

Construct from primitive.

Definition at line 39 of file int32.C.

◆ pTraits() [2/2]

pTraits ( Istream is)

Construct from Istream.

Definition at line 44 of file int32.C.

Member Function Documentation

◆ operator int32_t()

operator int32_t ( ) const
inline

Access to the int32_t value.

Definition at line 129 of file int32.H.

◆ operator int32_t &()

operator int32_t & ( )
inline

Access to the int value.

Definition at line 135 of file int32.H.

Member Data Documentation

◆ dim

const direction dim = 3
static

Dimensionality of space.

Definition at line 96 of file int32.H.

◆ rank

const direction rank = 0
static

Rank of int32_t is 0.

Definition at line 99 of file int32.H.

◆ nComponents

const direction nComponents = 1
static

Number of components in int32_t is 1.

Definition at line 102 of file int32.H.

◆ typeName

const char* const typeName
static

Definition at line 107 of file int32.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 108 of file int32.H.

◆ zero

const int32_t zero = 0
static

Definition at line 109 of file int32.H.

◆ one

const int32_t one = 1
static

Definition at line 110 of file int32.H.

◆ min

const int32_t min = INT32_MIN
static

Definition at line 111 of file int32.H.

◆ max

const int32_t max = INT32_MAX
static

Definition at line 112 of file int32.H.

◆ rootMax

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

Definition at line 113 of file int32.H.

◆ rootMin

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

Definition at line 114 of file int32.H.


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