---
name: "catchmark"
section: "3rheolef"
platform: "linux"
package: "librheolef-dev"
version: "7.2-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/catchmark"
---

# catchmark(3rheolef)

input/output manipulator (rheolef-7.2)

## NAME

catchmark - input/output manipulator (rheolef-7.2)

## DESCRIPTION

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

```
};
```

## AUTHOR

Pierre  Saramito  \<Pierre.Saramito@imag.fr\>

## COPYRIGHT

Copyright   (C)  2000-2018  Pierre  Saramito  \<Pierre.Saramito@imag.fr\> GPLv3+: GNU GPL version 3 or later  \<http://gnu.org/licenses/gpl.html\>. This  is  free  software:  you  are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
