Go to the documentation of this file.
81 <<
"Cannot read file " << filename
95 ok =
read(is, this->storedPoints(), this->storedEdges());
137 <<
"bad output stream " << os.
name()
141 os <<
"\n// points:" <<
nl << pointLst <<
nl
142 <<
"\n// edges:" <<
nl << edgeLst <<
nl;
144 IOobject::writeDivider(os);
149 "edgeMeshFormat::write"
150 "(Ostream&, const pointField&, const edgeList&)"
182 io.
note() =
"written " + clock::dateTime();
192 ) <<
"Cannot open file for writing " << filename
197 bool ok = io.
writeHeader(os, featureEdgeMesh::typeName);
204 ) <<
"Cannot write header"
211 os.
check(
"edgeMeshFormat::write(Ostream&)");
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
fileName filePath() const
Return complete path + object name if the file exists.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling file names.
bool read(const char *, int32_t &)
fileName path() const
Return directory path name (part before last /)
word name() const
Return file name (part beyond last /)
bool headerOk()
Read and check header info.
bool writeHeader(Ostream &) const
Write header.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool check(const char *operation) const
Check IOstream status for given operation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
bool readHeader(Istream &)
Read header.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.
Points connected by edges.
virtual const fileName & name() const
Return the name of the stream.
string & note()
Return non-constant access to the optional note.