Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define and throw simgrid::TracingError.
[simgrid.git] / src / instr / instr_paje_values.hpp
1 /* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef INSTR_PAJE_VALUES_HPP
7 #define INSTR_PAJE_VALUES_HPP
8
9 #include "src/instr/instr_private.hpp"
10 #include <string>
11
12 namespace simgrid {
13 namespace instr {
14
15 class EntityValue {
16   long long int id_;
17   std::string name_;
18   std::string color_;
19   Type* father_;
20
21 public:
22   explicit EntityValue(const std::string& name, const std::string& color, Type* father);
23   const char* get_cname() { return name_.c_str(); }
24   long long int get_id() { return id_; }
25   void print();
26 };
27 }
28 }
29
30 #endif