diff --git a/headers/os/support/Referenceable.h b/headers/os/support/Referenceable.h index 5a4fff7a6e..e7ab5d67a4 100644 --- a/headers/os/support/Referenceable.h +++ b/headers/os/support/Referenceable.h @@ -91,6 +91,11 @@ public: } } + bool IsSet() const + { + return fObject != NULL; + } + Type* Get() const { return fObject; @@ -197,6 +202,11 @@ public: fReference.Unset(); } + bool IsSet() const + { + return fReference.IsSet(); + } + const Type* Get() const { return fReference.Get();