Go to the documentation of this file.
35 template<
class LListBase,
class T>
42 const label len = this->size();
46 (len <= 1 || !shortLen)
51 os << len << token::BEGIN_LIST;
55 for (
const T& val : *
this)
57 if (space) os << token::SPACE;
63 os << token::END_LIST;
68 os <<
nl << len <<
nl << token::BEGIN_LIST <<
nl;
71 for (
const T& val : *
this)
77 os << token::END_LIST;
86 template<
class LListBase,
class T>
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & writeList(Ostream &os, const label shortLen=0) const
Write UILList with line-breaks when length exceeds shortLen.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Template class for intrusive linked lists.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...