cmDocumentationFormatterUsage.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef _cmDocumentationFormatterUsage_h
  11. #define _cmDocumentationFormatterUsage_h
  12. #include "cmDocumentationFormatterText.h"
  13. /** Class to print the documentation as usage on the command line. */
  14. class cmDocumentationFormatterUsage : public cmDocumentationFormatterText
  15. {
  16. public:
  17. cmDocumentationFormatterUsage();
  18. virtual cmDocumentationEnums::Form GetForm() const
  19. { return cmDocumentationEnums::UsageForm;}
  20. virtual void PrintSection(std::ostream& os,
  21. const cmDocumentationSection& section,
  22. const char* name);
  23. };
  24. #endif