CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
Classes | |
class | DataFormatter |
struct | DatumFormatterOptions |
class | BaseDatumEvaluator |
class | DatumEvaluator |
class | VectorizedDatumEvaluator |
class | DatumEvaluatorEntry |
class | DatumEvaluatorDictionary |
Typedefs | |
template<typename ObjectType > | |
using | EvaluatorPtrType = std::unique_ptr< BaseDatumEvaluator< ObjectType > > |
template<typename ObjectType , typename InputType > | |
using | MakeEvaluatorPtrFunction = std::function< EvaluatorPtrType< ObjectType >(InputType const &)> |
Functions | |
std::vector< std::string > const & | errors () const |
Access error messages from caught exceptions that occur during evaluation. More... | |
int error_index | insert_error (std::string what) |
std::unique_ptr< DatumEvaluatorDictEntry< DataObject > > | make_dict_entry_ptr (std::string _name, std::string _description, MakeEvaluatorPtrFunction< ObjectType > _make_evaluator_f) |
using CASM::simpleformatter::EvaluatorPtrType = typedef std::unique_ptr<BaseDatumEvaluator<ObjectType> > |
Definition at line 20 of file SimpleFormatterDict.hh.
using CASM::simpleformatter::MakeEvaluatorPtrFunction = typedef std::function<EvaluatorPtrType<ObjectType>(InputType const &)> |
Definition at line 23 of file SimpleFormatterDict.hh.
std::vector<std::string> const& CASM::simpleformatter::errors | ( | ) | const |
Access error messages from caught exceptions that occur during evaluation.
Definition at line 529 of file SimpleFormatter.hh.
int error_index CASM::simpleformatter::insert_error | ( | std::string | what | ) |
Insert an error string into a vector of unique error messages, return position of error message
Definition at line 572 of file SimpleFormatter.hh.
std::unique_ptr<DatumEvaluatorDictEntry<DataObject> > CASM::simpleformatter::make_dict_entry_ptr | ( | std::string | _name, |
std::string | _description, | ||
MakeEvaluatorPtrFunction< ObjectType > | _make_evaluator_f | ||
) |