catchmark(3rheolef)

πŸ“¦
version 7.2 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

✨ NAME ✨

okay so bestie, gather round πŸ’– this is catchmark β€” the input/output manipulator from rheolef-7.2. yes that's the whole name, she's lowkey humble like that πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so the catchmark input/output manipulator is literally the girl who labels your stuff πŸ’… she's used for defining labels associated to field(2) when saving them on files. like, you tag your fields so future-you knows which one is which, no cap.

here's the save moment, bestie:

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

and then reading is done the same way, it's giving symmetry ✨:

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

also go peek at diststream(2) β€” she's in the same friend group 🫢


🌸 IMPLEMENTATION 🌸

okay so this documentation has been generated from file util/lib/catchmark.h β€” yes, she's that girl, fully sourced πŸ‘‘

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> β€” the icon, the legend, the moment 🌟


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.

fr fr read that again: free to change, free to redistribute, and NO WARRANTY β€” so don't come for her if things go sideways 😭

okay that's the whole page bestie, mwah πŸ’‹ sending you off with love from the rheolef girlies β€” this is Version 7.2 and yes she's catchmark(3rheolef) through and through βœ¨πŸŽ€πŸ’–

πŸ“¦ where this page comes from