OpenStudio:alfalfa
Loading...
Searching...
No Matches
openstudio::alfalfa::AlfalfaOutputVariable Class Reference

#include <AlfalfaOutputVariable.hpp>

+ Inheritance diagram for openstudio::alfalfa::AlfalfaOutputVariable:

Public Member Functions

 AlfalfaOutputVariable (const openstudio::IdfObject &output_variable)
 Create an AlfalfaOutputVariable Component from an IdfObject.
 
 AlfalfaOutputVariable (const std::string &variable_key, const std::string &variable_name)
 Create an AlfalfaOutputVariable Component from a variable key and variable name which reflect the Output:Variable EnergyPlus IDD.
 
AlfalfaComponentCapability capability () const override
 
std::unique_ptr< AlfalfaComponentBaseclone () const override
 
std::string deriveName () const override
 
Json::Value toJSON () const override
 
AlfalfaComponentType type () const override
 
std::string variableKey () const
 
std::string variableName () const
 
- Public Member Functions inherited from openstudio::alfalfa::AlfalfaComponentBase
virtual bool canInput () const
 
virtual bool canOutput () const
 
virtual std::string typeName () const
 
virtual ~AlfalfaComponentBase ()=default
 

Static Public Member Functions

static bool acceptsObjectType (const IddObjectType &idd_type)
 

Constructor & Destructor Documentation

◆ AlfalfaOutputVariable() [1/2]

openstudio::alfalfa::AlfalfaOutputVariable::AlfalfaOutputVariable ( const std::string & variable_key,
const std::string & variable_name )

Create an AlfalfaOutputVariable Component from a variable key and variable name which reflect the Output:Variable EnergyPlus IDD.

◆ AlfalfaOutputVariable() [2/2]

openstudio::alfalfa::AlfalfaOutputVariable::AlfalfaOutputVariable ( const openstudio::IdfObject & output_variable)

Create an AlfalfaOutputVariable Component from an IdfObject.

Valid idf_object types are OutputVariable, EnergyManagementSystemOutputVariable, IdfObject(IddObjectType::Output_Variable) and IdfObject(IddObjectType::EnergyManagementSystem_OutputVariable)

Member Function Documentation

◆ acceptsObjectType()

static bool openstudio::alfalfa::AlfalfaOutputVariable::acceptsObjectType ( const IddObjectType & idd_type)
static

◆ capability()

AlfalfaComponentCapability openstudio::alfalfa::AlfalfaOutputVariable::capability ( ) const
inlineoverridevirtual

◆ clone()

std::unique_ptr< AlfalfaComponentBase > openstudio::alfalfa::AlfalfaOutputVariable::clone ( ) const
inlineoverridevirtual

◆ deriveName()

std::string openstudio::alfalfa::AlfalfaOutputVariable::deriveName ( ) const
overridevirtual

◆ toJSON()

Json::Value openstudio::alfalfa::AlfalfaOutputVariable::toJSON ( ) const
overridevirtual

◆ type()

AlfalfaComponentType openstudio::alfalfa::AlfalfaOutputVariable::type ( ) const
inlineoverridevirtual

◆ variableKey()

std::string openstudio::alfalfa::AlfalfaOutputVariable::variableKey ( ) const

◆ variableName()

std::string openstudio::alfalfa::AlfalfaOutputVariable::variableName ( ) const