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

Template specialization for pTraits<int64_t> More...

Public Types

enum  { dim = 3, rank = 0, nComponents = 1 }
 
typedef int64_t cmptType
 Component type. More...
 

Public Member Functions

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

Static Public Attributes

static const char *const typeName
 
static const char * componentNames [] = { "x" }
 
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<>
class Foam::pTraits< int64_t >

Template specialization for pTraits<int64_t>

Definition at line 74 of file int64.H.

Member Typedef Documentation

typedef int64_t cmptType

Component type.

Definition at line 81 of file int64.H.

Member Enumeration Documentation

anonymous enum
Enumerator
dim 

Dimensionality of space.

rank 

Rank of int64_t is 0.

nComponents 

Number of components in int64_t is 1.

Definition at line 85 of file int64.H.

Constructor & Destructor Documentation

pTraits ( const int64_t &  p)
explicit

Construct from primitive.

Definition at line 39 of file int64.C.

pTraits ( Istream is)

Construct from Istream.

Definition at line 44 of file int64.C.

Member Function Documentation

operator int64_t ( ) const
inline

Access to the int64_t value.

Definition at line 117 of file int64.H.

operator int64_t & ( )
inline

Access to the int value.

Definition at line 123 of file int64.H.

Member Data Documentation

const char* const typeName
static

Definition at line 95 of file int64.H.

const char * componentNames = { "x" }
static

Definition at line 96 of file int64.H.

const int64_t zero = 0
static

Definition at line 97 of file int64.H.

const int64_t one = 1
static

Definition at line 98 of file int64.H.

const int64_t min = INT64_MIN
static

Definition at line 99 of file int64.H.

const int64_t max = INT64_MAX
static

Definition at line 100 of file int64.H.

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

Definition at line 101 of file int64.H.

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

Definition at line 102 of file int64.H.


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