chrono::ChNameValue< T > Class Template Reference

Description

template<class T>
class chrono::ChNameValue< T >

Class to manage name-value pairs for serialization/deserialization.

#include <ChArchive.h>

Public Member Functions

 ChNameValue (const std::string &mname, const T &mvalue, char mflags=0, ChCausalityType causality=ChCausalityType::local, ChVariabilityType variability=ChVariabilityType::continuous)
 
 ChNameValue (const ChNameValue< T > &other)
 
const std::string & name () const
 
char & flags ()
 
const ChCausalityType & GetCausality () const
 
const ChVariabilityType & GetVariability () const
 
T & value () const
 
const T & const_value () const
 

Protected Attributes

std::string _name
 
T * _value
 
char _flags
 
ChCausalityType _causality
 
ChVariabilityType _variability
 

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