pTraits< char > Class Template Reference

Template specialisation for pTraits<char> More...

Public Member Functions

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

Static Public Attributes

static const char *const typeName = "char"
 

Detailed Description

template<>
class Foam::pTraits< char >

Template specialisation for pTraits<char>

Definition at line 91 of file char.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( char  val)
inlineexplicitnoexcept

Copy construct from primitive.

Definition at line 107 of file char.H.

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Read construct from Istream.

Definition at line 32 of file char.C.

Member Function Documentation

◆ operator char()

operator char ( ) const
inlinenoexcept

Return the value.

Definition at line 123 of file char.H.

◆ operator char &()

operator char & ( )
inlinenoexcept

Access the value.

Definition at line 128 of file char.H.

Member Data Documentation

◆ typeName

const char *const typeName = "char"
static

Definition at line 99 of file char.H.


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