CASM  1.1.0
A Clusters Approach to Statistical Mechanics
OrbitFunctionWriter.hh
Go to the documentation of this file.
1 #ifndef CASM_OrbitFunctionTraits
2 #define CASM_OrbitFunctionTraits
3 
5 
6 namespace CASM {
7 
10 class OrbitFunctionTraits {
11  public:
12  static string class_desc() { return "Orbit Function Traits"; }
13 
14  // Constructor? OrbitFunctionTraits()
15  //
16 
17  virtual std::string name() const = 0;
18 
19  virtual void print_param_pack_initilialization() const {}
20 
21  virtual void print_to_point_prepare() const {}
22 
23  virtual void print_to_global_prepare() const {}
24 
25  virtual void print_typedefs(std::ostream &out, std::string const &class_name,
26  std::string const &indent) const {}
27 
28  virtual void print_eval_table_definitions(std::ostream &out,
29  std::string const &class_name,
30  ClexBasis const &clex,
31  std::string const &indent) const {}
32 
33  private:
34  std::string m_name;
35  std::vector<std::string> m_signature;
36  std::vector<std::string> m_arg_names;
37  std::string m_short_desc;
38  std::string m_long_desc;
39 };
40 
41 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42 
43 } // namespace CASM
44 
45 #endif
virtual void print_eval_table_definitions(std::ostream &out, std::string const &class_name, ClexBasis const &clex, std::string const &indent) const
std::vector< std::string > m_arg_names
std::vector< std::string > m_signature
virtual void print_to_point_prepare() const
virtual void print_to_global_prepare() const
virtual std::string name() const =0
virtual void print_typedefs(std::ostream &out, std::string const &class_name, std::string const &indent) const
virtual void print_param_pack_initilialization() const
Main CASM namespace.
Definition: APICommand.hh:8