Classe de points template à dimensions dynamiques. Plus de détails...
Graphe d'héritage de Castor::DynPoint< T >:
Graphe de collaboration de Castor::DynPoint< T >:Types publics | |
| typedef value_type * | iterator |
| Typedef d'un pointeur sur les données. | |
| typedef value_type const * | const_iterator |
| Typedef d'un pointeur constant sur les données. | |
Fonctions membres publiques | |
| DynPoint (std::size_t p_uiCount) | |
| Constructeur. | |
| template<typename U > | |
| DynPoint (std::size_t p_uiCount, U const *p_pValues) | |
| Constructeur. | |
| template<typename U > | |
| DynPoint (U const &p_vA, U const &p_vB) | |
| Constructeur. | |
| template<typename U > | |
| DynPoint (U const &p_vA, U const &p_vB, U const &p_vC) | |
| Constructeur. | |
| template<typename U > | |
| DynPoint (U const &p_vA, U const &p_vB, U const &p_vC, U const &p_vD) | |
| Constructeur. | |
| template<typename U > | |
| DynPoint (DynPoint< U > const &p_ptPoint) | |
| Constructeur. | |
| ~DynPoint () | |
| Destructeur. | |
| DynPoint (DynPoint< T > const &p_ptPoint) | |
| Constructeur par copie. | |
| DynPoint (DynPoint< T > &&p_ptPoint) | |
| Constructeur par déplacement. | |
| DynPoint< T > & | operator= (DynPoint< T > const &p_ptPoint) |
| Opérateur d'affectation par copie. | |
| DynPoint< T > & | operator= (DynPoint< T > &&p_ptPoint) |
| Opérateur d'affectation par déplacement. | |
| template<typename U > | |
| DynPoint< T > & | operator= (DynPoint< U > const &p_ptPoint) |
| Opérateur d'affectation par copie. | |
| template<typename U > | |
| DynPoint< T > & | operator+= (DynPoint< U > const &p_ptPoint) |
| Opérateur d'affectation par addition. | |
| template<typename U > | |
| DynPoint< T > & | operator-= (DynPoint< U > const &p_ptPoint) |
| Opérateur d'affectation par soustraction. | |
| template<typename U > | |
| DynPoint< T > & | operator*= (DynPoint< U > const &p_ptPoint) |
| Opérateur d'affectation par multiplication. | |
| template<typename U > | |
| DynPoint< T > & | operator/= (DynPoint< U > const &p_ptPoint) |
| Opérateur d'affectation par division. | |
| template<typename U > | |
| DynPoint< T > & | operator+= (U const *p_coords) |
| Opérateur d'affectation par addition. | |
| template<typename U > | |
| DynPoint< T > & | operator-= (U const *p_coords) |
| Opérateur d'affectation par soustraction. | |
| template<typename U > | |
| DynPoint< T > & | operator*= (U const *p_coords) |
| Opérateur d'affectation par multiplication. | |
| template<typename U > | |
| DynPoint< T > & | operator/= (U const *p_coords) |
| Opérateur d'affectation par division. | |
| template<typename U > | |
| DynPoint< T > & | operator*= (U const &p_coord) |
| Opérateur d'affectation par multiplication. | |
| template<typename U > | |
| DynPoint< T > & | operator/= (U const &p_coord) |
| Opérateur d'affectation par division. | |
| void | swap (DynPoint< T > const &p_ptPoint) |
| Echange les données de c epoint avec celles du point donné. | |
| void | flip () |
| Inverse les données dans ce point. | |
| virtual std::size_t | count () const |
| Récupère le nombre de coordonnées. | |
| virtual std::size_t | elem_size () const |
| Récupère la taille du type données. | |
| virtual void | link (void const *p_pCoords) |
| Lie les données de ce point à celles données en paramètre. | |
| virtual void | unlink () |
| Délie les données de ce point de celles données précédemment. | |
| void | to_values (T *p_pResult) const |
| Récupère les données et les place dans un tableau. | |
| T const & | operator[] (std::size_t p_pos) const |
| Récupère la donnée à l'index donné. | |
| T & | operator[] (std::size_t p_pos) |
| Récupère la donnée à l'index donné. | |
| T const & | at (std::size_t p_pos) const |
| Récupère la donnée à l'index donné. | |
| T & | at (std::size_t p_pos) |
| Récupère la donnée à l'index donné. | |
| T * | ptr () |
| Récupère le pointeur sur les données. | |
| T const * | const_ptr () const |
| Récupère le pointeur sur les données constantes. | |
| iterator | begin () |
| Récupère un itérateur sur le premier élément. | |
| const_iterator | begin () const |
| Récupère un itérateur constant sur le premier élément. | |
| const_iterator | end () const |
| Récupère un itérateur constant sur le dernier élément. | |
Amis | |
| class | DynPoint |
Classe de points template à dimensions dynamiques.
| typedef value_type const* Castor::DynPoint< T >::const_iterator |
Typedef d'un pointeur constant sur les données.
| typedef value_type* Castor::DynPoint< T >::iterator |
Typedef d'un pointeur sur les données.
| Castor::DynPoint< T >::DynPoint | ( | std::size_t | p_uiCount | ) |
Constructeur.
| Castor::DynPoint< T >::DynPoint | ( | std::size_t | p_uiCount, | |
| U const * | p_pValues | |||
| ) |
Constructeur.
| Castor::DynPoint< T >::DynPoint | ( | U const & | p_vA, | |
| U const & | p_vB | |||
| ) |
Constructeur.
| Castor::DynPoint< T >::DynPoint | ( | U const & | p_vA, | |
| U const & | p_vB, | |||
| U const & | p_vC | |||
| ) |
Constructeur.
| Castor::DynPoint< T >::DynPoint | ( | U const & | p_vA, | |
| U const & | p_vB, | |||
| U const & | p_vC, | |||
| U const & | p_vD | |||
| ) |
Constructeur.
| Castor::DynPoint< T >::DynPoint | ( | DynPoint< U > const & | p_ptPoint | ) |
Constructeur.
| Castor::DynPoint< T >::~DynPoint | ( | ) |
Destructeur.
| Castor::DynPoint< T >::DynPoint | ( | DynPoint< T > const & | p_ptPoint | ) |
Constructeur par copie.
| [in] | p_ptPoint | L'objet DynPoint à copier |
| Castor::DynPoint< T >::DynPoint | ( | DynPoint< T > && | p_ptPoint | ) |
Constructeur par déplacement.
| [in] | p_ptPoint | L'objet DynPoint à déplacer |
| T const& Castor::DynPoint< T >::at | ( | std::size_t | p_pos | ) | const |
Récupère la donnée à l'index donné.
| T& Castor::DynPoint< T >::at | ( | std::size_t | p_pos | ) |
Récupère la donnée à l'index donné.
| iterator Castor::DynPoint< T >::begin | ( | ) | [inline] |
Récupère un itérateur sur le premier élément.
| const_iterator Castor::DynPoint< T >::begin | ( | ) | const [inline] |
Récupère un itérateur constant sur le premier élément.
| T const* Castor::DynPoint< T >::const_ptr | ( | ) | const [inline] |
Récupère le pointeur sur les données constantes.
Réimplémentée à partir de Castor::PointBase.
| virtual std::size_t Castor::DynPoint< T >::count | ( | ) | const [inline, virtual] |
| virtual std::size_t Castor::DynPoint< T >::elem_size | ( | ) | const [inline, virtual] |
Récupère la taille du type données.
Implémente Castor::PointBase.
| const_iterator Castor::DynPoint< T >::end | ( | ) | const [inline] |
Récupère un itérateur constant sur le dernier élément.
| void Castor::DynPoint< T >::flip | ( | ) |
Inverse les données dans ce point.
| virtual void Castor::DynPoint< T >::link | ( | void const * | p_pCoords | ) | [virtual] |
Lie les données de ce point à celles données en paramètre.
Implémente Castor::PointBase.
| DynPoint<T>& Castor::DynPoint< T >::operator*= | ( | U const * | p_coords | ) |
Opérateur d'affectation par multiplication.
| [in] | p_coords | Les valeurs à multiplier |
| DynPoint<T>& Castor::DynPoint< T >::operator*= | ( | DynPoint< U > const & | p_ptPoint | ) |
| DynPoint<T>& Castor::DynPoint< T >::operator*= | ( | U const & | p_coord | ) |
Opérateur d'affectation par multiplication.
| [in] | p_coord | La valeur à multiplier |
| DynPoint<T>& Castor::DynPoint< T >::operator+= | ( | U const * | p_coords | ) |
Opérateur d'affectation par addition.
| [in] | p_coords | Les valeurs à additionner |
| DynPoint<T>& Castor::DynPoint< T >::operator+= | ( | DynPoint< U > const & | p_ptPoint | ) |
| DynPoint<T>& Castor::DynPoint< T >::operator-= | ( | DynPoint< U > const & | p_ptPoint | ) |
| DynPoint<T>& Castor::DynPoint< T >::operator-= | ( | U const * | p_coords | ) |
Opérateur d'affectation par soustraction.
| [in] | p_coords | Les valeurs à soustraire |
| DynPoint<T>& Castor::DynPoint< T >::operator/= | ( | U const * | p_coords | ) |
Opérateur d'affectation par division.
| [in] | p_coords | Les valeurs à diviser |
| DynPoint<T>& Castor::DynPoint< T >::operator/= | ( | U const & | p_coord | ) |
Opérateur d'affectation par division.
| [in] | p_coord | La valeur à diviser |
| DynPoint<T>& Castor::DynPoint< T >::operator/= | ( | DynPoint< U > const & | p_ptPoint | ) |
| DynPoint<T>& Castor::DynPoint< T >::operator= | ( | DynPoint< T > && | p_ptPoint | ) |
| DynPoint<T>& Castor::DynPoint< T >::operator= | ( | DynPoint< T > const & | p_ptPoint | ) |
| DynPoint<T>& Castor::DynPoint< T >::operator= | ( | DynPoint< U > const & | p_ptPoint | ) |
| T& Castor::DynPoint< T >::operator[] | ( | std::size_t | p_pos | ) | [inline] |
Récupère la donnée à l'index donné.
| T const& Castor::DynPoint< T >::operator[] | ( | std::size_t | p_pos | ) | const [inline] |
Récupère la donnée à l'index donné.
| T* Castor::DynPoint< T >::ptr | ( | ) | [inline] |
Récupère le pointeur sur les données.
Réimplémentée à partir de Castor::PointBase.
| void Castor::DynPoint< T >::swap | ( | DynPoint< T > const & | p_ptPoint | ) |
Echange les données de c epoint avec celles du point donné.
| [in] | p_ptPoint | Le point à échanger |
| void Castor::DynPoint< T >::to_values | ( | T * | p_pResult | ) | const |
Récupère les données et les place dans un tableau.
| [in,out] | p_pResult | Reçoit les données, doit être alloué par l'appelant |
| virtual void Castor::DynPoint< T >::unlink | ( | ) | [virtual] |
Délie les données de ce point de celles données précédemment.
Implémente Castor::PointBase.
friend class DynPoint [friend] |
1.7.1