#include "WorkspaceObjectDiff.hpp"
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) |
WorkspaceObjectDiff represents a change to an WorkspaceObjectDiff.
openstudio::WorkspaceObjectDiff::WorkspaceObjectDiff | ( | unsigned | index, |
boost::optional< std::string > | oldValue, | ||
boost::optional< std::string > | newValue, | ||
boost::optional< UUID > | oldHandle, | ||
boost::optional< UUID > | newHandle | ||
) |
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