src/model/ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTFROMVARIABLE_IMPL_HPP | ||
| 7 | #define MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTFROMVARIABLE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | #include "ExternalInterfaceFunctionalMockupUnitImport.hpp" | ||
| 12 | #include "ExternalInterfaceFunctionalMockupUnitImport_Impl.hpp" | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | namespace model { | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl is a ModelObject_Impl that is the implementation class for ExternalInterfaceFunctionalMockupUnitImportFromVariable.*/ | ||
| 20 | class MODEL_API ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl : public ModelObject_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | ||
| 29 | bool keepHandle); | ||
| 30 | |||
| 31 | ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl(const ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl& other, | ||
| 32 | Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 3 | virtual ~ExternalInterfaceFunctionalMockupUnitImportFromVariable_Impl() override = default; | |
| 35 | |||
| 36 | //@} | ||
| 37 | /** @name Virtual Methods */ | ||
| 38 | //@{ | ||
| 39 | |||
| 40 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 41 | |||
| 42 | virtual IddObjectType iddObjectType() const override; | ||
| 43 | |||
| 44 | //@} | ||
| 45 | /** @name Getters */ | ||
| 46 | //@{ | ||
| 47 | |||
| 48 | std::string outputVariableIndexKeyName() const; | ||
| 49 | |||
| 50 | std::string outputVariableName() const; | ||
| 51 | |||
| 52 | ExternalInterfaceFunctionalMockupUnitImport fMUFile() const; | ||
| 53 | |||
| 54 | std::string fMUInstanceName() const; | ||
| 55 | |||
| 56 | std::string fMUVariableName() const; | ||
| 57 | |||
| 58 | //@} | ||
| 59 | /** @name Setters */ | ||
| 60 | //@{ | ||
| 61 | |||
| 62 | bool setOutputVariableIndexKeyName(const std::string& outputVariableIndexKeyName); | ||
| 63 | |||
| 64 | bool setOutputVariableName(const std::string& outputVariableName); | ||
| 65 | |||
| 66 | bool setFMUFile(const ExternalInterfaceFunctionalMockupUnitImport& fMUFile); | ||
| 67 | |||
| 68 | bool setFMUInstanceName(const std::string& fMUInstanceName); | ||
| 69 | |||
| 70 | bool setFMUVariableName(const std::string& fMUVariableName); | ||
| 71 | |||
| 72 | //@} | ||
| 73 | /** @name Other */ | ||
| 74 | //@{ | ||
| 75 | |||
| 76 | //@} | ||
| 77 | protected: | ||
| 78 | private: | ||
| 79 | REGISTER_LOGGER("openstudio.model.ExternalInterfaceFunctionalMockupUnitImportFromVariable"); | ||
| 80 | }; | ||
| 81 | |||
| 82 | } // namespace detail | ||
| 83 | |||
| 84 | } // namespace model | ||
| 85 | } // namespace openstudio | ||
| 86 | |||
| 87 | #endif // MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTFROMVARIABLE_IMPL_HPP | ||
| 88 |