cmCustomCommandLines.h 869 B

1234567891011121314151617181920212223242526272829
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmCustomCommandLines_h
  4. #define cmCustomCommandLines_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. /** Data structure to represent a single command line. */
  9. class cmCustomCommandLine : public std::vector<std::string>
  10. {
  11. public:
  12. typedef std::vector<std::string> Superclass;
  13. typedef Superclass::iterator iterator;
  14. typedef Superclass::const_iterator const_iterator;
  15. };
  16. /** Data structure to represent a list of command lines. */
  17. class cmCustomCommandLines : public std::vector<cmCustomCommandLine>
  18. {
  19. public:
  20. typedef std::vector<cmCustomCommandLine> Superclass;
  21. typedef Superclass::iterator iterator;
  22. typedef Superclass::const_iterator const_iterator;
  23. };
  24. #endif