OpenStudio:model
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
openstudio::model::ModelMerger Class Reference

#include <ModelMerger.hpp>

Public Member Functions

std::vector< LogMessageerrors () const
 Get error messages generated by the last translation. More...
 
void mergeModels (Model &currentModel, const Model &newModel, const std::map< UUID, UUID > &handleMapping)
 Merges changes from newModel into currentModel Handle mapping is mapping of handles in currentModel (keys) to handles in newModel (values) More...
 
 ModelMerger ()
 
std::vector< LogMessagewarnings () const
 Get warning messages generated by the last translation. More...
 

Constructor & Destructor Documentation

openstudio::model::ModelMerger::ModelMerger ( )

Member Function Documentation

std::vector<LogMessage> openstudio::model::ModelMerger::errors ( ) const

Get error messages generated by the last translation.

void openstudio::model::ModelMerger::mergeModels ( Model currentModel,
const Model newModel,
const std::map< UUID, UUID > &  handleMapping 
)

Merges changes from newModel into currentModel Handle mapping is mapping of handles in currentModel (keys) to handles in newModel (values)

std::vector<LogMessage> openstudio::model::ModelMerger::warnings ( ) const

Get warning messages generated by the last translation.