CASM  1.1.0
A Clusters Approach to Statistical Mechanics
SuperlatticeEnumeratorIO.hh
Go to the documentation of this file.
1 #ifndef SUPERLATTICEENUMERATORIO_HH
2 #define SUPERLATTICEENUMERATORIO_HH
3 
4 namespace CASM {
5 namespace xtal {
6 class ScelEnumProps;
7 }
8 template <typename T>
9 class InputParser;
10 template <typename T>
11 struct jsonConstructor;
12 class jsonParser;
13 
14 jsonParser &to_json(const xtal::ScelEnumProps &props, jsonParser &json);
15 
17 template <>
18 struct jsonConstructor<xtal::ScelEnumProps> {
19  static xtal::ScelEnumProps from_json(const jsonParser &json);
20 };
21 
23 void from_json(xtal::ScelEnumProps &props, const jsonParser &json);
24 
27 } // namespace CASM
28 
29 #endif
Data structure for holding supercell enumeration properties.
Main CASM namespace.
Definition: APICommand.hh:8
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void from_json(ClexDescription &desc, const jsonParser &json)
void parse(InputParser< ConfigEnumOptions > &parser, std::string method_name, PrimClex const &primclex, DataFormatterDictionary< Configuration > const &dict)
Helper struct for constructing objects that need additional data.
Definition: jsonParser.hh:548
static ReturnType from_json(const jsonParser &json)
Default from_json is equivalent to.
Definition: jsonParser.hh:551