45#ifndef Foam_primitiveEntry_H
46#define Foam_primitiveEntry_H
91 const string& varName,
100 const word& functionName,
writer write("magLe", fld)
fileName relativeName() const
Return the name of the stream relative to the current case.
An input stream of tokens.
virtual const fileName & name() const override
The name of the input token stream.
virtual Istream & read(token &tok) override
Return next token from stream.
label endLineNumber() const
The line number of the last token in stream.
const tokenList & tokens() const noexcept
The token contents (read-only access).
ITstream(const ITstream &is)
Copy construct.
label startLineNumber() const
The line number of the first token in stream.
A helper class for outputting values to Ostream.
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...
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...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
entry(const keyType &keyword)
Construct from keyword.
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
A class for handling file names.
A class for handling keywords in dictionaries.
A keyword and a list of tokens comprise a primitiveEntry. A primitiveEntry can be read,...
virtual fileName & name()
Return token stream name for modification.
primitiveEntry(const keyType &key)
Construct from keyword and no tokens.
virtual ITstream * streamPtr() const noexcept
Return pointer to token stream for this primitive entry.
virtual fileName relativeName() const
Return token stream name relative to the current case.
virtual const fileName & name() const
Return the token stream name.
InfoProxy< primitiveEntry > info() const noexcept
Return info proxy, to print token information to a stream.
virtual void write(Ostream &os) const
Write.
virtual label startLineNumber() const
The line number of the first token in the entry.
virtual bool read(const dictionary &dict, Istream &is)
Read tokens from the given stream.
autoPtr< entry > clone(const dictionary &) const
Clone the entry.
virtual ITstream & stream() const
Return token stream for this primitive entry.
virtual const dictionary & dict() const
This entry is not a dictionary, calling this function generates a FatalError.
virtual label endLineNumber() const
The line number of the last token in the entry.
A token holds an item read from Istream.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
bool read(const char *buf, int32_t &val)
Same as readInt32.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)