ENH: Added GetUsedCommands() method.

This commit is contained in:
Brad King 2001-02-26 17:58:54 -05:00
parent eb80df5561
commit 8859bd5ac8
1 changed files with 7 additions and 1 deletions

View File

@ -325,7 +325,13 @@ public:
*/ */
const char* GetDefineFlags() const char* GetDefineFlags()
{return m_DefineFlags.c_str();} {return m_DefineFlags.c_str();}
/**
* Get the vector of used command instances.
*/
const std::vector<cmCommand*>& GetUsedCommands() const
{return m_UsedCommands;}
/** /**
* Dump documentation to a file. If 0 is returned, the * Dump documentation to a file. If 0 is returned, the
* operation failed. * operation failed.