From 69b03d84a84f467379a9e015a762e6f5130b32c8 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 20 Feb 2011 15:30:49 -0500 Subject: [PATCH] SongAndSteps class documented. More link formatting can come later. --- src/StepsUtil.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/StepsUtil.h b/src/StepsUtil.h index ebbc4940c3..2b5dacf699 100644 --- a/src/StepsUtil.h +++ b/src/StepsUtil.h @@ -75,10 +75,11 @@ public: #define X(x) (x == other.x) return X(m_difficulty) && X(m_iLowMeter) && X(m_iHighMeter) && X(m_st) && X(m_Locked); #undef X - }/** - * @brief Compare two StepsCriteria to see if they are not equal. - * @param other the StepsCriteria we are checking against. - * @return true if they are not equal, false otherwise. */ + } + /** + * @brief Compare two StepsCriteria to see if they are not equal. + * @param other the StepsCriteria we are checking against. + * @return true if they are not equal, false otherwise. */ bool operator!=( const StepsCriteria &other ) const { return !operator==( other ); } }; @@ -91,7 +92,7 @@ public: /** @brief the Steps we're using. */ Steps *pSteps; /** @brief Set up a blank Song and - + * Step. */ SongAndSteps() : pSong(NULL), pSteps(NULL) { } /** * @brief Set up the specified Song and @@ -99,7 +100,15 @@ public: * @param pSong_ the new Song. * @param pSteps_ the new Step. */ SongAndSteps( Song *pSong_, Steps *pSteps_ ) : pSong(pSong_), pSteps(pSteps_) { } + /** + * @brief Compare two sets of Songs and Steps to see if they are equal. + * @param other the other set of SongAndSteps. + * @return true if the two sets of Songs and Steps are equal, false otherwise. */ bool operator==( const SongAndSteps& other ) const { return pSong==other.pSong && pSteps==other.pSteps; } + /** + * @brief Compare two sets of Songs and Steps to see if they are not equal. + * @param other the other set of SongAndSteps. + * @return true if the two sets of Songs and Steps are not equal, false otherwise. */ bool operator<( const SongAndSteps& other ) const { if( pSong!=other.pSong ) return pSong