chrono::ChStreamIstreamWrapper Class Reference
  Description
Wrapper for already-opened std::istream input streams.
#include <ChStream.h>
Inheritance diagram for chrono::ChStreamIstreamWrapper:

| Public Member Functions | |
| ChStreamIstreamWrapper (std::istream *mfile) | |
| Creates a wrapper for an already existing, already opened, istream, given the pointer to that istream. | |
| virtual | ~ChStreamIstreamWrapper () | 
| Deleting this stream wrapper does not delete nor closes the wrapped istream. | |
| virtual void | Read (char *data, size_t n) | 
| Reads from stream, up to n chars.  More... | |
| virtual bool | End_of_stream () const | 
| Returns true if end of stream reached. | |
| std::istream * | GetIstream () | 
| Reference to istream encapsulated here. | |
Member Function Documentation
◆ Read()
| 
 | virtual | 
Reads from stream, up to n chars.
If does not succeed, throws exception.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/core/ChStream.h
- /builds/uwsbel/chrono/src/chrono/core/ChStream.cpp
