1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| class TVersion
{
public:
// Constructeur
__fastcall TVersion();
__fastcall TVersion(const AnsiString& Src);
__fastcall TVersion(unsigned int Major, unsigned int Minor, unsigned int Release = 0, unsigned int Revision = 0);
// Destructeur
__fastcall ~TVersion() = {};
// Assignation
TVersion& __fastcall operator =(const TVersion& rhs);
// Comparaison
bool __fastcall operator ==(const TVersion& rhs) const;
bool __fastcall operator !=(const TVersion& rhs) const;
bool __fastcall operator < (const TVersion& rhs) const;
bool __fastcall operator > (const TVersion& rhs) const;
bool __fastcall operator <=(const TVersion& rhs) const;
bool __fastcall operator >=(const TVersion& rhs) const;
unsigned int Major;
unsigned int Minor;
unsigned int Release;
unsigned int Revision;
}; |
Partager