OpenStudio:osversion
 All Classes Namespaces Functions Pages
Public Member Functions | List of all members
openstudio::osversion::RefactoredObjectData Class Reference

#include <VersionTranslator.hpp>

Public Member Functions

IdfObject newObject () const
 
IdfObject oldObject () const
 
 RefactoredObjectData (const IdfObject &old, const IdfObject &newObject)
 
 RefactoredObjectData (IdfObject &&old, IdfObject &&newObject)
 

Detailed Description

Helper class meant to replace std::pair<IdfObject, IdfObject> that maps objects that have been significantly refactor (old, new)

Constructor & Destructor Documentation

openstudio::osversion::RefactoredObjectData::RefactoredObjectData ( const IdfObject &  old,
const IdfObject &  newObject 
)
openstudio::osversion::RefactoredObjectData::RefactoredObjectData ( IdfObject &&  old,
IdfObject &&  newObject 
)

Member Function Documentation

IdfObject openstudio::osversion::RefactoredObjectData::newObject ( ) const
IdfObject openstudio::osversion::RefactoredObjectData::oldObject ( ) const