CASM  1.1.0
A Clusters Approach to Statistical Mechanics
SymInfo_json_io.hh
Go to the documentation of this file.
1 #ifndef CASM_symmetry_SymInfo_json_io
2 #define CASM_symmetry_SymInfo_json_io
3 
8 
9 namespace CASM {
10 
11 struct SymInfo;
12 struct SymInfoOptions;
13 template <typename T>
14 struct jsonConstructor;
15 class jsonParser;
16 
18 
19 jsonParser &to_json(const SymInfoOptions &opt, jsonParser &json);
20 
22 void from_json(SymInfoOptions &opt, const jsonParser &json);
23 
24 template <>
26  static SymInfoOptions from_json(const jsonParser &json);
27 };
28 
30 void to_json(const SymInfo &info, jsonParser &json);
31 
32 } // namespace CASM
33 
34 #endif
#define ENUM_JSON_IO_DECL(ENUM)
Definition: json_io.hh:10
symmetry_type
Definition: SymInfo.hh:14
Main CASM namespace.
Definition: APICommand.hh:8
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void from_json(ClexDescription &desc, const jsonParser &json)
Simple struct to be used as return type for SymOp::info().
Definition: SymInfo.hh:26
Options for printing SymInfo.
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