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

coordinateSystems Class Reference

Provides a centralized coordinateSystem collection. More...

Inheritance diagram for coordinateSystems:
Collaboration diagram for coordinateSystems:

List of all members.


Public Member Functions

 TypeName ("coordinateSystems")
 Runtime type information.
 coordinateSystems (const IOobject &)
 Read construct from IOobject.
 coordinateSystems (const IOobject &, const PtrList< coordinateSystem > &)
 Construct from IOobject and a PtrList.
 coordinateSystems (const IOobject &, const Xfer< PtrList< coordinateSystem > > &)
 Construct from IOobject and transferring the PtrList contents.
label find (const word &key) const
 Find and return index for a given keyword, returns -1 if not found.
bool found (const word &keyword) const
 Search for given keyword.
wordList toc () const
 Return the table of contents (list of all keywords).
bool writeData (Ostream &, bool subDict=true) const
 write data

Static Public Member Functions

static const coordinateSystems & New (const objectRegistry &)
 Return previously registered or read construct from "constant".

Detailed Description

Provides a centralized coordinateSystem collection.

Note:
Mixing normal constructors and the coordinateSystems::New constructor may yield unexpected results.
Source files

Definition at line 48 of file coordinateSystems.H.


Constructor & Destructor Documentation

coordinateSystems ( const IOobject &  io  )  [explicit]

Read construct from IOobject.

Definition at line 32 of file coordinateSystems.C.

References Foam::defineTemplateTypeNameAndDebug(), and Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

coordinateSystems ( const IOobject &  io,
const PtrList< coordinateSystem > &  lst 
)

Construct from IOobject and a PtrList.

Definition at line 39 of file coordinateSystems.C.

coordinateSystems ( const IOobject &  io,
const Xfer< PtrList< coordinateSystem > > &  lst 
)

Construct from IOobject and transferring the PtrList contents.

Definition at line 49 of file coordinateSystems.C.


Member Function Documentation

TypeName ( "coordinateSystems"   ) 

Runtime type information.

const Foam::coordinateSystems & New ( const objectRegistry &  obr  )  [static]

Return previously registered or read construct from "constant".

Definition at line 62 of file coordinateSystems.C.

Foam::label find ( const word &  key  )  const

Find and return index for a given keyword, returns -1 if not found.

Definition at line 92 of file coordinateSystems.C.

bool found ( const word &  keyword  )  const

Search for given keyword.

Definition at line 106 of file coordinateSystems.C.

Foam::wordList toc (  )  const

Return the table of contents (list of all keywords).

Definition at line 112 of file coordinateSystems.C.

bool writeData ( Ostream &  os,
bool  subDict = true 
) const

write data

Definition at line 125 of file coordinateSystems.C.

References coordinateSystem::name(), and PtrList< coordinateSystem >::operator[]().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd