CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ClexBasisSpecs_json_io.hh
Go to the documentation of this file.
1 #ifndef CASM_ClexBasisSpecs_json_io
2 #define CASM_ClexBasisSpecs_json_io
3 
4 #include <memory>
5 #include <utility>
6 
7 namespace CASM {
8 
9 namespace DoFType {
10 class Traits;
11 }
12 
13 template <typename T>
14 class InputParser;
15 template <typename T>
16 class ParsingDictionary;
17 
18 struct ClexBasisSpecs;
19 class Structure;
20 class jsonParser;
21 
38 void parse(InputParser<ClexBasisSpecs> &parser,
39  std::shared_ptr<Structure const> shared_prim,
40  ParsingDictionary<DoFType::Traits> const *dof_dict);
41 
52 jsonParser &to_json(ClexBasisSpecs const &basis_set_specs, jsonParser &json,
53  Structure const &prim,
54  ParsingDictionary<DoFType::Traits> const *dof_dict);
55 
56 } // namespace CASM
57 
58 #endif
std::shared_ptr< Structure const > shared_prim
Main CASM namespace.
Definition: APICommand.hh:8
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void parse(InputParser< ConfigEnumOptions > &parser, std::string method_name, PrimClex const &primclex, DataFormatterDictionary< Configuration > const &dict)