CASM  1.1.0
A Clusters Approach to Statistical Mechanics
InfoInterface.hh
Go to the documentation of this file.
1 #ifndef CASM_InfoInterface
2 #define CASM_InfoInterface
3 
4 #include <string>
5 
7 
8 namespace CASM {
9 
10 class PrimClex;
11 class jsonParser;
12 
19  public:
22  virtual std::string desc() const = 0;
23 
25  virtual std::string name() const = 0;
26 
53  virtual void run(jsonParser const &json_options,
54  PrimClex const *primclex = nullptr) const = 0;
55 };
56 
57 } // namespace CASM
58 
59 #endif
virtual std::string name() const =0
Enumeration method name (i.e. "prim", "supercell", "dof_space", etc.)
virtual std::string desc() const =0
virtual void run(jsonParser const &json_options, PrimClex const *primclex=nullptr) const =0
PrimClex is the top-level data structure for a CASM project.
Definition: PrimClex.hh:55
Base class for cloning.
#define ABSTRACT_CLONEABLE(T)
Main CASM namespace.
Definition: APICommand.hh:8
PrimClex * primclex
Definition: settings.cc:135