CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType > Class Template Reference

#include <SimpleFormatterDict.hh>

Detailed Description

template<typename ObjectType, typename InputType>
class CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >

Definition at line 27 of file SimpleFormatterDict.hh.

Public Member Functions

 DatumEvaluatorEntry (std::string _name, std::string _description, MakeEvaluatorPtrFunction< ObjectType, InputType > _make_evaluator_ptr_f)
 
std::string name () const
 
std::string description () const
 
std::unique_ptr< BaseDatumFormatter< ObjectType > > make (InputType const &input) const
 

Private Attributes

std::string m_name
 
std::string m_description
 
MakeEvaluatorPtrFunction< ObjectType, InputType > make_evaluator_f
 

Constructor & Destructor Documentation

◆ DatumEvaluatorEntry()

template<typename ObjectType , typename InputType >
CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::DatumEvaluatorEntry ( std::string  _name,
std::string  _description,
MakeEvaluatorPtrFunction< ObjectType, InputType >  _make_evaluator_ptr_f 
)
inline

Definition at line 29 of file SimpleFormatterDict.hh.

Member Function Documentation

◆ description()

template<typename ObjectType , typename InputType >
std::string CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::description ( ) const
inline

Definition at line 38 of file SimpleFormatterDict.hh.

◆ make()

template<typename ObjectType , typename InputType >
std::unique_ptr<BaseDatumFormatter<ObjectType> > CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::make ( InputType const &  input) const
inline

Definition at line 40 of file SimpleFormatterDict.hh.

◆ name()

template<typename ObjectType , typename InputType >
std::string CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::name ( ) const
inline

Definition at line 36 of file SimpleFormatterDict.hh.

Member Data Documentation

◆ m_description

template<typename ObjectType , typename InputType >
std::string CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::m_description
private

Definition at line 47 of file SimpleFormatterDict.hh.

◆ m_name

template<typename ObjectType , typename InputType >
std::string CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::m_name
private

Definition at line 46 of file SimpleFormatterDict.hh.

◆ make_evaluator_f

template<typename ObjectType , typename InputType >
MakeEvaluatorPtrFunction<ObjectType, InputType> CASM::simpleformatter::DatumEvaluatorEntry< ObjectType, InputType >::make_evaluator_f
private

Definition at line 48 of file SimpleFormatterDict.hh.


The documentation for this class was generated from the following file: