64 if (header != signature)
66 Info<<
"header mismatch " << signature <<
" " << is.
name()
80 os <<
"PROSTAR_" << filetype <<
nl 105 <<
"Cannot read file " << is.
name()
120 while ((is >> lineLabel).good())
127 dynPointId.
append(lineLabel);
149 os.
setf(std::ios::showpoint);
155 << pointLst[ptI].x() <<
" " 156 << pointLst[ptI].y() <<
" " 157 << pointLst[ptI].z() <<
nl;
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void flush()=0
Flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool good() const
Return true if next operation might succeed.
Various functions to operate on Lists.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from string.
const fileName & name() const
Return the name of the stream.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
ISstream & getLine(string &, const bool continuation=true)
Read line into a string.
vector point
Point is a vector.
Input from memory buffer stream.
void clear()
Clear the addressed list, i.e. set the size to zero.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
virtual int precision() const =0
Get precision of output field.