MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::ChStreamIn Class Reference

#include <CHstream.h>

Inheritance diagram for chrono::ChStreamIn:

Inheritance graph
[legend]
Collaboration diagram for chrono::ChStreamIn:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool End_of_stream ()

Protected Member Functions

virtual void Input (char *data, int n)=0


Detailed Description

This is a base class for all INPUT streams. Does nothing special - it must be implemented by child classes

Member Function Documentation

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
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen