32 extType_(endingType::SERIES)
40 return entries_.empty();
46 return entries_.size();
52 return (extType_ == endingType::JSON);
58 bool old(extType_ == endingType::JSON);
59 extType_ = (on ? endingType::JSON : endingType::SERIES);
81 inst.name().remove_path();
83 return appendCheck(inst);
scalar value() const noexcept
The value (const access).
const T & name() const noexcept
The name/key (const access).
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A class for handling file names.
static std::string name(const std::string &str)
Return basename (part beyond last /), including its extension.
bool append(const fileNameInstant &inst)
Append the specified file instant.
bool empty() const noexcept
True if there are no data sets.
bool json() const noexcept
Preferred extension is "json" instead of "series".
label size() const noexcept
The number of data sets.
void clear()
Clear entries.
seriesWriter() noexcept
Construct an empty series (.series ending).
static Ostream & print(Ostream &os, const fileName &seriesName, const UList< instant > &series, const char sep='_')
Print file series (JSON format) for specified time instances.
OBJstream os(runTime.globalPath()/outputName)
Instant< fileName > fileNameInstant
A tuple of value and fileName.