CASM  1.1.0
A Clusters Approach to Statistical Mechanics
jsonFile.hh
Go to the documentation of this file.
1 #ifndef CASM_jsonFile
2 #define CASM_jsonFile
3 
5 
6 namespace CASM {
7 
18 class jsonFile : public jsonParser {
19  public:
21  template <typename T>
22  jsonFile(const T &t) : jsonParser(fs::path(t)) {}
23 };
24 
25 } // namespace CASM
26 
27 #endif
Slightly more compact construction of jsonParser from file.
Definition: jsonFile.hh:18
jsonFile(const T &t)
Convert fs::path from t, then construct jsonParser.
Definition: jsonFile.hh:22
Main CASM namespace.
Definition: APICommand.hh:8