pTraits< PrimitiveType > Class Template Reference

Traits class for primitives. More...

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

Public Member Functions

 pTraits (const PrimitiveType &p)
 Construct from primitive. More...
 
 pTraits (Istream &is)
 Construct from Istream. More...
 

Detailed Description

template<class PrimitiveType>
class Foam::pTraits< PrimitiveType >

Traits class for primitives.

All primitives need a specialised version of this class. The specialised version will normally also require a conversion method.

Definition at line 50 of file pTraits.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const PrimitiveType &  p)
inline

Construct from primitive.

Definition at line 60 of file pTraits.H.

◆ pTraits() [2/2]

pTraits ( Istream is)
inline

Construct from Istream.

Definition at line 66 of file pTraits.H.


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