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

AC3DsurfaceFormatCore Class Reference

Internal class used by the AC3DsurfaceFormat. More...

Inheritance diagram for AC3DsurfaceFormatCore:

List of all members.


Static Protected Member Functions

template<class Type >
static Type parse (const string &)
 Read a type via IStringStream.
static bool readCmd (IFstream &, string &cmd, string &args)
 Read cmd, args from IFstream.
static bool cueTo (IFstream &, const string &cmd, string &args)
 Cue up to cmd, reading args.
static string cueToOrDie (IFstream &, const string &cmd, const string &errorMsg=string::null)
 Cue up to cmd, reading args or exit with a FatalError.
static void writeHeader (Ostream &, const UList< surfZone > &)
 Write header with materials.

Detailed Description

Internal class used by the AC3DsurfaceFormat.

Source files

Definition at line 49 of file AC3DsurfaceFormatCore.H.


Member Function Documentation

Type parse ( const string s  )  [inline, static, protected]

Read a type via IStringStream.

Definition at line 24 of file AC3DsurfaceFormatCoreTemplates.C.

bool readCmd ( IFstream is,
string cmd,
string args 
) [static, protected]

Read cmd, args from IFstream.

Definition at line 26 of file AC3DsurfaceFormatCore.C.

References ISstream::getLine(), and IOstream::good().

Here is the call graph for this function:

bool cueTo ( IFstream is,
const string cmd,
string args 
) [static, protected]

Cue up to cmd, reading args.

Definition at line 54 of file AC3DsurfaceFormatCore.C.

Foam::string cueToOrDie ( IFstream is,
const string cmd,
const string errorMsg = string::null 
) [static, protected]

Cue up to cmd, reading args or exit with a FatalError.

returns the command args

Definition at line 83 of file AC3DsurfaceFormatCore.C.

void writeHeader ( Ostream os,
const UList< surfZone > &  zoneLst 
) [static, protected]

Write header with materials.

Definition at line 106 of file AC3DsurfaceFormatCore.C.


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