|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHstream.h>

Public Member Functions | |
| ChStreamFileWrapper (std::ostream *mfile) | |
| virtual | ~ChStreamFileWrapper () |
| virtual void | Write (const char *data, int n) |
| virtual bool | End_of_stream () |
| chrono::ChStreamFileWrapper::ChStreamFileWrapper | ( | std::ostream * | mfile | ) |
Creates a wrapper for an already existing, already opened, ostream, given the pointer to that ostream.
| chrono::ChStreamFileWrapper::~ChStreamFileWrapper | ( | ) | [virtual] |
Deleting this stream wrapper does not delete nor closes the wrapped ostream!
| void chrono::ChStreamFileWrapper::Write | ( | const char * | data, | |
| int | n | |||
| ) | [virtual] |
Writes raw data to file, up to n chars. If does not succeed, throws exception.
| virtual bool chrono::ChStreamFileWrapper::End_of_stream | ( | ) | [virtual] |
Returns true if end of stream reached.
CHRONO::ENGINE