1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2014 Ericsson Telecom AB
3 // All rights reserved. This program and the accompanying materials
4 // are made available under the terms of the Eclipse Public License v1.0
5 // which accompanies this distribution, and is available at
6 // http://www.eclipse.org/legal/epl-v10.html
7 ///////////////////////////////////////////////////////////////////////////////
15 // File specific data.
19 void inc_function(const std::string& function, int n);
20 void inc_line(int line, int n);
21 inline const std::map<std::string, int>& get_functions() const { return m_functions; }
22 inline const std::map<int, int>& get_lines() const { return m_lines; }
24 std::map<std::string, int> m_functions;
25 std::map<int, int> m_lines;
30 Tcov2Lcov(const char *code_base, const char *input_dir, const char *output_file, const char *xsd_file);
36 void d_print_files() const;
38 int collect_dir(std::string dir);
40 std::map<std::string, TcovData *> m_data;
41 std::vector<std::string> m_files; // Relative paths.
42 std::string m_code_base;
43 std::string m_input_dir;
44 std::string m_output_file;
45 std::string m_xsd_file;
50 #endif // TCOV2LCOV_HH