SSAGES  0.9.3
Software Suite for Advanced General Ensemble Simulations
RequirementLoader.h
1 
26 #pragma once
27 
28 #include "json/json.h"
29 #include "Requirement.h"
30 #include <memory>
31 
32 namespace Json
33 {
35 
39  {
40  public:
42 
46  std::unique_ptr<Requirement> LoadRequirement(const Value& json);
47 
49 
53  std::unique_ptr<Requirement> LoadExtended(const Value& json);
54 
56 
62  std::unique_ptr<Requirement> LoadRequirement(const ValueType& type);
63  };
64 }
Helper class to load Requirement.
std::unique_ptr< Requirement > LoadExtended(const Value &json)
Extended Requirement loader.
std::unique_ptr< Requirement > LoadRequirement(const Value &json)
Load specific requirement.