File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 11
11
12
12
class VariablesManagement
13
13
{
14
- public:
15
- void init (std::string& line);
16
- void ajouterVariable (std::string const & name, std::string const & value);
17
- bool isVariable (std::string& name);
18
- std::string getVariableValue (std::string const & name) const ;
19
- std::unordered_map<std::string, std::string> getContent () const ;
14
+ public:
15
+ void variables_basics (std::string& line);
16
+ void variables_update (std::string& line);
20
17
21
- private:
22
- std::unordered_map<std::string, std::string> m_variables;
18
+ void ajouterVariable (std::string const & name, std::string const & value, std::string const & type);
19
+ bool isVariable (std::string& name);
20
+ std::string getVariableValue (std::string const & name) const ;
21
+ std::string getTypeVariable (std::string const & name) const ;
22
+ void setValueVariable (std::string const & name, std::string const & value);
23
+ std::unordered_map<std::string, std::string> getContent () const ;
24
+
25
+ private:
26
+ std::unordered_map<std::string, std::string> m_variables;
27
+ std::unordered_map<std::string, std::string> types_variables;
23
28
};
You can’t perform that action at this time.
0 commit comments