Back to index

salome-med  6.5.0
Public Member Functions | Private Attributes
MEDMEM::Option< T > Class Template Reference

#include <MEDMEM_OptionManager.hxx>

Inheritance diagram for MEDMEM::Option< T >:
Inheritance graph
[legend]
Collaboration diagram for MEDMEM::Option< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Option (T defaut, T *var)
void setValue (T value)
getValue ()
void dummy ()

Private Attributes

T * _var

Detailed Description

template<class T>
class MEDMEM::Option< T >

Definition at line 35 of file MEDMEM_OptionManager.hxx.


Constructor & Destructor Documentation

template<class T>
MEDMEM::Option< T >::Option ( defaut,
T *  var 
) [inline]

Definition at line 40 of file MEDMEM_OptionManager.hxx.

                              :
      _var(var)
    {
      *_var= defaut;
    }

Member Function Documentation

template<class T>
void MEDMEM::Option< T >::dummy ( ) [inline, virtual]

Implements MEDMEM::OptionGeneric.

Definition at line 55 of file MEDMEM_OptionManager.hxx.

{}
template<class T>
T MEDMEM::Option< T >::getValue ( ) [inline]

Definition at line 49 of file MEDMEM_OptionManager.hxx.

    {
      return  * _var;
    }

Here is the caller graph for this function:

template<class T>
void MEDMEM::Option< T >::setValue ( value) [inline]

Definition at line 45 of file MEDMEM_OptionManager.hxx.

    {
      *_var=value;
    }

Here is the caller graph for this function:


Member Data Documentation

template<class T>
T* MEDMEM::Option< T >::_var [private]

Definition at line 38 of file MEDMEM_OptionManager.hxx.


The documentation for this class was generated from the following file: