CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
ClusterFunctions.cc
Go to the documentation of this file.
2 
3 #include <string>
4 
7 //#include "casm/clusterography/HopCluster.hh"
9 
10 namespace CASM {
11 
13  return branch.to_json(json);
14  }
15 
18  branch.from_json(json);
19  }
20 
22  return orbit.to_json(json);
23  }
25  void from_json(GenericOrbit<SiteCluster> &orbit, const jsonParser &json) {
26  orbit.from_json(json);
27  }
28 
29 };
30 
jsonParser & to_json(jsonParser &json) const
Definition: Orbit_impl.hh:424
void from_json(ClexDescription &desc, const jsonParser &json)
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void from_json(const jsonParser &json)
Assumes the prototype lattice is already set.
Definition: Orbit_impl.hh:458
Main CASM namespace.
Definition: complete.cpp:8
jsonParser & to_json(jsonParser &json) const
void from_json(const jsonParser &json)
Assumes the pivot lattice is already set.