From 0ee65df4c9f08d081f76549404085a6ae66ac84c Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 20 Feb 2011 16:06:37 -0500 Subject: [PATCH] More docs, this time in the StepsUtil namespace. --- src/StepsUtil.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/StepsUtil.h b/src/StepsUtil.h index 2b5dacf699..628f01c6ed 100644 --- a/src/StepsUtil.h +++ b/src/StepsUtil.h @@ -115,9 +115,33 @@ public: /** @brief Utility functions for working with Steps. */ namespace StepsUtil { + /** + * @brief Retrieve all of the Steps that match the criteria. + * @param soc the SongCriteria to look for. + * @param stc the StepsCriteria to look for. + * @param out the SongsAndSteps that match. + */ void GetAllMatching( const SongCriteria &soc, const StepsCriteria &stc, vector &out ); // look up in SONGMAN + /** + * @brief Retrieve all of the Steps that match the criteria. + * @param pSong the Song we're checking in. + * @param stc the StepsCriteria to look for. + * @param out the SongsAndSteps that match. + */ void GetAllMatching( Song *pSong, const StepsCriteria &stc, vector &out ); + /** + * @brief Is there a Step + * that matches the criteria? + * @param soc the SongCriteria to look for. + * @param stc the StepsCriteria to look for. + * @return true if we find a match, false otherwise. */ bool HasMatching( const SongCriteria &soc, const StepsCriteria &stc ); + /** + * @brief Is there a Step + * that matches the criteria? + * @param pSong the Song we're checking in. + * @param stc the StepsCriteria to look for. + * @return true if we find a match, false otherwise. */ bool HasMatching( const Song *pSong, const StepsCriteria &stc ); bool CompareNotesPointersByRadarValues(const Steps* pSteps1, const Steps* pSteps2);