121 * Gets the attribute's current value.
122 * Assumes that the attribute is set.
124 * @return The attribute's value
126 const ObjectType& Get() const
128 // If we have a getter delegate, then we'll call that to generate the value
129 ***** if( Getter.IsBound() )
131 // Call the delegate to get the value. Note that this will assertif the delegate is not currently
132 // safe to call (e.g. object was deleted and we could detect that)
134 // NOTE: We purposely overwrite our value copy here so that we can return the value by address in
135 // the most common case, which is an attribute that doesn't have a delegate bound to it at all.
136 Value = Getter.Execute();
139 // Return the stored value
140 return Value;