Go to the documentation of this file.
30 template<
class StringType>
42 return base + (
'.' +
group);
48 const std::string& scope,
57 return scope + (IOobject::scopeSeparator +
name);
85 return headerClassName_;
91 return headerClassName_;
109 return registerObject_;
115 bool old(registerObject_);
116 registerObject_ = on;
123 return globalObject_;
129 bool old(globalObject_);
137 return static_cast<unsigned>(sizeofLabel_);
143 return static_cast<unsigned>(sizeofScalar_);
151 return (clsName == headerClassName_);
158 return (Type::typeName == headerClassName_);
224 return objState_ == GOOD;
230 return objState_ == BAD;
word lessExt() const
Return word without extension (part before last .)
A class for handling words, derived from Foam::string.
A class for handling file names.
bool registerObject() const noexcept
Should object created with this IOobject be registered?
constexpr const char *const group
Group name for atomic constants.
const fileName & instance() const noexcept
unsigned labelByteSize() const noexcept
The sizeof (label) in bytes, possibly read from the header.
bool isHeaderClassName() const
Test if headerClassName() equals Type::typeName.
const word & headerClassName() const noexcept
Return name of the class name read from header.
A class for handling character strings derived from std::string.
word ext() const
Return file name extension (part after last .)
writeOption writeOpt() const noexcept
The write option.
writeOption
Enumeration defining the write options.
const fileName & local() const noexcept
bool globalObject() const noexcept
Is object same for all processors?
unsigned scalarByteSize() const noexcept
The sizeof (scalar) in bytes, possibly read from the header.
readOption readOpt() const noexcept
The read option.
const word & name() const noexcept
Return name.
const string & note() const noexcept
Return the optional note.
word member() const
Return member (name without the extension)
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
word group() const
Return group (extension part of name)
bool bad() const noexcept
bool good() const noexcept
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
readOption
Enumeration defining the read options.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
fileName objectPath() const
The complete path + object name.