OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
openstudio::RunOptions Class Reference

#include <RunOptions.hpp>

Public Member Functions

bool cleanup () const
 
boost::optional
< CustomOutputAdapter
customOutputAdapter () const
 
bool debug () const
 
bool preserveRunDir () const
 
void resetCleanup ()
 
void resetCustomOutputAdapter ()
 
void resetDebug ()
 
void resetPreserveRunDir ()
 
 RunOptions ()
 
bool setCleanup (bool cleanup)
 
bool setCustomOutputAdapter (const CustomOutputAdapter &adapter)
 
bool setDebug (bool debug)
 
bool setPreserveRunDir (bool preserve)
 
std::string string () const
 Serialize to JSON formatted string. More...
 
virtual ~RunOptions ()
 

Static Public Member Functions

static boost::optional
< RunOptions
fromString (const std::string &s)
 Construct from JSON formatted string. More...
 

Detailed Description

Base class for defining a run options for a OpenStudio Workflow.

Constructor & Destructor Documentation

openstudio::RunOptions::RunOptions ( )
virtual openstudio::RunOptions::~RunOptions ( )
virtual

Member Function Documentation

bool openstudio::RunOptions::cleanup ( ) const
boost::optional<CustomOutputAdapter> openstudio::RunOptions::customOutputAdapter ( ) const
bool openstudio::RunOptions::debug ( ) const
static boost::optional<RunOptions> openstudio::RunOptions::fromString ( const std::string &  s)
static

Construct from JSON formatted string.

bool openstudio::RunOptions::preserveRunDir ( ) const
void openstudio::RunOptions::resetCleanup ( )
void openstudio::RunOptions::resetCustomOutputAdapter ( )
void openstudio::RunOptions::resetDebug ( )
void openstudio::RunOptions::resetPreserveRunDir ( )
bool openstudio::RunOptions::setCleanup ( bool  cleanup)
bool openstudio::RunOptions::setCustomOutputAdapter ( const CustomOutputAdapter adapter)
bool openstudio::RunOptions::setDebug ( bool  debug)
bool openstudio::RunOptions::setPreserveRunDir ( bool  preserve)
std::string openstudio::RunOptions::string ( ) const

Serialize to JSON formatted string.