pTraits< int64_t > Class Reference

Template specialization for pTraits<int64_t> More...

Public Types

typedef int64_t cmptType
 Component type. More...
 
typedef int64_t magType
 Magnitude type. More...
 

Public Member Functions

 pTraits (int64_t val) noexcept
 Copy construct from primitive. More...
 
 pTraits (Istream &is)
 Read construct from Istream. More...
 
 operator int64_t () const noexcept
 Return the value. More...
 
 operator int64_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 int64_t is 0. More...
 
static constexpr direction nComponents = 1
 Number of components in int64_t is 1. More...
 
static const char *const typeName
 
static const char *const componentNames [] = { "" }
 
static const int64_t zero = 0
 
static const int64_t one = 1
 
static const int64_t min = INT64_MIN
 
static const int64_t max = INT64_MAX
 
static const int64_t rootMax = pTraits<int64_t>::max
 
static const int64_t rootMin = pTraits<int64_t>::min
 

Detailed Description

Template specialization for pTraits<int64_t>

Definition at line 135 of file int64.H.

Member Typedef Documentation

◆ cmptType

typedef int64_t cmptType

Component type.

Definition at line 144 of file int64.H.

◆ magType

typedef int64_t magType

Magnitude type.

Definition at line 147 of file int64.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( int64_t  val)
inlineexplicitnoexcept

Copy construct from primitive.

Definition at line 177 of file int64.H.

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Read construct from Istream.

Definition at line 45 of file int64.C.

Member Function Documentation

◆ operator int64_t()

operator int64_t ( ) const
inlinenoexcept

Return the value.

Definition at line 189 of file int64.H.

◆ operator int64_t &()

operator int64_t & ( )
inlinenoexcept

Access the value.

Definition at line 195 of file int64.H.

Member Data Documentation

◆ dim

constexpr direction dim = 3
staticconstexpr

Dimensionality of space.

Definition at line 153 of file int64.H.

◆ rank

constexpr direction rank = 0
staticconstexpr

Rank of int64_t is 0.

Definition at line 156 of file int64.H.

◆ nComponents

constexpr direction nComponents = 1
staticconstexpr

Number of components in int64_t is 1.

Definition at line 159 of file int64.H.

◆ typeName

const char* const typeName
static

Definition at line 164 of file int64.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 165 of file int64.H.

◆ zero

const int64_t zero = 0
static

Definition at line 166 of file int64.H.

◆ one

const int64_t one = 1
static

Definition at line 167 of file int64.H.

◆ min

const int64_t min = INT64_MIN
static

Definition at line 168 of file int64.H.

◆ max

const int64_t max = INT64_MAX
static

Definition at line 169 of file int64.H.

◆ rootMax

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

Definition at line 170 of file int64.H.

◆ rootMin

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

Definition at line 171 of file int64.H.


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