cmCableWrapCommand.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 cmCableWrapCommand_h
  12. #define cmCableWrapCommand_h
  13. #include "cmStandardIncludes.h"
  14. #include "cmCablePackageEntryCommand.h"
  15. /** \class cmCableWrapCommand
  16. * \brief Define a command that generates a rule for CABLE-generated wrappers.
  17. *
  18. * cmCableWrapCommand is used to generate a rule in a CABLE
  19. * configuration file to create type wrappers.
  20. */
  21. class cmCableWrapCommand : public cmCablePackageEntryCommand
  22. {
  23. public:
  24. /**
  25. * This is a virtual constructor for the command.
  26. */
  27. virtual cmCommand* Clone()
  28. {
  29. return new cmCableWrapCommand;
  30. }
  31. /**
  32. * The name of the command as specified in CMakeList.txt.
  33. */
  34. virtual const char* GetName() { return "CABLE_WRAP";}
  35. /**
  36. * Succinct documentation.
  37. */
  38. virtual const char* GetTerseDocumentation()
  39. {
  40. return "Define CABLE WrapSet in a package.";
  41. }
  42. /**
  43. * More documentation.
  44. */
  45. virtual const char* GetFullDocumentation()
  46. {
  47. return
  48. "CABLE_WRAP(member1 member2 ...)\n"
  49. "Generates a WrapSet in the CABLE configuration.";
  50. }
  51. virtual void WriteConfiguration() const;
  52. cmTypeMacro(cmCableWrapCommand, cmCablePackageCommand);
  53. };
  54. #endif