40 pointEdgesPtr_(
nullptr)
50 pointEdgesPtr_(nullptr)
64 return read(unzipName, unzipName.
ext());
68 return read(name, ext);
99 writefileExtensionMemberFunctionTable::iterator mfIter =
100 writefileExtensionMemberFunctionTablePtr_->find(ext);
102 if (mfIter == writefileExtensionMemberFunctionTablePtr_->end())
105 <<
"Unknown file extension " << ext <<
nl <<
nl 106 <<
"Valid types are :" <<
endl 107 << writefileExtensionMemberFunctionTablePtr_->sortedToc()
132 os.
check(
"Ostream& operator<<(Ostream&, const edgeMesh&)");
142 em.pointEdgesPtr_.clear();
145 is.
check(
"Istream& operator>>(Istream&, edgeMesh&)");
void transfer(edgeMesh &)
Transfer the contents of the argument and annul the argument.
A class for handling file names.
Ostream & indent(Ostream &os)
Indent stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool read(const fileName &, const word &ext)
Read from file. Chooses reader based on explicit extension.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
static autoPtr< edgeMesh > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A bounding box defined in terms of the points at its extremities.
word ext() const
Return file name extension (part after last .)
edgeMesh()
Construct null.
A class for handling words, derived from string.
Istream & operator>>(Istream &, directionInfo &)
const edgeList & edges() const
Return edges.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const pointField & points() const
Return points.
Points connected by edges.
virtual void writeStats(Ostream &) const
word name(const complex &)
Return a string representation of a complex.
Ostream & operator<<(Ostream &, const ensightPart &)
static void write(const fileName &, const edgeMesh &)
Write to file.
fileName lessExt() const
Return file name without extension (part before last .)
#define InfoInFunction
Report an information message using Foam::Info.