refactor code to make better use of std::string and simplify using changes to Variable class API

This commit is contained in:
Axel Kohlmeyer
2020-07-17 01:23:17 -04:00
parent 63bebf58fd
commit 2fb6a61f2a
6 changed files with 41 additions and 64 deletions

View File

@ -24,10 +24,10 @@ class Variable : protected Pointers {
public:
Variable(class LAMMPS *);
~Variable();
void set(const std::string &);
void set(int, char **);
void set(const std::string &);
void set(char *, int, char **);
int set_string(char *, char *);
int set_string(const char *, const char *);
int next(int, char **);
int find(const char *);