CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <jsonStruc.hh>
Used to construct a BasicStructure from a 'properties.calc.json' object.
Definition at line 29 of file jsonStruc.hh.
Public Types | |
typedef CASM_TMP::ConstSwitch< IsConst, BasicStructure > | StrucType |
Public Member Functions | |
SimpleJSonSiteStructure (StrucType &_struc, const std::string &_prefix=std::string()) | |
void | from_json (const jsonParser &json) const |
Private Member Functions | |
void | _from_json (const BasicStructure &struc, const jsonParser &json) const |
Private Attributes | |
StrucType * | m_struc_ptr |
std::string | m_prefix |
jsonParser & | to_json (jsonParser &json) const |
void | _from_json (BasicStructure &struc, const jsonParser &json) const |
typedef CASM_TMP::ConstSwitch<IsConst, BasicStructure> CASM::SimpleJSonSiteStructure< IsConst >::StrucType |
Definition at line 31 of file jsonStruc.hh.
|
inline |
Definition at line 32 of file jsonStruc.hh.
|
private |
Definition at line 81 of file jsonStruc.hh.
|
inlineprivate |
Definition at line 42 of file jsonStruc.hh.
|
inline |
Definition at line 37 of file jsonStruc.hh.
jsonParser & CASM::SimpleJSonSiteStructure< IsConst >::to_json | ( | jsonParser & | json | ) | const |
Definition at line 55 of file jsonStruc.hh.
|
private |
Definition at line 51 of file jsonStruc.hh.
|
private |
Definition at line 50 of file jsonStruc.hh.