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. More...
Public Member Functions | |
TypeName ("CompactList") | |
Runtime type information. More... | |
CompactIOList (const IOobject &) | |
Construct from IOobject. More... | |
CompactIOList (const IOobject &, const label) | |
Construct from IOobject and size of CompactIOList. More... | |
CompactIOList (const IOobject &, const List< T > &) | |
Construct from IOobject and a List. More... | |
CompactIOList (const IOobject &, const Xfer< List< T > > &) | |
Construct by transferring the List contents. More... | |
virtual | ~CompactIOList () |
virtual bool | writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const |
virtual bool | writeData (Ostream &) const |
void | operator= (const CompactIOList< T, BaseType > &) |
void | operator= (const List< T > &) |
Private Member Functions | |
void | readFromStream () |
Read according to header type. More... | |
bool | overflows () const |
Has too many elements in it? More... | |
Friends | |
Istream & | operator>> (Istream &, CompactIOList< T, BaseType > &) |
Read List from Istream, discarding contents of existing List. More... | |
Ostream & | operator (Ostream &, const CompactIOList< T, BaseType > &) |
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.
Useful for lists of small sublists e.g. faceList, cellList.
Definition at line 53 of file CompactIOList.H.
CompactIOList | ( | const IOobject & | ) |
Construct from IOobject.
CompactIOList | ( | const IOobject & | , |
const | label | ||
) |
Construct from IOobject and size of CompactIOList.
CompactIOList | ( | const IOobject & | , |
const Xfer< List< T > > & | |||
) |
Construct by transferring the List contents.
|
virtual |
Definition at line 166 of file CompactIOList.C.
|
private |
Read according to header type.
Definition at line 32 of file CompactIOList.C.
|
private |
Has too many elements in it?
Definition at line 59 of file CompactIOList.C.
TypeName | ( | "CompactList" | ) |
Runtime type information.
|
virtual |
Definition at line 175 of file CompactIOList.C.
Referenced by main().
|
virtual |
Definition at line 222 of file CompactIOList.C.
void operator= | ( | const CompactIOList< T, BaseType > & | ) |
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.