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

#include <AlfalfaConstant.hpp>

+ Inheritance diagram for openstudio::alfalfa::AlfalfaConstant:

Public Member Functions

 AlfalfaConstant (double value)
 Create an AlfalfaConstant Component with a set value.
 
AlfalfaComponentCapability capability () const override
 
std::unique_ptr< AlfalfaComponentBaseclone () const override
 
std::string deriveName () const override
 
Json::Value toJSON () const override
 
AlfalfaComponentType type () const override
 
double value () 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
 

Constructor & Destructor Documentation

◆ AlfalfaConstant()

openstudio::alfalfa::AlfalfaConstant::AlfalfaConstant ( double value)

Create an AlfalfaConstant Component with a set value.

Member Function Documentation

◆ capability()

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

◆ clone()

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

◆ deriveName()

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

◆ toJSON()

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

◆ type()

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

◆ value()

double openstudio::alfalfa::AlfalfaConstant::value ( ) const