Internal class used by the AC3DsurfaceFormat. More...
#include <surfMesh/AC3DsurfaceFormatCore.H>
Internal class used by the AC3DsurfaceFormat.
Definition at line 54 of file AC3DsurfaceFormatCore.H.
Inheritance diagram for AC3DsurfaceFormatCore: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.
| |
| Type parse | ( | const string & | s ) | [static, protected]
|
Read a type via IStringStream.
Definition at line 32 of file AC3DsurfaceFormatCoreTemplates.C.
Read cmd, args from IFstream.
Definition at line 34 of file AC3DsurfaceFormatCore.C.
References ISstream::getLine(), and IOstream::good().
Cue up to cmd, reading args.
Definition at line 62 of file AC3DsurfaceFormatCore.C.
References ISstream::getLine(), and IOstream::good().
| 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 91 of file AC3DsurfaceFormatCore.C.
References args, Foam::exit(), Foam::FatalError, and FatalErrorIn.
Write header with materials.
Definition at line 114 of file AC3DsurfaceFormatCore.C.
References Foam::endl(), forAll, Foam::nl, and UList< T >::size().