1 /******************************************************************************
2 * Copyright (c) 2000-2016 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
13 ******************************************************************************/
21 // File specific data.
25 void inc_function(const std::string& function, int n);
26 void inc_line(int line, int n);
27 inline const std::map<std::string, int>& get_functions() const { return m_functions; }
28 inline const std::map<int, int>& get_lines() const { return m_lines; }
30 std::map<std::string, int> m_functions;
31 std::map<int, int> m_lines;
36 Tcov2Lcov(const char *code_base, const char *input_dir, const char *output_file, const char *xsd_file);
42 void d_print_files() const;
44 int collect_dir(std::string dir);
46 std::map<std::string, TcovData *> m_data;
47 std::vector<std::string> m_files; // Relative paths.
48 std::string m_code_base;
49 std::string m_input_dir;
50 std::string m_output_file;
51 std::string m_xsd_file;
56 #endif // TCOV2LCOV_HH