SIMPLE SOLUTIONS

CATCHMARK(4RHEOLEF) - Linux man page online | Special files

Iostream manipulator.

Chapter
rheolef-6.7
catchmark(4rheolef) rheolef-6.7 catchmark(4rheolef)

NAME

catchmark - iostream manipulator

DESCRIPTION

The catchmark is used for building labels used for input-output of vector-valued fields (see field(2)): cin >> catchmark("f") >> fh; cout << catchmark("u") << uh << catchmark("w") << wh << catchmark("psi") << psih; Assuming its value for output is "u", the corresponding labels will be "#u0", "#u1", "#u2", ...

IMPLEMENTATION

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); protected: std::string _mark; };

SEE ALSO

field(2)
rheolef-6.7 rheolef-6.7 catchmark(4rheolef)
This manual Reference Other manuals
catchmark(4rheolef) referred by field(1rheolef) | iorheo(8rheolef)
refer to field(2rheolef)
Download raw manual
Main page rheolef-6.7 (+82) rheolef-6.7 (+82) № 4 (+981)
Go top