chrono::ChEnumMapperBase Class Referenceabstract

Description

Class for mapping enums to ChNameValue pairs that contain a 'readable' ascii string of the selected enum.

This could be used when streaming from/to human readable formats such as JSON or XML or ascii dumps.

#include <ChArchive.h>

Inherited by chrono::ChEnumMapper< Te >.

Public Member Functions

virtual int GetValueAsInt ()=0
 
virtual void SetValueAsInt (const int mval)=0
 
virtual std::string GetValueAsString ()=0
 
virtual bool SetValueAsString (const std::string &mname)=0
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/serialization/ChArchive.h