Go to the documentation of this file.
82 #ifndef UOListStream_H
83 #define UOListStream_H
123 buf_(buffer, nbytes),
156 inline label
size()
const
164 buf_.pubseekpos(0, std::ios_base::out);
233 template<
int SizeMin>
258 #ifdef Foam_IOstream_extras
299 FixedList<char, N>& buffer,
308 template<
int SizeMin>
311 DynamicList<char,SizeMin>& buf,
const UList< char > list() const
std::streamsize capacity() const
constexpr IOstreamOption(streamFormat fmt=streamFormat::ASCII, compressionType comp=compressionType::UNCOMPRESSED) noexcept
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void printBufInfo(Ostream &os) const
streamFormat format() const noexcept
static const versionNumber currentVersion
label capacity() const noexcept
UOListStreamAllocator(char *buffer, size_t nbytes)
std::streamsize tellp() const
OSstream(const OSstream &)=default
The IOstreamOption is a simple container for options an IOstream can normally have.
Generic output stream using a standard (STL) stream.
versionNumber version() const noexcept
Similar to OStringStream but using an externally managed buffer for its output.
OBJstream os(runTime.globalPath()/outputName)
const UList< char > list() const
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual void print(Ostream &os) const
void printBufInfo(Ostream &os) const
UOListStream(char *buffer, size_t nbytes, IOstreamOption streamOpt=IOstreamOption())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Vector< label > N(dict.get< Vector< label >>("N"))
Database for solution data, solver performance and other reduced data.