39 #ifndef CompactIOList_H 40 #define CompactIOList_H 56 template<
class T,
class BaseType>
Istream&
operator>>
61 template<
class T,
class BaseType>
Ostream&
operator<<
71 template<
class T,
class BaseType>
80 void readFromStream();
83 bool overflows()
const;
134 friend Istream&
operator>> <
T, BaseType>
141 friend Ostream& operator<< <T, BaseType>
A simple container for copying or transferring objects of type <T>.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool valid) const
Write using given format, version and compression.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
CompactIOList(const IOobject &)
Construct from IOobject.
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A List of objects of type <T> with automated input and output using a compact storage. Behaves like IOList except when binary output in case it writes a CompactListList.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
TypeName("CompactList")
Runtime type information.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void operator=(const CompactIOList< T, BaseType > &)
virtual bool writeData(Ostream &) const
Pure virtual writaData function.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...