TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Roue_ptr Struct Reference

Pointer to a wheel. More...

#include <Roue.h>

Collaboration diagram for Roue_ptr:
[legend]

Public Member Functions

Roueoperator-> () const
Roueoperator-> ()
 Roue_ptr (const Roue_ptr &)
 Copy constructor.
Roue_ptroperator= (const Roue_ptr &x)
 Copy assignment operator.
 Roue_ptr (Roue &)
 Roue_ptr ()
 Roue_ptr (Roue *)
 ~Roue_ptr ()
Rouevaleur ()
const Rouevaleur () const
void annule ()
 operator bool () const
Roueoperator= (Roue &x)
Roueoperator= (Roue *x)
Roueoperator[] (int i)
const Roueoperator[] (int i) const

Public Attributes

Roueptr

Detailed Description

Pointer to a wheel.

The wheel is created in the constructor, destroyed in the destructor. It is copied in the copy constructor and in the assignment operator from one Roue_ptr to another. In all other cases only the pointers are manipulated.

See also
Champ_Inc

Definition at line 32 of file Roue.h.

Constructor & Destructor Documentation

◆ Roue_ptr() [1/4]

Roue_ptr::Roue_ptr ( const Roue_ptr & x)

Copy constructor.

Copies the entire wheel. Useful for copy constructors of fields. (This constructor is called when doing OWN_PTR(Champ_base) = another field; the previous version copied the reference, leading to a crash at destruction.)

Parameters
xThe Roue_ptr to copy.

Definition at line 38 of file Roue.cpp.

◆ Roue_ptr() [2/4]

Roue_ptr::Roue_ptr ( Roue & x)

Definition at line 61 of file Roue.cpp.

◆ Roue_ptr() [3/4]

Roue_ptr::Roue_ptr ( )

Definition at line 25 of file Roue.cpp.

◆ Roue_ptr() [4/4]

Roue_ptr::Roue_ptr ( Roue * x)
inline

Definition at line 127 of file Roue.h.

◆ ~Roue_ptr()

Roue_ptr::~Roue_ptr ( )

Definition at line 68 of file Roue.cpp.

Member Function Documentation

◆ annule()

void Roue_ptr::annule ( )
inline

Definition at line 53 of file Roue.h.

◆ operator bool()

Roue_ptr::operator bool ( ) const
inline

Definition at line 57 of file Roue.h.

◆ operator->() [1/2]

Roue * Roue_ptr::operator-> ( )
inline

Definition at line 140 of file Roue.h.

◆ operator->() [2/2]

Roue * Roue_ptr::operator-> ( ) const
inline

Definition at line 132 of file Roue.h.

◆ operator=() [1/3]

Roue_ptr & Roue_ptr::operator= ( const Roue_ptr & x)

Copy assignment operator.

Copies the entire wheel.

Parameters
xThe Roue_ptr to copy.
Returns
Reference to the modified Roue_ptr.

Definition at line 50 of file Roue.cpp.

◆ operator=() [2/3]

Roue & Roue_ptr::operator= ( Roue & x)
inline

Definition at line 61 of file Roue.h.

◆ operator=() [3/3]

Roue * Roue_ptr::operator= ( Roue * x)
inline

Definition at line 66 of file Roue.h.

◆ operator[]() [1/2]

Roue & Roue_ptr::operator[] ( int i)

Definition at line 80 of file Roue.cpp.

◆ operator[]() [2/2]

const Roue & Roue_ptr::operator[] ( int i) const

Definition at line 89 of file Roue.cpp.

◆ valeur() [1/2]

Roue & Roue_ptr::valeur ( )
inline

Definition at line 45 of file Roue.h.

◆ valeur() [2/2]

const Roue & Roue_ptr::valeur ( ) const
inline

Definition at line 49 of file Roue.h.

Member Data Documentation

◆ ptr

Roue* Roue_ptr::ptr

Definition at line 44 of file Roue.h.


The documentation for this struct was generated from the following files:
  • /home/docs/trust-code/src/Kernel/Utilitaires/Roue.h
  • /home/docs/trust-code/src/Kernel/Utilitaires/Roue.cpp