TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
TRUSTListElem< _TYPE_ > Class Template Reference

: Classe qui sert a representer une liste de reels int/double precision. More...

#include <TRUSTListElem.h>

Inheritance diagram for TRUSTListElem< _TYPE_ >:
[legend]
Collaboration diagram for TRUSTListElem< _TYPE_ >:
[legend]

Public Member Functions

 TRUSTListElem ()
 TRUSTListElem (const _TYPE_ x)
 TRUSTListElem (const TRUSTListElem &)
 Constructeur par copie.
 ~TRUSTListElem ()
int est_vide () const
int est_dernier () const
_TYPE_ & valeur ()
_TYPE_ valeur () const
TRUSTListElemadd (_TYPE_)
 insertion en queue
TRUSTListElemsuivant ()
const TRUSTListElemsuivant () const

Protected Attributes

_TYPE_ data
TRUSTListElemsuivant_

Friends

class TRUSTList< _TYPE_ >
template<typename T>
int operator== (const TRUSTListElem< T > &, const TRUSTListElem< T > &)

Detailed Description

template<typename _TYPE_>
class TRUSTListElem< _TYPE_ >

: Classe qui sert a representer une liste de reels int/double precision.

On ne peut pas utiliser la classe container List avec des objets du type int/double car int/double est un type predefini du C++ qui ne possede pas les fonctions exigees par List< >.

Definition at line 30 of file TRUSTListElem.h.

Constructor & Destructor Documentation

◆ TRUSTListElem() [1/3]

template<typename _TYPE_>
TRUSTListElem< _TYPE_ >::TRUSTListElem ( )
inline

Definition at line 35 of file TRUSTListElem.h.

◆ TRUSTListElem() [2/3]

template<typename _TYPE_>
TRUSTListElem< _TYPE_ >::TRUSTListElem ( const _TYPE_ x)
inline

Definition at line 36 of file TRUSTListElem.h.

◆ TRUSTListElem() [3/3]

template<typename _TYPE_>
TRUSTListElem< _TYPE_ >::TRUSTListElem ( const TRUSTListElem< _TYPE_ > & list)

Constructeur par copie.

Parameters
(constTRUSTListElem& list (la liste a copier))

Definition at line 66 of file TRUSTListElem.h.

◆ ~TRUSTListElem()

template<typename _TYPE_>
TRUSTListElem< _TYPE_ >::~TRUSTListElem ( )

Definition at line 82 of file TRUSTListElem.h.

Member Function Documentation

◆ add()

template<typename _TYPE_>
TRUSTListElem< _TYPE_ > & TRUSTListElem< _TYPE_ >::add ( _TYPE_ value_to_add)
inline

insertion en queue

Parameters
(int/doublevalue_to_add (element a ajouter))

Definition at line 108 of file TRUSTListElem.h.

◆ est_dernier()

template<typename _TYPE_>
int TRUSTListElem< _TYPE_ >::est_dernier ( ) const
inline

Definition at line 41 of file TRUSTListElem.h.

◆ est_vide()

template<typename _TYPE_>
int TRUSTListElem< _TYPE_ >::est_vide ( ) const
inline

Definition at line 40 of file TRUSTListElem.h.

◆ suivant() [1/2]

template<typename _TYPE_>
TRUSTListElem & TRUSTListElem< _TYPE_ >::suivant ( )
inline

Definition at line 47 of file TRUSTListElem.h.

◆ suivant() [2/2]

template<typename _TYPE_>
const TRUSTListElem & TRUSTListElem< _TYPE_ >::suivant ( ) const
inline

Definition at line 48 of file TRUSTListElem.h.

◆ valeur() [1/2]

template<typename _TYPE_>
_TYPE_ & TRUSTListElem< _TYPE_ >::valeur ( )
inline

Definition at line 43 of file TRUSTListElem.h.

◆ valeur() [2/2]

template<typename _TYPE_>
_TYPE_ TRUSTListElem< _TYPE_ >::valeur ( ) const
inline

Definition at line 44 of file TRUSTListElem.h.

◆ operator==

template<typename _TYPE_>
template<typename T>
int operator== ( const TRUSTListElem< T > & ,
const TRUSTListElem< T > &  )
friend

◆ TRUSTList< _TYPE_ >

template<typename _TYPE_>
friend class TRUSTList< _TYPE_ >
friend

Definition at line 121 of file TRUSTListElem.h.

Member Data Documentation

◆ data

template<typename _TYPE_>
_TYPE_ TRUSTListElem< _TYPE_ >::data
protected

Definition at line 54 of file TRUSTListElem.h.

◆ suivant_

template<typename _TYPE_>
TRUSTListElem* TRUSTListElem< _TYPE_ >::suivant_
protected

Definition at line 55 of file TRUSTListElem.h.


The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/v1.9.8/src/Kernel/Math/TRUSTListElem.h