OpenStudioCore:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "WorkspaceObjectDiff.hpp"

Inheritance diagram for openstudio::WorkspaceObjectDiff:

Public Member Functions

boost::optional< UUID > newHandle () const
boost::optional< UUID > oldHandle () const
 WorkspaceObjectDiff (unsigned index, boost::optional< std::string > oldValue, boost::optional< std::string > newValue, boost::optional< UUID > oldHandle, boost::optional< UUID > newHandle)

Detailed Description

WorkspaceObjectDiff represents a change to an WorkspaceObjectDiff.

Constructor & Destructor Documentation

openstudio::WorkspaceObjectDiff::WorkspaceObjectDiff ( unsigned  index,
boost::optional< std::string >  oldValue,
boost::optional< std::string >  newValue,
boost::optional< UUID >  oldHandle,
boost::optional< UUID >  newHandle 
)

Member Function Documentation

boost::optional<UUID> openstudio::WorkspaceObjectDiff::newHandle ( ) const

get the new handle if there is one, use newValue to determine if field exists or not

boost::optional<UUID> openstudio::WorkspaceObjectDiff::oldHandle ( ) const

get the old handle if there was one, use oldValue to determine if field existed or not