OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

pTraits< bool > Class Template Reference

List of all members.


Public Types

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

Public Member Functions

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

Static Public Attributes

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

Detailed Description

template<>
class Foam::pTraits< bool >

Definition at line 58 of file bool.H.


Member Typedef Documentation

typedef bool cmptType

Component type.

Definition at line 65 of file bool.H.


Member Enumeration Documentation

anonymous enum

Enumerator:
dim 
rank 
nComponents 

Definition at line 69 of file bool.H.


Constructor & Destructor Documentation

pTraits ( Istream &  is  ) 

Construct from Istream.

Definition at line 28 of file bool.C.


Member Function Documentation

operator bool (  )  const [inline]

Definition at line 90 of file bool.H.


Member Data Documentation

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

Definition at line 78 of file bool.H.

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

Definition at line 79 of file bool.H.

const bool zero [static]

Definition at line 80 of file bool.H.

const bool one [static]

Definition at line 81 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
Copyright © 2000-2009 OpenCFD Ltd