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


Public Member Functions | |
| virtual bool | End_of_stream () |
Protected Member Functions | |
| virtual void | Input (char *data, int n)=0 |
| virtual bool chrono::ChStreamIn::End_of_stream | ( | ) | [virtual] |
Returns true if end of stream reached. Child classes should implement it.
Reimplemented in chrono::ChStreamInBinaryFile, and chrono::ChStreamInAsciiFile.
| virtual void chrono::ChStreamIn::Input | ( | char * | data, | |
| int | n | |||
| ) | [protected, pure virtual] |
Inputs a raw chunk of data, from pointer 'data' up to 'n' chars (bytes). NOTE! Inherited class could override only this function to have everything working, for example to output into a message box, or to sockets, etc..
CHRONO::ENGINE