CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
jsonParser.cc File Reference

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 

Functions

jsonParser & CASM::to_json (bool value, jsonParser &json)
 To JSON for basic types. More...
 
jsonParser & CASM::to_json (int value, jsonParser &json)
 
jsonParser & CASM::to_json (unsigned int value, jsonParser &json)
 
jsonParser & CASM::to_json (long int value, jsonParser &json)
 
jsonParser & CASM::to_json (unsigned long int value, jsonParser &json)
 
jsonParser & CASM::to_json (double value, jsonParser &json)
 
jsonParser & CASM::to_json (const std::string &value, jsonParser &json)
 
jsonParser & CASM::to_json (const char *value, jsonParser &json)
 
jsonParser & CASM::to_json (const jsonParser &value, jsonParser &json)
 
template<>
bool CASM::from_json< bool > (const jsonParser &json)
 
template<>
int CASM::from_json< int > (const jsonParser &json)
 
template<>
unsigned int CASM::from_json< unsigned int > (const jsonParser &json)
 
template<>
long int CASM::from_json< long int > (const jsonParser &json)
 
template<>
unsigned long int CASM::from_json< unsigned long int > (const jsonParser &json)
 
template<>
double CASM::from_json< double > (const jsonParser &json)
 
template<>
std::string CASM::from_json< std::string > (const jsonParser &json)
 
template<>
jsonParser CASM::from_json< jsonParser > (const jsonParser &json)
 
void CASM::from_json (bool &value, const jsonParser &json)
 From JSON for basic types. More...
 
void CASM::from_json (int &value, const jsonParser &json)
 
void CASM::from_json (unsigned int &value, const jsonParser &json)
 
void CASM::from_json (long int &value, const jsonParser &json)
 
void CASM::from_json (unsigned long int &value, const jsonParser &json)
 
void CASM::from_json (double &value, const jsonParser &json)
 
void CASM::from_json (std::string &value, const jsonParser &json)
 
void CASM::from_json (jsonParser &value, const jsonParser &json)
 
void CASM::from_json (fs::path &value, const jsonParser &json)
 
std::istream & CASM::operator>> (std::istream &stream, jsonParser &json)
 
std::ostream & CASM::operator<< (std::ostream &stream, const jsonParser &json)
 
boost::filesystem::path CASM::find_diff (const jsonParser &A, const jsonParser &B, boost::filesystem::path diff=boost::filesystem::path())
 Return the location at which jsonParser 'A' != 'B' as a boost::filesystem::path. More...
 
boost::filesystem::path CASM::find_diff (const jsonParser &A, const jsonParser &B, double tol, boost::filesystem::path diff=boost::filesystem::path())
 Return the location at which jsonParser !A.almost_equal(B, tol) as a boost::filesystem::path. More...