ALPSCore reference
gtest_par_xml_output.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3  * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4  * For use in publications, see ACKNOWLEDGE.TXT
5  */
6 
7 #ifndef ALPS_UTILITY_GTEST_PAR_XML_OUTPUT_HPP
8 #define ALPS_UTILITY_GTEST_PAR_XML_OUTPUT_HPP
9 
10 #include <vector>
11 
12 #include "alps/config.hpp"
13 
14 namespace alps {
15 
32  std::vector<char*> keeper_;
33  // Note: we could use shared_ptr<>, but why bring in yet another header for a simple task?
34  public:
35  virtual ~gtest_par_xml_output();
36 
45  void operator()(unsigned int irank, int argc, char** argv);
46  };
47 }
48 #endif // ALPS_UTILITY_GTEST_PAR_XML_OUTPUT_HPP
void operator()(unsigned int irank, int argc, char **argv)
Tweaks (argc,argv) to redirect GTest XML output to different files.
Functor class to tweak (argc,argv).