OpenStudioCore:analysis
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Related Functions | List of all members
openstudio::analysis::Measure Class Reference

#include <Measure.hpp>

+ Inheritance diagram for openstudio::analysis::Measure:

Public Member Functions

Constructors and Destructors
virtual ~Measure ()
 
Getters and Quereis
bool isSelected () const
 
boost::optional
< FileReferenceType > 
inputFileType () const
 
boost::optional
< FileReferenceType > 
outputFileType () const
 
Setters
void setIsSelected (bool isSelected)
 
Actions
runmanager::WorkItem createWorkItem (const openstudio::path &rubyIncludeDirectory) const
 
- Public Member Functions inherited from openstudio::analysis::AnalysisObject
virtual ~AnalysisObject ()
 
AnalysisObject clone () const
 Deep copy. More...
 
std::string name () const
 
std::string displayName () const
 
std::string description () const
 
openstudio::UUID uuid () const
 
openstudio::UUID versionUUID () const
 
bool isDirty () const
 Returns true if this object has been changed since its dirty flag was last cleared. More...
 
bool operator== (const AnalysisObject &other) const
 Compare impls. More...
 
bool operator!= (const AnalysisObject &other) const
 
bool uuidEqual (const AnalysisObject &other) const
 
bool uuidAndVersionEqual (const AnalysisObject &other) const
 
boost::optional< AnalysisObjectparent () const
 
void setName (const std::string &newName)
 
void setDisplayName (const std::string &newDisplayName)
 
void setDescription (const std::string &newDescription)
 
bool clearDirtyFlag ()
 Call this method to reset the dirty flag of this object and all its children. More...
 
bool connect (const char *signal, const QObject *receiver, const char *slot, Qt::ConnectionType type=Qt::AutoConnection) const
 Connect signal from this AnalysisObject to slot on receiver. More...
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *slot=nullptr) const
 
template<typename T >
cast () const
 Cast to type T. More...
 
template<typename T >
boost::optional< T > optionalCast () const
 Cast to boost::optional<T>. More...
 

Related Functions

(Note that these are not member functions.)

typedef Measure DiscretePerturbation
 
typedef std::vector< MeasureDiscretePerturbationVector
 
typedef std::vector< MeasureMeasureVector
 
typedef boost::optional< MeasureOptionalDiscretePerturbation
 
typedef boost::optional< MeasureOptionalMeasure
 

Detailed Description

Measure is an AnalysisObject that defines one particular value of a DiscreteVariable.

Measure is abstract, implementing generic select/deselect functionality, and requiring derived types to specify inputFileType, outputFileType, and to construct the runmanager::Job that will apply the Measure to an input file.

Constructor & Destructor Documentation

virtual openstudio::analysis::Measure::~Measure ( )
inlinevirtual

Member Function Documentation

runmanager::WorkItem openstudio::analysis::Measure::createWorkItem ( const openstudio::path &  rubyIncludeDirectory) const
boost::optional<FileReferenceType> openstudio::analysis::Measure::inputFileType ( ) const
bool openstudio::analysis::Measure::isSelected ( ) const
boost::optional<FileReferenceType> openstudio::analysis::Measure::outputFileType ( ) const
void openstudio::analysis::Measure::setIsSelected ( bool  isSelected)

Friends And Related Function Documentation

typedef Measure DiscretePerturbation
related
typedef std::vector<Measure> DiscretePerturbationVector
related
typedef std::vector<Measure> MeasureVector
related
typedef boost::optional<Measure> OptionalDiscretePerturbation
related
typedef boost::optional<Measure> OptionalMeasure
related