define various operators for Song class

This commit is contained in:
unknown
2008-08-09 05:49:13 +02:00
parent 828ec8e2f6
commit 1cf51688ab
2 changed files with 37 additions and 0 deletions

View File

@@ -77,6 +77,10 @@ class Song
void GetEmptyFields(bool get) { itsGetEmptyFields = get; }
void Clear();
bool Empty() const;
Song & operator=(const Song &);
bool operator==(const Song &) const;
bool operator<(const Song &rhs) const;
private:
string itsFile;
string itsShortName;