CASM  1.1.0
A Clusters Approach to Statistical Mechanics
SimpleStructureIO.hh
Go to the documentation of this file.
1 #ifndef SIMPLESTRUCTUREIO_HH
2 #define SIMPLESTRUCTUREIO_HH
3 
4 #include <set>
5 
7 #include "casm/global/enum.hh"
8 
9 namespace CASM {
10 namespace xtal {
11 class SimpleStructure;
12 }
14 jsonParser &to_json(xtal::SimpleStructure const &simple_structure,
15  jsonParser &json,
16  std::set<std::string> const &excluded_species = {"Va", "VA",
17  "va"},
18  COORD_TYPE coordinate_mode = CART);
19 
21 void from_json(xtal::SimpleStructure &simple_structure, const jsonParser &json);
22 
23 } // namespace CASM
24 
25 #endif
Main CASM namespace.
Definition: APICommand.hh:8
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
COORD_TYPE
Definition: enum.hh:6
void from_json(ClexDescription &desc, const jsonParser &json)
const COORD_TYPE CART
Definition: enum.hh:9