OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

pTraits< bool > Class Template Reference

List of all members.

Detailed Description

template<>
class Foam::pTraits< bool >

Definition at line 74 of file bool.H.


Public Types

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

Public Member Functions

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

Static Public Attributes

static const char *const typeName
static const char * componentNames []
static const bool zero
static const bool one

Member Typedef Documentation

typedef bool cmptType

Component type.

Definition at line 81 of file bool.H.


Member Enumeration Documentation

anonymous enum

Enumerator:
dim 
rank 
nComponents 

Definition at line 85 of file bool.H.


Constructor & Destructor Documentation

pTraits ( Istream &  is  ) 

Construct from Istream.


Member Function Documentation

operator bool (  )  const [inline]

Definition at line 106 of file bool.H.


Member Data Documentation

const char* const typeName [static]

Definition at line 94 of file bool.H.

const char* componentNames[] [static]

Definition at line 95 of file bool.H.

const bool zero [static]

Definition at line 96 of file bool.H.

const bool one [static]

Definition at line 97 of file bool.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/primitives/bool/bool.H
Copyright © 2000-2007 OpenCFD Ltd