38#ifndef Foam_GlobalIOList_H
39#define Foam_GlobalIOList_H
101 virtual bool global()
const
123 using List<Type>::operator=;
IOList with global data (so optionally read from master).
List< kinematicParcelInjectionData > content_type
virtual ~GlobalIOList()=default
Destructor.
GlobalIOList(const IOobject &io, const label len)
Construct from IOobject and list size (if not read).
bool writeData(Ostream &os) const
The writeData method for regIOobject write operation.
GlobalIOList(const IOobject &io, const UList< Type > &content)
Construct from IOobject and a List.
virtual bool global() const
This object is global.
void operator=(GlobalIOList< Type > &&rhs)
Move assignment of entries.
GlobalIOList(const IOobject &io, List< Type > &&content)
Construct by transferring the List content.
static List< Type > readContents(const IOobject &io)
Read and return contents. The IOobject is never registered.
GlobalIOList(const IOobject &io, Foam::zero)
Construct from IOobject and zero size (if not read).
TypeName("List")
Runtime type information.
virtual fileName filePath() const
Return complete path + object name if the file exists either in the case/processor or case otherwise ...
virtual bool readData(Istream &is)
The readData method for regIOobject read operation.
GlobalIOList(const IOobject &io)
Construct from IOobject. Will be zero size if not read.
GlobalIOList(const GlobalIOList &)=default
Default copy construct.
void operator=(const GlobalIOList< Type > &rhs)
Copy assignment of entries.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
fileName globalFilePath(const word &typeName, const bool search=true) const
Redirect to fileHandler filePath, searching up if in parallel.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void operator=(const UList< T > &list)
Assignment to UList operator. Takes linear time.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A class for handling file names.
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
OBJstream os(runTime.globalPath()/outputName)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Trait for specifying global vs. local IOobject file types.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.