FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

pTraits< bool > Class Template Reference

#include <src/OpenFOAM/primitives/bools/bool/bool.H>


Detailed Description

template<>
class Foam::pTraits< bool >

Definition at line 64 of file bool.H.

List of all members.

Public Types

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

Public Member Functions

 pTraits (const bool b)
 Construct from bool.
 pTraits (Istream &)
 Construct from Istream.
 operator bool () const
 operator bool & ()

Static Public Attributes

static const char *const  typeName = "bool"
static const char *  componentNames [] = { "x" }
static const bool  zero
static const bool  one

Member Typedef Documentation

typedef bool cmptType

Component type.

Definition at line 71 of file bool.H.


Member Enumeration Documentation

anonymous enum
Enumerator:
dim 
rank 
nComponents 

Definition at line 75 of file bool.H.


Constructor & Destructor Documentation

pTraits ( const bool   b  ) [inline]

Construct from bool.

Definition at line 94 of file bool.H.

References b.

pTraits ( Istream &   is  )

Construct from Istream.

Definition at line 36 of file bool.C.


Member Function Documentation

operator bool (  ) const [inline]

Definition at line 105 of file bool.H.

operator bool & (  ) [inline]

Definition at line 110 of file bool.H.


Member Data Documentation

const char *const typeName = "bool" [static]

Definition at line 85 of file bool.H.

const char * componentNames = { "x" } [static]

Definition at line 86 of file bool.H.

const bool zero [static]

Definition at line 87 of file bool.H.

const bool one [static]

Definition at line 88 of file bool.H.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/primitives/bools/bool/bool.H
  • src/OpenFOAM/primitives/bools/bool/bool.C