Loading...
Searching...
No Matches
pTraits< int64_t > Class Reference

Template specialization for pTraits<int64_t>. More...

#include <int64.H>

Inheritance diagram for pTraits< int64_t >:
Collaboration diagram for pTraits< int64_t >:

Public Types

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

Public Member Functions

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

Static Public Attributes

static constexpr direction dim = 3
 Dimensionality of space.
static constexpr direction rank = 0
 Rank of int64_t is 0.
static constexpr direction nComponents = 1
 Number of components in int64_t is 1.
static constexpr int64_t min_ = INT64_MIN
static constexpr int64_t max_ = INT64_MAX
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 = INT64_MAX
static const int64_t rootMin = INT64_MIN

Detailed Description

Template specialization for pTraits<int64_t>.

Definition at line 163 of file int64.H.

Member Typedef Documentation

◆ cmptType

typedef int64_t cmptType

Component type.

Definition at line 174 of file int64.H.

◆ magType

typedef int64_t magType

Magnitude type.

Definition at line 179 of file int64.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( int64_t val)
inlineexplicitnoexcept

Copy construct from primitive.

Definition at line 223 of file int64.H.

References Foam::noexcept.

◆ pTraits() [2/2]

pTraits ( Istream & is)
explicit

Read construct from Istream.

Definition at line 38 of file int64.C.

Member Function Documentation

◆ operator int64_t()

operator int64_t ( ) const
inlinenoexcept

Return the value.

Definition at line 236 of file int64.H.

References Foam::noexcept.

◆ operator int64_t &()

operator int64_t & ( )
inlinenoexcept

Access the value.

Definition at line 241 of file int64.H.

Member Data Documentation

◆ dim

direction dim = 3
staticconstexpr

Dimensionality of space.

Definition at line 187 of file int64.H.

◆ rank

direction rank = 0
staticconstexpr

Rank of int64_t is 0.

Definition at line 192 of file int64.H.

◆ nComponents

direction nComponents = 1
staticconstexpr

Number of components in int64_t is 1.

Definition at line 197 of file int64.H.

◆ min_

int64_t min_ = INT64_MIN
staticconstexpr

Definition at line 202 of file int64.H.

◆ max_

int64_t max_ = INT64_MAX
staticconstexpr

Definition at line 203 of file int64.H.

◆ typeName

const char* const typeName
static

Definition at line 208 of file int64.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 26 of file int64.H.

◆ zero

const int64_t zero = 0
static

Definition at line 210 of file int64.H.

◆ one

const int64_t one = 1
static

Definition at line 211 of file int64.H.

◆ min

const int64_t min = INT64_MIN
static

Definition at line 212 of file int64.H.

◆ max

const int64_t max = INT64_MAX
static

Definition at line 213 of file int64.H.

◆ rootMax

const int64_t rootMax = INT64_MAX
static

Definition at line 214 of file int64.H.

◆ rootMin

const int64_t rootMin = INT64_MIN
static

Definition at line 215 of file int64.H.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/primitives/ints/int64/int64.H
  • src/OpenFOAM/primitives/complex/complex.C
  • src/OpenFOAM/primitives/ints/int64/int64.C