`catchmark`

input/output manipulator

# Description

The `catchmark` input/output manipulator is used for defining labels associated to `field` when saving them on files:

        dout << catchmark("u")   << uh
             << catchmark("w")   << wh
             << catchmark("psi") << psih;

Then, the read is performed similarly:

        din  >> catchmark("u")   >> uh
             >> catchmark("w")   >> wh
             >> catchmark("psi") >> psih;

See also `diststream`.

# Implementation

This documentation has been generated from file util/lib/catchmark.h

class catchmark {
public:
catchmark(const std::string& x);
const std::string& mark() const { return _mark; }
friend std::istream& operator >> (std::istream& is, const catchmark& m);
friend std::ostream& operator << (std::ostream& os, const catchmark& m);
rheolef::catchmark::_mark
std::string _mark
Definition: catchmark.h:75
rheolef::catchmark::operator>>
friend std::istream & operator>>(std::istream &is, const catchmark &m)
Definition: catchmark.h:88
rheolef::catchmark::operator<<
friend std::ostream & operator<<(std::ostream &os, const catchmark &m)
Definition: catchmark.h:99
rheolef::catchmark::catchmark
catchmark(const std::string &x)
Definition: catchmark.h:82
rheolef::catchmark::mark
const std::string & mark() const
Definition: catchmark.h:70
mkgeo_sector.m
m
Definition: mkgeo_sector.sh:118
};