Public Member Functions | List of all members
pTraits< PrimitiveType > Class Template Reference

Traits class for primitives. More...

Inheritance diagram for pTraits< PrimitiveType >:
Inheritance graph
[legend]
Collaboration diagram for pTraits< PrimitiveType >:
Collaboration graph
[legend]

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 ( const PrimitiveType &  p)
inline

Construct from primitive.

Definition at line 60 of file pTraits.H.

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: