pTraits< int8_t > Class Template Reference

Template specialization for pTraits<int8_t> More...

Public Types

typedef int8_t cmptType
 Component type. More...
 

Public Member Functions

 pTraits (int8_t val) noexcept
 Copy construct from primitive. More...
 
 pTraits (Istream &is)
 Read construct from Istream. More...
 
 operator int8_t () const noexcept
 Return the value. More...
 
 operator int8_t & () noexcept
 Access the value. More...
 

Static Public Attributes

static constexpr direction dim = 3
 Dimensionality of space. More...
 
static constexpr direction rank = 0
 Rank of int8_t is 0. More...
 
static constexpr direction nComponents = 1
 Number of components in int8_t is 1. More...
 
static const char *const typeName = "int8"
 
static const char *const componentNames [] = { "" }
 
static const int8_t zero = 0
 
static const int8_t one = 1
 
static const int8_t min = INT8_MIN
 
static const int8_t max = INT8_MAX
 
static const int8_t rootMax = INT8_MAX
 
static const int8_t rootMin = INT8_MIN
 

Detailed Description

template<>
class Foam::pTraits< int8_t >

Template specialization for pTraits<int8_t>

Definition at line 94 of file int8.H.

Member Typedef Documentation

◆ cmptType

typedef int8_t cmptType

Component type.

Definition at line 105 of file int8.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( int8_t  val)
inlineexplicitnoexcept

Copy construct from primitive.

Definition at line 143 of file int8.H.

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Read construct from Istream.

Definition at line 39 of file int8.C.

Member Function Documentation

◆ operator int8_t()

operator int8_t ( ) const
inlinenoexcept

Return the value.

Definition at line 159 of file int8.H.

◆ operator int8_t &()

operator int8_t & ( )
inlinenoexcept

Access the value.

Definition at line 164 of file int8.H.

Member Data Documentation

◆ dim

constexpr direction dim = 3
static

Dimensionality of space.

Definition at line 113 of file int8.H.

◆ rank

constexpr direction rank = 0
static

Rank of int8_t is 0.

Definition at line 118 of file int8.H.

◆ nComponents

constexpr direction nComponents = 1
static

Number of components in int8_t is 1.

Definition at line 123 of file int8.H.

◆ typeName

const char *const typeName = "int8"
static

Definition at line 128 of file int8.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 129 of file int8.H.

◆ zero

const int8_t zero = 0
static

Definition at line 130 of file int8.H.

◆ one

const int8_t one = 1
static

Definition at line 131 of file int8.H.

◆ min

const int8_t min = INT8_MIN
static

Definition at line 132 of file int8.H.

◆ max

const int8_t max = INT8_MAX
static

Definition at line 133 of file int8.H.

◆ rootMax

const int8_t rootMax = INT8_MAX
static

Definition at line 134 of file int8.H.

◆ rootMin

const int8_t rootMin = INT8_MIN
static

Definition at line 135 of file int8.H.


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