catchmark(3rheolef)

catchmark3rheolef

Input/output manipulator (rheolef-7.2)

Overview

The catchmark input/output manipulator is used for defining labels associated to field(2) 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(2).

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);
};

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Pierre Saramito <[email protected]>

From librheolef-dev 7.2-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.