#include <attribute-vertex.hh>
Inherits CAttribute, and CVertex.
Public Member Functions | |
CAttributeVertex () | |
CAttributeVertex (TCoordinate Ax, TCoordinate Ay, TCoordinate Az) | |
CAttributeVertex (const CVertex &AVertex) | |
CAttributeVertex (const CAttributeVertex &AAttributeVertex) | |
~CAttributeVertex () | |
Implémentation des méthodes virtuelles pures héritées de la classe | |
TAttributeId | getType () const |
CAttribute * | copy () const |
void | destroy () |
void | save (std::ostream &AStream) const |
void | load (std::istream &AStream) |
Definition at line 47 of file attribute-vertex.hh.
INLINE CAttributeVertex::CAttributeVertex | ( | ) |
Constructeur par défaut
Construction d'une nouvelle instance de la classe, initialisée au sommet origine (0,0,0).
Definition at line 28 of file attribute-vertex.icc.
INLINE CAttributeVertex::CAttributeVertex | ( | TCoordinate | Ax, | |
TCoordinate | Ay, | |||
TCoordinate | Az | |||
) |
Constructeur avec initialisation
Construction d'une nouvelle instance de la classe, initialisée au sommet de coordonnées (Ax,Ay,Az).
Ax | La première coordonnée du sommet | |
Ay | La deuxième coordonnée du sommet | |
Az | La troisième coordonnée du sommet |
Definition at line 34 of file attribute-vertex.icc.
INLINE CAttributeVertex::CAttributeVertex | ( | const CVertex & | AVertex | ) |
Constructeur par copie (CVertex)
Construction d'une nouvelle instance de la classe, en copiant le sommet passé en paramètre.
AVertex | le sommet à copier |
Definition at line 40 of file attribute-vertex.icc.
INLINE CAttributeVertex::CAttributeVertex | ( | const CAttributeVertex & | AAttributeVertex | ) |
Constructeur par copie (CAttributeVertex)
Construction d'une nouvelle instance de la classe, en copiant le sommet passé en paramètre.
AAttributeVertex | le sommet à copier |
Definition at line 46 of file attribute-vertex.icc.
INLINE CAttributeVertex::~CAttributeVertex | ( | ) |
INLINE CAttribute * CAttributeVertex::copy | ( | ) | const [virtual] |
Crée une nouvelle instance de CAttributeVertex, clone de l'instance courante.
Implements CAttribute.
Definition at line 63 of file attribute-vertex.icc.
INLINE void CAttributeVertex::destroy | ( | ) | [virtual] |
Détruit l'objet (appel au destructeur).
Implements CAttribute.
Definition at line 69 of file attribute-vertex.icc.
INLINE TAttributeId CAttributeVertex::getType | ( | ) | const [virtual] |
Retourne le type de l'attribut, c'est-à-dire la valeur de la variable de classe 'TYPE'.
Implements CAttribute.
Definition at line 57 of file attribute-vertex.icc.
INLINE void CAttributeVertex::load | ( | std::istream & | AStream | ) | [virtual] |
Lit l'attribut à partir du flot donné.
AStream | Un flot dans lequel lire l'attribut |
Implements CAttribute.
Definition at line 80 of file attribute-vertex.icc.
INLINE void CAttributeVertex::save | ( | std::ostream & | AStream | ) | const [virtual] |
Écrit l'attribut dans le flot donné, en vue d'une sauvegarde.
AStream | Un flot dans lequel écrire l'attribut |
Implements CAttribute.
Definition at line 75 of file attribute-vertex.icc.