1# ifndef _RHEO_CATCHMARK_H
2# define _RHEO_CATCHMARK_H
60#include "rheolef/iorheo.h"
61#include "rheolef/rheostream.h"
90 is >> setmark(m._mark);
91 std::string label =
"#"+m._mark;
93 warning_macro (
"catchmark: label `"<< label <<
"' not found on input");
101 os << setmark(m._mark);
102 os <<
"#" << m._mark << std::endl;
see the catchmark page for the full documentation
const std::string & mark() const
friend std::ostream & operator<<(std::ostream &os, const catchmark &m)
catchmark(const std::string &x)
friend std::istream & operator>>(std::istream &is, const catchmark &m)
#define warning_macro(message)
This file is part of Rheolef.
std::ostream & operator<<(std::ostream &os, const catchmark &m)
bool scatch(std::istream &in, const std::string &ch, bool full_match=true)
scatch: see the rheostream page for the full documentation
std::istream & operator>>(std::istream &is, const catchmark &m)