#ifndef CONDUCER_PROFILE_H #define CONDUCER_PROFILE_H #include #include "qet.h" class Conducer; class ConducerSegmentProfile; /** Cette classe contient le profil (= les caracteristiques essentielles) d'un conducteur. */ class ConducerProfile { public: // constructeurs, destructeur ConducerProfile(); ConducerProfile(Conducer *conducer); virtual ~ConducerProfile(); // attributs public: QList segments; QET::Orientation beginOrientation; QET::Orientation endOrientation; // methodes public: bool isNull() const; qreal width() const; qreal height() const; uint nbSegments(QET::ConducerSegmentType) const; QList horizontalSegments(); QList verticalSegments(); }; QDebug &operator<<(QDebug d, ConducerProfile &); #endif