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

#include <AlfalfaMeter.hpp>

+ Inheritance diagram for openstudio::alfalfa::AlfalfaMeter:

Public Member Functions

 AlfalfaMeter (const IdfObject &output_meter)
 Create an AlfalfaMeter Component from an IdfObject.
 
 AlfalfaMeter (const std::string &meter_name)
 Create an AlfalfaMeter Component from a meter_name which reflects the Output:Meter EneregyPlus IDD.
 
AlfalfaComponentCapability capability () const override
 
std::unique_ptr< AlfalfaComponentBaseclone () const override
 
std::string deriveName () const override
 
std::string meterName () const
 
Json::Value toJSON () const override
 
AlfalfaComponentType type () const override
 
- 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

◆ AlfalfaMeter() [1/2]

openstudio::alfalfa::AlfalfaMeter::AlfalfaMeter ( const std::string & meter_name)

Create an AlfalfaMeter Component from a meter_name which reflects the Output:Meter EneregyPlus IDD.

◆ AlfalfaMeter() [2/2]

openstudio::alfalfa::AlfalfaMeter::AlfalfaMeter ( const IdfObject & output_meter)

Create an AlfalfaMeter Component from an IdfObject.

Valid idf_object types are OutputMeter and IdfObject(IddObjectType::Output_Meter).

Member Function Documentation

◆ acceptsObjectType()

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

◆ capability()

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

◆ clone()

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

◆ deriveName()

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

◆ meterName()

std::string openstudio::alfalfa::AlfalfaMeter::meterName ( ) const

◆ toJSON()

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

◆ type()

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