#include <WorkflowStep.hpp>
Inheritance diagram for openstudio::WorkflowStep:Public Member Functions | |
| template<typename T > | |
| T | cast () const |
| cast to type T, can throw std::bad_cast | |
| bool | operator== (const WorkflowStep &other) const |
| Tests pointer equality. | |
| template<typename T > | |
| boost::optional< T > | optionalCast () const |
| cast to optional of type T | |
| void | resetResult () |
| Resets the optional WorkflowStepResult. | |
| boost::optional< WorkflowStepResult > | result () const |
| Returns the optional WorkflowStepResult. | |
| void | setResult (const WorkflowStepResult &result) |
| Sets the optional WorkflowStepResult. | |
| std::string | string () const |
| Serialize to JSON formatted string. | |
| Json::Value | toJSON () const |
| virtual | ~WorkflowStep ()=default |
Static Public Member Functions | |
| static boost::optional< WorkflowStep > | fromString (const std::string &s) |
| Construct from JSON formatted string. | |
Protected Member Functions | |
| WorkflowStep (std::shared_ptr< detail::WorkflowStep_Impl > impl) | |
| Protected constructor from impl. | |
Base class for defining a step in an OpenStudio Workflow.
|
virtualdefault |
|
protected |
Protected constructor from impl.
|
inline |
cast to type T, can throw std::bad_cast
|
static |
Construct from JSON formatted string.
| bool openstudio::WorkflowStep::operator== | ( | const WorkflowStep & | other | ) | const |
Tests pointer equality.
|
inline |
cast to optional of type T
| void openstudio::WorkflowStep::resetResult | ( | ) |
Resets the optional WorkflowStepResult.
| boost::optional< WorkflowStepResult > openstudio::WorkflowStep::result | ( | ) | const |
Returns the optional WorkflowStepResult.
| void openstudio::WorkflowStep::setResult | ( | const WorkflowStepResult & | result | ) |
Sets the optional WorkflowStepResult.
| std::string openstudio::WorkflowStep::string | ( | ) | const |
Serialize to JSON formatted string.
| Json::Value openstudio::WorkflowStep::toJSON | ( | ) | const |