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

#include <AlfalfaGlobalVariable.hpp>

+ Inheritance diagram for openstudio::alfalfa::AlfalfaGlobalVariable:

Public Member Functions

 AlfalfaGlobalVariable (const IdfObject &global_variable)
 Create an AlfalfaGlobalVariable Component from an IdfObject.
 
 AlfalfaGlobalVariable (const std::string &variable_name)
 Create an AlfalfaGlobalVariable Component from a variable name which reflect the EneregyManagementSystem:GlobalVariable 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 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

◆ AlfalfaGlobalVariable() [1/2]

openstudio::alfalfa::AlfalfaGlobalVariable::AlfalfaGlobalVariable ( const std::string & variable_name)

Create an AlfalfaGlobalVariable Component from a variable name which reflect the EneregyManagementSystem:GlobalVariable EnergyPlus IDD.

◆ AlfalfaGlobalVariable() [2/2]

openstudio::alfalfa::AlfalfaGlobalVariable::AlfalfaGlobalVariable ( const IdfObject & global_variable)

Create an AlfalfaGlobalVariable Component from an IdfObject.

Valid idf_object types are EnergyManagementSystemGlobalVariable and IdfObject(IddObjectType::EnergyManagementSystem_GlobalVariable)

Member Function Documentation

◆ acceptsObjectType()

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

◆ capability()

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

◆ clone()

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

◆ deriveName()

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

◆ toJSON()

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

◆ type()

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

◆ variableName()

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