39 #ifndef CompactIOList_H
40 #define CompactIOList_H
53 template<
class>
class Container,
54 template<
class>
class IOContainer,
55 template<
class>
class CompactIOContainer,
58 class CompactIOListBase;
62 template<
class>
class Container,
63 template<
class>
class IOContainer,
64 template<
class>
class CompactIOContainer,
70 const CompactIOListBase<Container, IOContainer, CompactIOContainer, Type>&
75 template<
class>
class Container,
76 template<
class>
class IOContainer,
77 template<
class>
class CompactIOContainer,
88 template<
class>
class Container,
89 template<
class>
class IOContainer,
90 template<
class>
class CompactIOContainer,
106 template<
class>
class Container,
107 template<
class>
class IOContainer,
108 template<
class>
class CompactIOContainer,
114 public Container<Type>
120 bool overflows()
const;
123 void convertToCompact
130 void convertFromCompact
137 void readFromStream(
const bool read =
true);
195 using Container<Type>::operator=;
virtual bool writeData(Ostream &) const
WriteData function required for regIOobject write operation.
virtual ~CompactIOListBase()
Destructor.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool write) const
WriteObject function. Changes the write type depending on whether.
CompactIOListBase(const IOobject &)
Construct from IOobject.
friend void writeEntry(Ostream &, const CompactIOListBase< Container, IOContainer, CompactIOContainer, Type > &)
Write list to Ostream.
A List of objects of type <Type> with automated input and output using a compact storage....
TypeName("ListList")
Runtime type information.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual bool write(const bool write=true) const
Write using setting from DB.
virtual bool read()
Read object.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)