Internal class used by the AC3DsurfaceFormat. More...
Static Protected Member Functions | |
template<class Type > | |
static Type | parse (const string &) |
Read a type via IStringStream. More... | |
static bool | readCmd (IFstream &, string &cmd, string &args) |
Read cmd, args from IFstream. More... | |
static bool | cueTo (IFstream &, const string &cmd, string &args) |
Cue up to cmd, reading args. More... | |
static string | cueToOrDie (IFstream &, const string &cmd, const string &errorMsg=string::null) |
Cue up to cmd, reading args or exit with a FatalError. More... | |
static void | writeHeader (Ostream &, const UList< surfZone > &) |
Write header with materials. More... | |
Internal class used by the AC3DsurfaceFormat.
Definition at line 53 of file AC3DsurfaceFormatCore.H.
|
staticprotected |
Read a type via IStringStream.
Definition at line 32 of file AC3DsurfaceFormatCoreTemplates.C.
References s().
Read cmd, args from IFstream.
Definition at line 33 of file AC3DsurfaceFormatCore.C.
References args, ISstream::getLine(), and IOstream::good().
Cue up to cmd, reading args.
Definition at line 61 of file AC3DsurfaceFormatCore.C.
References args, ISstream::getLine(), and IOstream::good().
|
staticprotected |
Cue up to cmd, reading args or exit with a FatalError.
returns the command args
Definition at line 90 of file AC3DsurfaceFormatCore.C.
References args, Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Write header with materials.
Definition at line 110 of file AC3DsurfaceFormatCore.C.
References Foam::endl(), forAll, Foam::nl, and UList< T >::size().