cmAbstractFilesCommand.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2000 National Library of Medicine
  8. All rights reserved.
  9. See COPYRIGHT.txt for copyright details.
  10. =========================================================================*/
  11. #ifndef cmAbstractFilesCommand_h
  12. #define cmAbstractFilesCommand_h
  13. #include "cmStandardIncludes.h"
  14. #include "cmCommand.h"
  15. class cmAbstractFilesCommand : public cmCommand
  16. {
  17. public:
  18. virtual cmCommand* Clone()
  19. {
  20. return new cmAbstractFilesCommand;
  21. }
  22. /**
  23. * This is called when the command is first encountered in
  24. * the input file.
  25. */
  26. virtual bool Invoke(std::vector<std::string>& args);
  27. /**
  28. * The name of the command as specified in CMakeList.txt.
  29. */
  30. virtual const char* GetName() { return "ABSTRACT_FILES";}
  31. /**
  32. * Succinct documentation.
  33. */
  34. virtual const char* GetTerseDocumentation()
  35. {
  36. return "A list of abstract classes, useful for wrappers.";
  37. }
  38. /**
  39. * Longer documentation.
  40. */
  41. virtual const char* GetFullDocumentation()
  42. {
  43. return
  44. "ABSTRACT_FILES(file1 file2 ..)";
  45. }
  46. };
  47. #endif