NAP
Public Member Functions | Public Attributes | List of all members
PointerInstancePropertyValue Class Reference

#include <instanceproperty.h>

Public Member Functions

virtual bool setValue (rtti::ResolvedPath &resolvedTargetPath, utility::ErrorState &errorState) const override
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Public Attributes

rtti::ObjectPtr< ObjectmValue
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

Instance property value for pointer type.

Inheritance diagram for PointerInstancePropertyValue:
[legend]
Collaboration diagram for PointerInstancePropertyValue:
[legend]

Member Function Documentation

◆ setValue()

virtual bool setValue ( rtti::ResolvedPath resolvedTargetPath,
utility::ErrorState errorState 
) const
overridevirtual

Sets pointer value.

Parameters
resolvedTargetPathPath to the property to modify. The Path is constructed from both the ComponentPtr and the RTTIPath.
errorStateIf function returns false, contains error information if an error occurs, like types that do not match.
Returns
True on success, otherwise false.

Implements InstancePropertyValue.

Member Data Documentation

◆ mValue