MULTIBODY SIMULATION SOFTWARE - API documentation
Public Member Functions | Protected Attributes
chrono::ChStreamOutAscii Class Reference

#include <CHstream.h>

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

List of all members.

Public Member Functions

ChStreamOutAsciioperator<< (bool bVal)
ChStreamOutAsciioperator<< (char tch)
ChStreamOutAsciioperator<< (const int nVal)
ChStreamOutAsciioperator<< (const double dVal)
ChStreamOutAsciioperator<< (const float dVal)
ChStreamOutAsciioperator<< (unsigned int unVal)
ChStreamOutAsciioperator<< (char *str)
ChStreamOutAsciioperator<< (const char *str)
ChStreamOutAsciioperator<< (std::string &str)
template<class T >
ChStreamOutAsciioperator<< (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]

Detailed Description

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.)


Member Function Documentation

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