|
TrioCFD 1.9.9_beta
TrioCFD documentation
|
Pointer to a wheel. More...
#include <Roue.h>
Public Member Functions | |
| Roue * | operator-> () const |
| Roue * | operator-> () |
| Roue_ptr (const Roue_ptr &) | |
| Copy constructor. | |
| Roue_ptr & | operator= (const Roue_ptr &x) |
| Copy assignment operator. | |
| Roue_ptr (Roue &) | |
| Roue_ptr () | |
| Roue_ptr (Roue *) | |
| ~Roue_ptr () | |
| Roue & | valeur () |
| const Roue & | valeur () const |
| void | annule () |
| operator bool () const | |
| Roue & | operator= (Roue &x) |
| Roue * | operator= (Roue *x) |
| Roue & | operator[] (int i) |
| const Roue & | operator[] (int i) const |
Public Attributes | |
| Roue * | ptr |
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.
| 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.)
| x | The Roue_ptr to copy. |