Version: 8.3.0
MED::TValueHolder< TValue, TRepresentation > Struct Template Reference

To provide a common way to handle values of MEDWrapper types as native MED types. More...

#include <MED_TStructures.hxx>

Public Member Functions

 TValueHolder (TValue &theValue)
 
 ~TValueHolder ()
 
TRepresentation * operator& ()
 
 operator TRepresentation () const
 
const TValueoperator() () const
 

Data Fields

TValuemyValue
 
TRepresentation myRepresentation
 

Detailed Description

template<class TValue, class TRepresentation>
struct MED::TValueHolder< TValue, TRepresentation >

To provide a common way to handle values of MEDWrapper types as native MED types.

Constructor & Destructor Documentation

template<class TValue, class TRepresentation>
MED::TValueHolder< TValue, TRepresentation >::TValueHolder ( TValue theValue)

Member Function Documentation

template<class TValue, class TRepresentation>
MED::TValueHolder< TValue, TRepresentation >::operator TRepresentation ( ) const
template<class TValue, class TRepresentation>
TRepresentation* MED::TValueHolder< TValue, TRepresentation >::operator& ( )
template<class TValue, class TRepresentation>
const TValue& MED::TValueHolder< TValue, TRepresentation >::operator() ( ) const

Field Documentation

template<class TValue, class TRepresentation>
TValue& MED::TValueHolder< TValue, TRepresentation >::myValue