Go to the documentation of this file.
38 if (os.
format() == IOstream::ASCII)
46 reinterpret_cast<const char*
>(&wDist.normal_),
58 if (is.
format() == IOstream::ASCII)
67 readRawScalar(is, wDist.normal_.
data(), vector::nComponents);
75 reinterpret_cast<char*
>(&wDist.normal_),
streamFormat format() const noexcept
Get the current stream format.
Cmpt * data() noexcept
Return pointer to the first data element.
Istream & operator>>(Istream &, directionInfo &)
virtual bool endRawRead()=0
End of low-level raw binary read.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
std::enable_if< std::is_integral< T >::value, bool >::type checkLabelSize() const
virtual bool check(const char *operation) const
Check IOstream status for given operation.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
virtual bool beginRawRead()=0
Start of low-level raw binary read.
std::enable_if< std::is_floating_point< T >::value, bool >::type checkScalarSize() const
Holds information regarding nearest wall point. Used in wall refinement.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Istream & read(token &)=0
Return next token from stream.