CAttributeBoundingBox Class Reference

#include <attribute-bounding-box.hh>

Inherits CBoundingBox.

Collaboration diagram for CAttributeBoundingBox:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Constructeurs et destructeur
 CAttributeBoundingBox ()
 CAttributeBoundingBox (const CBoundingBox &ABB)
 CAttributeBoundingBox (const CAttributeBoundingBox &AOther)
virtual ~CAttributeBoundingBox ()
Implémentation des méthodes virtuelles pures héritées de la classe
Attribute.

TAttributeId getType () const
CAttribute * copy () const
void destroy ()
void save (std::ostream &AStream) const
void load (std::istream &AStream)


Detailed Description

Classe définissant un attribut boîte englobante qui contient les limites spatiales d'un objet.

Author:
Nicolas Guiard

Definition at line 37 of file attribute-bounding-box.hh.


Constructor & Destructor Documentation

CAttributeBoundingBox::CAttributeBoundingBox (  ) 

Constructeur par défaut

Returns:
Une nouvelle instance de la classe
Construction d'une nouvelle instance de la classe initialisée avec une boîte englobante vide.

Definition at line 27 of file attribute-bounding-box.cc.

CAttributeBoundingBox::CAttributeBoundingBox ( const CBoundingBox ABB  ) 

Constructeur avec initialisation

Parameters:
AOther la boîte englobante à utiliser
Returns:
Une nouvelle instance de la classe
Construction d'une nouvelle instance de la classe, en utilisant la boîte englobante passée en paramètre.

Definition at line 32 of file attribute-bounding-box.cc.

CAttributeBoundingBox::CAttributeBoundingBox ( const CAttributeBoundingBox AOther  ) 

Constructeur par recopie

Parameters:
AOther la boîte englobante à copier
Returns:
Une nouvelle instance de la classe
Construction d'une nouvelle instance de la classe, en copiant la boîte englobante passée en paramètre.

Definition at line 37 of file attribute-bounding-box.cc.

CAttributeBoundingBox::~CAttributeBoundingBox (  )  [virtual]

Destructeur

Destruction de l'instance.

Definition at line 42 of file attribute-bounding-box.cc.


Member Function Documentation

CAttribute * CAttributeBoundingBox::copy (  )  const

copy

Returns:
Une nouvelle instance de l'attribut
Crée une nouvelle instance de CAttributeBoundingBox, clone de l'instance courante.

Definition at line 51 of file attribute-bounding-box.cc.

void CAttributeBoundingBox::destroy (  ) 

destroy

Détruit l'objet (appel au destructeur).

Definition at line 56 of file attribute-bounding-box.cc.

TAttributeId CAttributeBoundingBox::getType (  )  const

getType

Returns:
Le type de l'attribut
Retourne le type de l'attribut.

Definition at line 46 of file attribute-bounding-box.cc.

void CAttributeBoundingBox::load ( std::istream &  AStream  ) 

load

Parameters:
AStream Un flot dans lequel lire l'attribut
Lit l'attribut à partir du flot donné.

void CAttributeBoundingBox::save ( std::ostream &  AStream  )  const

save

Parameters:
AStream Un flot dans lequel écrire l'attribut
Écrit l'attribut dans le flot donné, en vue d'une sauvegarde.


The documentation for this class was generated from the following files:

Generated on Tue Jul 7 15:20:59 2009 for Moka libraries by  doxygen 1.5.8