CASM  1.1.0
A Clusters Approach to Statistical Mechanics
InputParser.hh File Reference
#include <boost/filesystem.hpp>
#include <map>
#include <memory>
#include <set>
#include <string>
#include "casm/casm_io/json/jsonParser.hh"
#include "casm/global/definitions.hh"
#include "casm/misc/Validator.hh"

Go to the source code of this file.

Classes

struct  CASM::KwargsParser
 
class  CASM::InputParser< T >
 
class  CASM::ParentInputParser
 

Namespaces

 CASM
 Main CASM namespace.
 

Functions

int CASM::parse_verbosity (KwargsParser &parser, int default_verbosity=10)
 
void CASM::parse (InputParser< std::nullptr_t > &parser)
 Temporary – enables compilation of legacy code. More...
 
template<typename T >
void CASM::parse (InputParser< T > &parser)
 
void CASM::print_warnings (KwargsParser const &parser, Log &log, std::string header="Warnings")
 Formatted print warning messages, including all subparsers. More...
 
void CASM::print_errors (KwargsParser const &parser, Log &log, std::string header="Errors")
 Formatted print error messages, including all subparsers. More...
 
jsonParser CASM::make_report (KwargsParser const &parser)
 Return parser.input with error and warning messages added in place. More...
 
template<typename ErrorType >
void CASM::report_and_throw_if_invalid (KwargsParser const &parser, Log &log, ErrorType error)