36 if (os.
format() == IOstream::ASCII)
38 os << wDist.refinementCount_ << token::SPACE << wDist.count_;
44 reinterpret_cast<const char*>(&wDist.refinementCount_),
50 os.
check(
"Ostream& operator<<(Ostream&, const refinementData&)");
57 if (is.
format() == IOstream::ASCII)
59 is >> wDist.refinementCount_ >> wDist.count_;
65 reinterpret_cast<char*>(&wDist.refinementCount_),
71 is.
check(
"Istream& operator>>(Istream&, refinementData&)");
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual Istream & read(token &)=0
Return next token from stream.
Istream & operator>>(Istream &, directionInfo &)
streamFormat format() const
Return current stream format.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Transfers refinement levels such that slow transition between levels is maintained. Used in FaceCellWave.
virtual Ostream & write(const token &)=0
Write next token to stream.