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

Public Types

typedef bool cmptType
 
typedef bool magType
 

Public Member Functions

 pTraits (const bool &p) noexcept
 
 pTraits (Istream &is)
 
 operator bool () const noexcept
 
 operator bool & () noexcept
 

Static Public Attributes

static constexpr direction dim = 3
 
static constexpr direction rank = 0
 
static constexpr direction nComponents = 1
 
static const char *const typeName = "bool"
 
static const char *const componentNames [] = { "" }
 
static const bool zero = false
 
static const bool one = true
 

Detailed Description

Definition at line 76 of file bool.H.

Member Typedef Documentation

◆ cmptType

typedef bool cmptType

Definition at line 85 of file bool.H.

◆ magType

typedef bool magType

Definition at line 88 of file bool.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const bool p)
explicitnoexcept

Definition at line 38 of file bool.C.

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Definition at line 44 of file bool.C.

Member Function Documentation

◆ operator bool()

operator bool ( ) const
inlinenoexcept

Definition at line 123 of file bool.H.

◆ operator bool &()

operator bool & ( )
inlinenoexcept

Definition at line 129 of file bool.H.

Member Data Documentation

◆ dim

constexpr direction dim = 3
staticconstexpr

Definition at line 94 of file bool.H.

◆ rank

constexpr direction rank = 0
staticconstexpr

Definition at line 97 of file bool.H.

◆ nComponents

constexpr direction nComponents = 1
staticconstexpr

Definition at line 100 of file bool.H.

◆ typeName

const char *const typeName = "bool"
static

Definition at line 105 of file bool.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 106 of file bool.H.

◆ zero

const bool zero = false
static

Definition at line 107 of file bool.H.

◆ one

const bool one = true
static

Definition at line 108 of file bool.H.


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