aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/arg.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/source/arg.h')
-rw-r--r--externals/grill/vasp/source/arg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/vasp/source/arg.h b/externals/grill/vasp/source/arg.h
index d6ebc378..bda3ef01 100644
--- a/externals/grill/vasp/source/arg.h
+++ b/externals/grill/vasp/source/arg.h
@@ -25,13 +25,13 @@ public:
Argument();
~Argument();
- Argument &Parse(I argc,t_atom *argv);
+ Argument &Parse(I argc,const t_atom *argv);
Argument &Clear();
Argument &ClearAll();
Argument &SetVasp(Vasp *v);
Argument &SetEnv(Env *e);
- Argument &SetList(I argc,t_atom *argv);
+ Argument &SetList(I argc,const t_atom *argv);
Argument &SetI(I i);
Argument &SetR(F f);
Argument &SetR(D d);
@@ -45,7 +45,7 @@ public:
Argument &AddVasp(Vasp *v);
Argument &AddEnv(Env *e);
- Argument &AddList(I argc,t_atom *argv);
+ Argument &AddList(I argc,const t_atom *argv);
Argument &AddI(I i);
Argument &AddR(F f);
Argument &AddR(D d);
@@ -86,6 +86,8 @@ public:
const VX &GetVector() const { return *dt.vx; }
VX GetAVector() const;
+ V MakeList(flext::AtomList &ret);
+
protected:
enum {
tp_none,tp_vasp,tp_env,tp_list,tp_int,tp_float,tp_double,tp_cx,tp_vx