Inheritance diagram for dataIO< T >:
Collaboration diagram for dataIO< T >:Public Member Functions | |
| TypeInfo ("dataIO") | |
| Type info. More... | |
| dataIO (const IOPattern &iop) | |
| dataIO (const dataIO &)=default | |
| dataIO (dataIO &&)=default | |
| dataIO & | operator= (const dataIO &)=default |
| dataIO & | operator= (dataIO &&)=default |
| virtual | ~dataIO ()=default |
| create_vCtor (dataIO, IOPattern,(const IOPattern &iop),(iop)) | |
| bool | writeData (iOstream &os, span< T > data) |
| Write data to the end of file from all processors. More... | |
| bool | readData (iIstream &is, std::vector< T > &data) |
| bool | writeData (iOstream &os, span< word > data) |
Static Public Member Functions | |
| static uniquePtr< dataIO > | create (const IOPattern &iop) |
Protected Member Functions | |
| virtual bool | gatherData (span< T > data)=0 |
| gather data from all processors and put the results in buffer_ More... | |
Protected Attributes | |
| IOPattern | ioPattern_ |
| std::vector< T > | buffer_ |
| span< T > | bufferSpan_ |
Definition at line 67 of file dataIO.hpp.
Definition at line 86 of file dataIO.hpp.
|
virtualdefault |
|
protectedpure virtual |
gather data from all processors and put the results in buffer_
Implemented in dataIORegular< T >.
| TypeInfo | ( | "dataIO< T >" | ) |
Type info.
Write data to the end of file from all processors.
This method should be called from all processors.
first gather data from all processors (if any)
Definition at line 193 of file dataIO.cpp.
References pFlow::endl(), fatalErrorInFunction, IOstream::name(), and pFlow::writeDataAsciiBinary().
Here is the call graph for this function:| bool readData | ( | iIstream & | is, |
| std::vector< T > & | data | ||
| ) |
Definition at line 245 of file dataIO.cpp.
References pFlow::readDataAsciiBinary().
Here is the call graph for this function:
|
static |
Definition at line 263 of file dataIO.cpp.
References pFlow::angleBracketsNames2(), fatalError, fatalExit, pFlow::pFlowProcessors(), and pFlow::printKeys().
Referenced by pFlow::readStdVector(), and pFlow::writeSpan().
Here is the call graph for this function:
Here is the caller graph for this function:first gather data from all processors (if any)
Definition at line 215 of file dataIO.cpp.
References pFlow::endl(), fatalErrorInFunction, fatalExit, IOstream::name(), notImplementedFunction, and pFlow::writeDataASCII().
Here is the call graph for this function:
|
protected |
Definition at line 71 of file dataIO.hpp.
|
protected |
Definition at line 73 of file dataIO.hpp.
|
protected |
Definition at line 75 of file dataIO.hpp.
Referenced by dataIORegular< T >::gatherData().