summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestMeasurementXMLParser.h
blob: b2c3eb3f109fe0573931051a1a81cc5ef3ae88c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */

#include <string>

#include "cmXMLParser.h"

class cmCTestTestMeasurementXMLParser : public cmXMLParser
{
public:
  cmCTestTestMeasurementXMLParser() {}
  std::string CharacterData;
  std::string ElementName;
  std::string MeasurementName;
  std::string MeasurementType;

protected:
  void StartElement(const std::string& name, const char** atts) override;
  void EndElement(const std::string& /*name*/) override {}
  void CharacterDataHandler(const char* data, int length) override;
};