CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ClusterSpecs_json_io.hh
Go to the documentation of this file.
1 #ifndef CASM_ClusterSpecs_json_io
2 #define CASM_ClusterSpecs_json_io
3 
4 #include <memory>
5 
6 namespace CASM {
7 
8 class ClusterSpecs;
9 template <typename T>
10 class InputParser;
11 class LocalMaxLengthClusterSpecs;
12 class PeriodicMaxLengthClusterSpecs;
13 class PrimClex;
14 class SymGroup;
15 class jsonParser;
16 class Structure;
17 
19 void parse(InputParser<PeriodicMaxLengthClusterSpecs> &parser,
20  const std::shared_ptr<Structure const> &shared_prim,
21  const SymGroup &super_group);
22 
24 void parse(InputParser<LocalMaxLengthClusterSpecs> &parser,
25  const std::shared_ptr<Structure const> &shared_prim,
26  const SymGroup &super_group);
27 
30 void parse(InputParser<ClusterSpecs> &parser,
31  const std::shared_ptr<Structure const> &shared_prim);
32 
34 void parse(InputParser<ClusterSpecs> &parser,
35  const std::shared_ptr<Structure const> &shared_prim,
36  const SymGroup &super_group);
37 
39 jsonParser &to_json(const PeriodicMaxLengthClusterSpecs &cspecs,
40  jsonParser &json);
41 
43 jsonParser &to_json(const LocalMaxLengthClusterSpecs &cspecs, jsonParser &json);
44 
47 jsonParser &to_json(const ClusterSpecs &cspecs, jsonParser &json);
48 } // namespace CASM
49 
50 #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)