20template <
class T>
class lelm
74 T
w()
const {
return(
_w); }
110 return(
_w < le.
_w );
116 return(
_w > le.
_w );
122 return(
_w <= le.
_w );
128 return(
_w >= le.
_w );
lelm< T > & operator^(const lelm< T > &le)
int operator!=(const lelm< T > &le) const
int operator==(const lelm< T > &le) const
lelm< T > & operator-=(const lelm< T > &le)
lelm< T > & operator/=(const lelm< T > &le)
lelm< T > & operator-(const lelm< T > &le)
void set_or(int ori)
Fixe l'origine.
void set_w(T wgt)
Fixe le poids.
int operator<(const lelm< T > &le) const
Comparaison des poids.
int _or
Champ origine de la connexion.
lelm< T > & operator/(const lelm< T > &le)
lelm< T > & operator*(const lelm< T > &le)
int operator>(const lelm< T > &le) const
void aff() const
Affichage des caractéristiques de la liaison.
int operator>=(const lelm< T > &le) const
lelm< T > & operator*=(const lelm< T > &le)
lelm< T > & operator+(const lelm< T > &le)
int operator<=(const lelm< T > &le) const
void set(int ori, T wgt)
Fixe l'origine et le poids en même temps.
lelm(int ori=0, T wgt=0)
Constructeur.
lelm< T > & operator=(const lelm< T > &le)
lelm< T > & operator+=(const lelm< T > &le)