Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
Dali::Internal::CustomPropertyMetadata Class Reference

#include <property-metadata.h>

Inheritance diagram for Dali::Internal::CustomPropertyMetadata:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::CustomPropertyMetadata:
Collaboration graph
[legend]

Public Member Functions

 CustomPropertyMetadata (const std::string &newName, Property::Type newType, const SceneGraph::PropertyBase *newProperty)
 Constructor for metadata of scene graph based properties. More...
 
 CustomPropertyMetadata (const std::string &newName, Property::Value newValue, Property::AccessMode accessMode)
 Constructor for metadata of event side only properties. More...
 
virtual bool IsWritable (void) const
 

Public Attributes

std::string name
 The name of the property. More...
 

Private Member Functions

 CustomPropertyMetadata ()
 
 CustomPropertyMetadata (const CustomPropertyMetadata &)
 
CustomPropertyMetadataoperator= (const CustomPropertyMetadata &)
 

Private Attributes

Property::AccessMode mAccessMode
 The mode of the property. More...
 

Additional Inherited Members

Detailed Description

Definition at line 197 of file property-metadata.h.

Constructor & Destructor Documentation

Dali::Internal::CustomPropertyMetadata::CustomPropertyMetadata ( const std::string &  newName,
Property::Type  newType,
const SceneGraph::PropertyBase newProperty 
)
inline

Constructor for metadata of scene graph based properties.

Parameters
[in]newNameThe name of the custom property.
[in]newTypeThe type ID of the custom property.
[in]newPropertyA pointer to the scene-graph owned property.

Definition at line 207 of file property-metadata.h.

References DALI_ASSERT_DEBUG, Dali::Internal::PropertyMetadata::mProperty, Dali::Property::Value(), and Dali::Internal::PropertyMetadata::value.

Here is the call graph for this function:

Dali::Internal::CustomPropertyMetadata::CustomPropertyMetadata ( const std::string &  newName,
Property::Value  newValue,
Property::AccessMode  accessMode 
)
inline

Constructor for metadata of event side only properties.

Parameters
[in]newNameThe name of the custom property.
[in]newValueThe value of the custom property.
[in]accessModeThe access mode of the custom property (writable, animatable etc).

Definition at line 224 of file property-metadata.h.

References Dali::Property::ANIMATABLE, DALI_ASSERT_DEBUG, and Dali::Internal::PropertyMetadata::value.

Dali::Internal::CustomPropertyMetadata::CustomPropertyMetadata ( )
private
Dali::Internal::CustomPropertyMetadata::CustomPropertyMetadata ( const CustomPropertyMetadata )
private

Member Function Documentation

virtual bool Dali::Internal::CustomPropertyMetadata::IsWritable ( void  ) const
inlinevirtual
Returns
true if the property can be written to

Implements Dali::Internal::PropertyMetadata.

Definition at line 237 of file property-metadata.h.

References Dali::Property::ANIMATABLE, mAccessMode, and Dali::Property::READ_WRITE.

Referenced by Dali::Internal::Object::IsPropertyWritable(), and Dali::Internal::Object::SetProperty().

Here is the caller graph for this function:

CustomPropertyMetadata& Dali::Internal::CustomPropertyMetadata::operator= ( const CustomPropertyMetadata )
private

Member Data Documentation

Property::AccessMode Dali::Internal::CustomPropertyMetadata::mAccessMode
private

The mode of the property.

Definition at line 252 of file property-metadata.h.

Referenced by IsWritable().

std::string Dali::Internal::CustomPropertyMetadata::name

The name of the property.

Definition at line 242 of file property-metadata.h.

Referenced by Dali::Internal::Object::GetPropertyIndex(), and Dali::Internal::Object::GetPropertyName().


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali