cmCTestUpdateHandler.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #ifndef cmCTestUpdateHandler_h
  14. #define cmCTestUpdateHandler_h
  15. #include "cmCTestGenericHandler.h"
  16. #include "cmListFileCache.h"
  17. /** \class cmCTestUpdateHandler
  18. * \brief A class that handles ctest -S invocations
  19. *
  20. */
  21. class cmCTestUpdateHandler : public cmCTestGenericHandler
  22. {
  23. public:
  24. /*
  25. * The main entry point for this class
  26. */
  27. int UpdateDirectory();
  28. cmCTestUpdateHandler();
  29. private:
  30. // Some structures needed for cvs update
  31. struct StringPair :
  32. public std::pair<std::string, std::string>{};
  33. struct UpdateFiles : public std::vector<StringPair>{};
  34. struct AuthorsToUpdatesMap :
  35. public std::map<std::string, UpdateFiles>{};
  36. };
  37. #endif