src/energyplus/ReverseTranslator/ReverseTranslateVersion.cpp
| 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 | #include "../ReverseTranslator.hpp" | ||
| 7 | |||
| 8 | #include "../../model/Version.hpp" | ||
| 9 | #include "../../model/Version_Impl.hpp" | ||
| 10 | |||
| 11 | #include <utilities/idd/Version_FieldEnums.hxx> | ||
| 12 | |||
| 13 | using namespace openstudio::model; | ||
| 14 | |||
| 15 | namespace openstudio { | ||
| 16 | |||
| 17 | namespace energyplus { | ||
| 18 | |||
| 19 | ✗ | OptionalModelObject ReverseTranslator::translateVersion(const WorkspaceObject& /*workspaceObject*/) { | |
| 20 | ✗ | return boost::none; | |
| 21 | //openstudio::model::Version version( m_model ); | ||
| 22 | |||
| 23 | //OptionalString optS = workspaceObject.getString(OS_VersionFields::VersionIdentifier); | ||
| 24 | //if(optS) | ||
| 25 | //{ | ||
| 26 | // version.setVersionIdentifier(*optS); | ||
| 27 | //} | ||
| 28 | |||
| 29 | //return version; | ||
| 30 | } | ||
| 31 | |||
| 32 | } // namespace energyplus | ||
| 33 | |||
| 34 | } // namespace openstudio | ||
| 35 |