edgeMeshFormatsCore Class Reference

A collection of helper functions for reading/writing edge formats. More...

Inheritance diagram for edgeMeshFormatsCore:
[legend]
Collaboration diagram for edgeMeshFormatsCore:
[legend]

Public Member Functions

 edgeMeshFormatsCore ()=default
 Default construct. More...
 
virtual ~edgeMeshFormatsCore ()=default
 Destructor. More...
 

Static Public Member Functions

static bool checkSupport (const wordHashSet &available, const word &fileType, const bool verbose=false, const char *functionName=nullptr)
 Verbose checking of fileType in the list of available types. More...
 

Static Public Attributes

static word nativeExt
 The file extension corresponding to 'native' edge format. More...
 

Static Protected Member Functions

static string getLineNoComment (ISstream &is, const char comment='#')
 Read non-comment line. More...
 

Detailed Description

A collection of helper functions for reading/writing edge formats.

Source files

Definition at line 60 of file edgeMeshFormatsCore.H.

Constructor & Destructor Documentation

◆ edgeMeshFormatsCore()

edgeMeshFormatsCore ( )
default

Default construct.

◆ ~edgeMeshFormatsCore()

virtual ~edgeMeshFormatsCore ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getLineNoComment()

Foam::string getLineNoComment ( ISstream is,
const char  comment = '#' 
)
staticprotected

Read non-comment line.

Definition at line 41 of file edgeMeshFormatsCore.C.

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

Here is the call graph for this function:

◆ checkSupport()

bool checkSupport ( const wordHashSet available,
const word fileType,
const bool  verbose = false,
const char *  functionName = nullptr 
)
static

Verbose checking of fileType in the list of available types.

Definition at line 158 of file edgeMeshFormatsCore.C.

References Foam::flatOutput(), HashTable< T, Key, Hash >::found(), Foam::Info, Foam::nl, and HashTable< T, Key, Hash >::sortedToc().

Here is the call graph for this function:

Member Data Documentation

◆ nativeExt

Foam::word nativeExt
static

The file extension corresponding to 'native' edge format.

Normally "eMesh" (edge-mesh)

Definition at line 75 of file edgeMeshFormatsCore.H.


The documentation for this class was generated from the following files: