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


Public Member Functions | |
| ChStreamOutAscii & | operator<< (bool bVal) |
| ChStreamOutAscii & | operator<< (char tch) |
| ChStreamOutAscii & | operator<< (const int nVal) |
| ChStreamOutAscii & | operator<< (const double dVal) |
| ChStreamOutAscii & | operator<< (const float dVal) |
| ChStreamOutAscii & | operator<< (unsigned int unVal) |
| ChStreamOutAscii & | operator<< (char *str) |
| ChStreamOutAscii & | operator<< (const char *str) |
| ChStreamOutAscii & | operator<< (std::string &str) |
| template<class T > | |
| ChStreamOutAscii & | operator<< (T &obj) |
| virtual void | Format (char *formatString,...) |
| void | SetNumFormat (char *mf) |
| void | SetCommentTrailer (char *mt) |
| void | CR () |
| void | TAB () |
| void | Comment (char m_string[]) |
| void | Bar () |
Protected Attributes | |
| char | number_format [10] |
| char | comment_trailer [10] |
This is a base class for all ASCII OUTPUT streams, in the sense that number are formatted into readable strings, etc. Defines some << operators from basic types, converting all them into calls to the Output() function. Also, defines the Format() function, which can be used a bit like the printf formatting. At least some inherited class should be used by the user in order to get some practical effect (file saving, etc.)
| ChStreamOutAscii & chrono::ChStreamOutAscii::operator<< | ( | bool | bVal | ) |
Generic << operator for all classes which implement serialization by means of a method named 'void StreamOUT(ChStreamOutAscii&)'
CHRONO::ENGINE