Support Property::Value::GetHash() + Implement lite equality operator for Map and... 38/315438/6
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 28 Nov 2024 08:21:18 +0000 (17:21 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 11 Dec 2024 06:54:07 +0000 (15:54 +0900)
commit1cbc11e24c79abfd8f7c0901e682f71b44a9f65c
tree101dd91ed14d83efdb388010c272894237213dfb
parent2a7950437b717309dbbe6b216a547a764693afe9
Support Property::Value::GetHash() + Implement lite equality operator for Map and Array

Let we support to get hash value of Property
+
Seperate the hash calculation function as internal,
so we can remove duplicated hash calculation logics in dali-core.
+
Support equality operasion for Property::Map and Property::Array.

TODO : For now, we don't consider Eplison when we check equality.
TODO : For now, we only compare hash value, not an exact value of array and map.
It should be supported in future.

Change-Id: Ie0e19f46f35cf98d84ed9dda0c3dd0fca4a8dd61
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
16 files changed:
automated-tests/src/dali/utc-Dali-PropertyArray.cpp
automated-tests/src/dali/utc-Dali-PropertyMap.cpp [changed mode: 0755->0644]
automated-tests/src/dali/utc-Dali-PropertyValue.cpp
dali/devel-api/common/hash.cpp
dali/devel-api/common/hash.h
dali/internal/common/hash-utils.h [new file with mode: 0644]
dali/internal/event/common/property-input-impl.h
dali/internal/event/rendering/vertex-buffer-impl.cpp
dali/internal/update/nodes/partial-rendering-data.h
dali/public-api/object/property-array.cpp
dali/public-api/object/property-array.h
dali/public-api/object/property-map.cpp
dali/public-api/object/property-map.h
dali/public-api/object/property-value.cpp
dali/public-api/object/property-value.h
dali/public-api/object/property.h