NGen
Loading...
Searching...
No Matches
realization::Formulation Class Referenceabstract

#include <Formulation.hpp>

+ Inheritance diagram for realization::Formulation:
+ Collaboration diagram for realization::Formulation:

Public Types

typedef long time_step_t
 

Public Member Functions

 Formulation (std::string id)
 
virtual ~Formulation ()
 
virtual std::string get_formulation_type () const =0
 
std::string get_id () const
 
virtual void create_formulation (boost::property_tree::ptree &config, geojson::PropertyMap *global=nullptr)=0
 
virtual void create_formulation (geojson::PropertyMap properties)=0
 

Protected Member Functions

virtual const std::vector< std::string > & get_required_parameters () const =0
 
geojson::PropertyMap interpret_parameters (boost::property_tree::ptree &config, geojson::PropertyMap *global=nullptr)
 
void validate_parameters (geojson::PropertyMap options)
 

Protected Attributes

std::string id
 

Member Typedef Documentation

◆ time_step_t

Constructor & Destructor Documentation

◆ Formulation()

realization::Formulation::Formulation ( std::string id)
inline

◆ ~Formulation()

virtual realization::Formulation::~Formulation ( )
inlinevirtual

Member Function Documentation

◆ create_formulation() [1/2]

virtual void realization::Formulation::create_formulation ( boost::property_tree::ptree & config,
geojson::PropertyMap * global = nullptr )
pure virtual

◆ create_formulation() [2/2]

virtual void realization::Formulation::create_formulation ( geojson::PropertyMap properties)
pure virtual

◆ get_formulation_type()

◆ get_id()

std::string realization::Formulation::get_id ( ) const
inline

References id.

◆ get_required_parameters()

virtual const std::vector< std::string > & realization::Formulation::get_required_parameters ( ) const
protectedpure virtual

◆ interpret_parameters()

geojson::PropertyMap realization::Formulation::interpret_parameters ( boost::property_tree::ptree & config,
geojson::PropertyMap * global = nullptr )
inlineprotected

◆ validate_parameters()

Member Data Documentation

◆ id

std::string realization::Formulation::id
protected

Referenced by get_id().


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