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

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 

Functions

template<typename T >
jsonParser & CASM::to_json (const std::map< std::string, T > &map, jsonParser &json)
 Converts to a JSON object. More...
 
template<typename T >
void CASM::from_json (std::map< std::string, T > &map, const jsonParser &json)
 
template<typename T >
jsonParser & CASM::to_json (const std::vector< T > &vec, jsonParser &json)
 Converts to a JSON array. More...
 
template<typename T >
void CASM::from_json (std::vector< T > &vec, const jsonParser &json)
 
template<typename T , std::size_t N>
jsonParser & CASM::to_json (const std::array< T, N > &arr, jsonParser &json)
 Converts to a JSON array. More...
 
template<typename T , std::size_t N>
void CASM::from_json (std::array< T, N > &arr, const jsonParser &json)
 
template<typename T , typename Compare >
jsonParser & CASM::to_json (const std::set< T, Compare > &set, jsonParser &json)
 Converts to a JSON array. More...
 
template<typename T , typename Compare , typename... Args>
void CASM::from_json (std::set< T, Compare > &set, const jsonParser &json, Args...args)
 
template<typename Derived >
CASM::jsonParserCASM::to_json (const Eigen::MatrixBase< Derived > &value, CASM::jsonParser &json)
 Write Eigen Matrix/Vector to JSON. More...
 
template<typename Derived >
CASM::jsonParserCASM::to_json_array (const Eigen::MatrixBase< Derived > &value, CASM::jsonParser &json)
 Write Eigen Matrix with 1 row or 1 column to JSON array. More...
 
template<typename Derived >
void CASM::from_json (Eigen::MatrixBase< Derived > &value, const CASM::jsonParser &json)
 Read Eigen Matrix/Vector from JSON. More...