73 <<
"Cannot read file " << filename
77 const fileName fName(typeFilePath<featureEdgeMesh>(
io));
84 ok =
io.readHeader(is);
88 ok =
read(is, this->storedPoints(), this->storedEdges());
127 <<
"bad output stream " <<
os.name()
131 os <<
"\n// points:" <<
nl << pointLst <<
nl
132 <<
"\n// edges:" <<
nl << edgeLst <<
nl;
169 <<
"Cannot open file for writing " << filename
179 <<
"Cannot write header"
Input from file stream, using an ISstream.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static Ostream & writeDivider(Ostream &os)
Write the standard file section divider.
The IOstreamOption is a simple container for options an IOstream can normally have.
bool good() const noexcept
True if next operation might succeed.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Output to file stream, using an OSstream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool read()
Re-read model coefficients if they have changed.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static std::string dateTime()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Area discretisation.
A class for handling file names.
virtual bool write()
Write the output fields.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
bool read(const char *buf, int32_t &val)
Same as readInt32.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
static const char *const typeName
The type name used in ensight case files.