Roue_ptr#

#include <Roue.h>

Pointeur sur une roue.

How to cite this class in this doc#

:ref:`Roue\_ptr <class-roue-ptr>`
[Roue\_ptr](#class-roue-ptr)

Detailed description#

La roue est creee dans le constructeur, detruite dans le destructeur. Elle est recopiee dans le constructeur par recopie et dans l’operateur d’affectation d’un Roue_ptr a un autre. Dans tous les autres cas seuls les pointeurs sont manipules.

List of Public Methods#

Complete Member Function Documentation#

annule
void Roue_ptr::annule()
References
How to cite in this doc:
:ref:`void Roue_ptr::annule() <public-void-roue-ptr-annule>`
[void Roue_ptr::annule()](#public-void-roue-ptr-annule)
operator bool
Roue_ptr::operator bool() const
References
How to cite in this doc:
:ref:`Roue_ptr::operator bool() const <public-roue-ptr-operator-bool-const>`
[Roue_ptr::operator bool() const](#public-roue-ptr-operator-bool-const)
operator - >
Roue * Roue_ptr::operator->()
References
How to cite in this doc:
:ref:`Roue * Roue_ptr::operator->() <public-roue-ptr-roue-ptr-operator>`
[Roue * Roue_ptr::operator->()](#public-roue-ptr-roue-ptr-operator)
operator - >
Roue * Roue_ptr::operator->() const
References
How to cite in this doc:
:ref:`Roue * Roue_ptr::operator->() const <public-roue-ptr-roue-ptr-operator-const>`
[Roue * Roue_ptr::operator->() const](#public-roue-ptr-roue-ptr-operator-const)
operator =
Roue_ptr & Roue_ptr::operator=(const Roue_ptr &x)

Constructeur par recopie.

Copie de l’ensemble de la roue.

References
How to cite in this doc:
:ref:`Roue_ptr & Roue_ptr::operator=(const Roue_ptr &x) <public-roue-ptr-ref-roue-ptr-operator-equal-const-roue-ptr-ref-x>`
[Roue_ptr & Roue_ptr::operator=(const Roue_ptr &x)](#public-roue-ptr-ref-roue-ptr-operator-equal-const-roue-ptr-ref-x)
operator =
Roue & Roue_ptr::operator=(Roue &x)
References
How to cite in this doc:
:ref:`Roue & Roue_ptr::operator=(Roue &x) <public-roue-ref-roue-ptr-operator-equal-roue-ref-x>`
[Roue & Roue_ptr::operator=(Roue &x)](#public-roue-ref-roue-ptr-operator-equal-roue-ref-x)
operator =
Roue * Roue_ptr::operator=(Roue *x)
References
How to cite in this doc:
:ref:`Roue * Roue_ptr::operator=(Roue *x) <public-roue-ptr-roue-ptr-operator-equal-roue-ptr-x>`
[Roue * Roue_ptr::operator=(Roue *x)](#public-roue-ptr-roue-ptr-operator-equal-roue-ptr-x)
operator[]
Roue & Roue_ptr::operator[](int i)
References
How to cite in this doc:
:ref:`Roue & Roue_ptr::operator[](int i) <public-roue-ref-roue-ptr-operator[]-int-i>`
[Roue & Roue_ptr::operator[](int i)](#public-roue-ref-roue-ptr-operator[]-int-i)
operator[]
const Roue & Roue_ptr::operator[](int i) const
References
How to cite in this doc:
:ref:`const Roue & Roue_ptr::operator[](int i) const <public-const-roue-ref-roue-ptr-operator[]-int-i-const>`
[const Roue & Roue_ptr::operator[](int i) const](#public-const-roue-ref-roue-ptr-operator[]-int-i-const)
Roue_ptr
Roue_ptr::Roue_ptr()
How to cite in this doc:
:ref:`Roue_ptr::Roue_ptr() <public-roue-ptr-roue-ptr>`
[Roue_ptr::Roue_ptr()](#public-roue-ptr-roue-ptr)
Roue_ptr
Roue_ptr::Roue_ptr(const Roue_ptr &)

Constructeur par recopie.

Copie de l’ensemble de la roue. Utile pour les constructeurs par recopie des champs. (ce constructeur est appele quand on fait un OWN_PTR(Champ_base) = un autre Champ, la version precedente copie la reference, d’ou plantage a la destruction)

References
How to cite in this doc:
:ref:`Roue_ptr::Roue_ptr(const Roue_ptr &) <public-roue-ptr-roue-ptr-const-roue-ptr-ref>`
[Roue_ptr::Roue_ptr(const Roue_ptr &)](#public-roue-ptr-roue-ptr-const-roue-ptr-ref)
Roue_ptr
Roue_ptr::Roue_ptr(Roue &)
How to cite in this doc:
:ref:`Roue_ptr::Roue_ptr(Roue &) <public-roue-ptr-roue-ptr-roue-ref>`
[Roue_ptr::Roue_ptr(Roue &)](#public-roue-ptr-roue-ptr-roue-ref)
Roue_ptr
Roue_ptr::Roue_ptr(Roue *)
How to cite in this doc:
:ref:`Roue_ptr::Roue_ptr(Roue *) <public-roue-ptr-roue-ptr-roue-ptr>`
[Roue_ptr::Roue_ptr(Roue *)](#public-roue-ptr-roue-ptr-roue-ptr)
valeur
Roue & Roue_ptr::valeur()
References
Referenced By
How to cite in this doc:
:ref:`Roue & Roue_ptr::valeur() <public-roue-ref-roue-ptr-valeur>`
[Roue & Roue_ptr::valeur()](#public-roue-ref-roue-ptr-valeur)
valeur
const Roue & Roue_ptr::valeur() const
References
How to cite in this doc:
:ref:`const Roue & Roue_ptr::valeur() const <public-const-roue-ref-roue-ptr-valeur-const>`
[const Roue & Roue_ptr::valeur() const](#public-const-roue-ref-roue-ptr-valeur-const)
~Roue_ptr
Roue_ptr::~Roue_ptr()
References
How to cite in this doc:
:ref:`Roue_ptr::~Roue_ptr() <public-roue-ptr-dtor-roue-ptr>`
[Roue_ptr::~Roue_ptr()](#public-roue-ptr-dtor-roue-ptr)

Attributes Documentation#

ptr (public)
Roue* Roue_ptr::ptr