Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / include / xbt / parse_units.hpp
1 /* Copyright (c) 2007-2021. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_XBT_PARSE_UNITS_HPP
8 #define SIMGRID_XBT_PARSE_UNITS_HPP
9
10 double xbt_parse_get_time(const std::string& filename, int lineno, const char* string, const char* entity_kind,
11                           const std::string& name);
12 double surf_parse_get_size(const std::string& filename, int lineno, const char* string, const char* entity_kind,
13                            const std::string& name);
14 double xbt_parse_get_bandwidth(const std::string& filename, int lineno, const char* string, const char* entity_kind,
15                                const std::string& name);
16 std::vector<double> xbt_parse_get_bandwidths(const std::string& filename, int lineno, const char* string,
17                                              const char* entity_kind, const std::string& name);
18 double xbt_parse_get_speed(const std::string& filename, int lineno, const char* string, const char* entity_kind,
19                            const std::string& name);
20 std::vector<double> xbt_parse_get_all_speeds(const std::string& filename, int lineno, char* speeds,
21                                              const char* entity_kind, const std::string& id);
22
23 #endif