Go to the documentation of this file.
79 List<char>(std::move(buffer)),
87 List<char>(std::move(buffer)),
172 template<
int SizeMin>
193 std::streampos
pos()
const
Istream & operator()() const
A non-const reference to const Istream.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
An stream/stream-buffer input allocator with List storage.
streamFormat format() const noexcept
Get the current stream format.
static const versionNumber currentVersion
The current version number (2.0)
Generic input stream using a standard (STL) stream.
const UList< char > list() const
Const UList access to the input characters (shallow copy).
An ISstream with internal List storage.
A class for handling character strings derived from std::string.
IListStreamAllocator(List< char > &&buffer)
Move construct from List.
An stream/stream-buffer input allocator for a externally allocated list.
std::streampos tellg() const
Position of the get buffer.
Representation of a major/minor version number.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual const fileName & name() const
Return the name of the stream.
versionNumber version() const noexcept
Get the stream version.
IListStreamAllocator()
Default construct.
streamFormat
Data format (ascii | binary)
void reset(char *buffer, size_t nbytes)
Reset buffer pointers.
ISstream(std::istream &is, const string &streamName, IOstreamOption streamOpt=IOstreamOption())
Construct wrapper around std::istream, set stream status.
IListStream(streamFormat format=ASCII, versionNumber version=currentVersion)
Default construct with an empty list.
stream_type stream_
The stream.
IListStreamAllocator(DynamicList< char, SizeMin > &&buffer)
Move construct from DynamicList.
virtual void rewind()
Rewind the stream, clearing any old errors.
void swap(List< char > &list)
Transfer contents to other List.
void setGood()
Set stream to be good.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
std::streampos pos() const
Return the current get position in the buffer.
virtual void print(Ostream &os) const
Print stream description to Ostream.
void clear()
Clear the list, i.e. set size to zero.
void reset_gbuffer()
Convenience method to address the underlying List storage.
void clearStorage()
Clear storage.
label size() const
The list size.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void rewind()
Move to buffer start, clear errors.
Database for solution data, solver performance and other reduced data.