41 if (os.format() == IOstream::ASCII || !contiguous<T>())
45 if (L.size() > 1 && contiguous<T>())
62 os << L.size() << token::BEGIN_BLOCK;
68 os << token::END_BLOCK;
70 else if (L.size() <= 1 || (L.size() < 11 && contiguous<T>()))
73 os << L.size() << token::BEGIN_LIST;
78 if (i) os << token::SPACE;
83 os << token::END_LIST;
88 os <<
nl << L.size() <<
nl << token::BEGIN_LIST;
97 os <<
nl << token::END_LIST <<
nl;
104 os <<
nl << L.size() <<
nl;
112 reinterpret_cast<const char*
>(lst.cdata()),
119 os.check(
"Ostream& operator<<(Ostream&, const UIndirectList&)");
#define forAll(list, i)
Loop across all elements in list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A List with indirect addressing.
Template function to specify if the data of a type are contiguous.