Home
last modified time | relevance | path

Searched refs:propertyPath (Results 1 - 13 of 13) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/
H A Decs_property_util.h35 const string& propertyPath, string& path, string& name) in ResolveContainerProperty()
38 auto separatorPosition = propertyPath.find_first_of('.'); in ResolveContainerProperty()
43 path = propertyPath.substr(0, separatorPosition); in ResolveContainerProperty()
44 name = propertyPath.substr(separatorPosition + 1); in ResolveContainerProperty()
34 ResolveContainerProperty(const IPropertyHandle& handle, const string& propertyPath, string& path, string& name) ResolveContainerProperty() argument
H A Dintf_entity_collection.h118 Entity entity, Uid component, string_view propertyPath, bool serialize) = 0;
120 Entity entity, Uid component, string_view propertyPath) = 0;
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/
H A Dproperty_data.h50 BASE_NS::string propertyPath; member
63 PropertyOffset WLock(IPropertyHandle& handle, BASE_NS::string_view propertyPath);
70 PropertyOffset RLock(const IPropertyHandle& handle, BASE_NS::string_view propertyPath);
74 * @param propertyPath property path to search for.
79 BASE_NS::array_view<const Property> properties, BASE_NS::string_view propertyPath, uintptr_t baseOffset);
83 * @param propertyPath Property path to search for.
87 BASE_NS::array_view<const Property> properties, BASE_NS::string_view propertyPath);
H A Dproperty_data.cpp49 ret.propertyPath = name.substr(0, pos); in ParseIndex()
62 ret.propertyPath = name.substr(0, pos); in ParseIndex()
123 ret.propertyPath = name; in FindProperty()
130 ret.propertyPath = name.substr(0, pos); in FindProperty()
168 PropertyData::PropertyOffset PropertyData::WLock(IPropertyHandle& handle, const string_view propertyPath) in WLock() argument
172 if (auto po = FindProperty(Owner()->MetaData(), propertyPath, baseOffset); po) { in WLock()
208 PropertyData::PropertyOffset PropertyData::RLock(const IPropertyHandle& handle, const string_view propertyPath) in RLock() argument
212 if (auto po = FindProperty(Owner()->MetaData(), propertyPath, baseOffset); po) { in RLock()
236 const array_view<const Property> properties, const string_view propertyPath, const uintptr_t baseOffset) in FindProperty()
238 PropertyData::PropertyOffset offset = ::FindProperty(properties, propertyPath, baseOffse in FindProperty()
235 FindProperty( const array_view<const Property> properties, const string_view propertyPath, const uintptr_t baseOffset) FindProperty() argument
245 FindProperty( const array_view<const Property> properties, const string_view propertyPath) FindProperty() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/
H A Dentity_collection.cpp102 CORE_NS::Entity entity, BASE_NS::Uid component, BASE_NS::string_view propertyPath, bool serialize) override;
104 CORE_NS::Entity entity, BASE_NS::Uid component, BASE_NS::string_view propertyPath) override;
727 bool SetPropertyDefined(EntityCollection::PropertyList& pl, string_view propertyPath)
730 if (prop == propertyPath) {
737 auto len2 = propertyPath.length();
740 auto view2 = propertyPath.substr(0, len1);
747 pl.push_back(string(propertyPath));
750 bool SetPropertyUndefined(EntityCollection::PropertyList& pl, string_view propertyPath)
753 if (pl[i] == propertyPath) {
825 bool EntityCollection::MarkPropertySerialized(Entity entity, Uid component, string_view propertyPath, boo
[all...]
H A Decs_serializer.cpp614 for (const auto& propertyPath : *props) { in WriteComponent()
622 auto containerHandle = ResolveContainerProperty(*handle, propertyPath, path, name); in WriteComponent()
626 propertyOffset = propertyData.RLock(*propertyHandle, propertyPath); in WriteComponent()
637 propertiesJson[propertyPath] = move(propertyJson); in WriteComponent()
866 void EnsureDynamicArraySize(IPropertyHandle* propertyHandle, string_view propertyPath) in EnsureDynamicArraySize() argument
868 const auto separatorPosition = propertyPath.find('['); in EnsureDynamicArraySize()
872 const auto separatorEndPosition = propertyPath.find(']', separatorPosition); in EnsureDynamicArraySize()
878 arrayPath = propertyPath.substr(0, separatorPosition); in EnsureDynamicArraySize()
879 arrayIndex = propertyPath.substr(separatorPosition + 1, separatorEndPosition - separatorPosition - 1); in EnsureDynamicArraySize()
899 const auto restOfThePath = propertyPath in EnsureDynamicArraySize()
928 const auto& propertyPath = propertyJson.key; ReadComponent() local
[all...]
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dentity_collection.cpp760 bool SetPropertyDefined(EntityCollection::PropertyList& pl, string_view propertyPath)
763 if (prop == propertyPath) {
770 auto len2 = propertyPath.length();
773 auto view2 = propertyPath.substr(0, len1);
780 pl.push_back(string(propertyPath));
783 bool SetPropertyUndefined(EntityCollection::PropertyList& pl, string_view propertyPath)
786 if (pl[i] == propertyPath) {
858 bool EntityCollection::MarkPropertySerialized(Entity entity, Uid component, string_view propertyPath, bool serialize)
871 changed = changed | SetPropertyDefined(info->second[component], propertyPath);
874 changed = changed | SetPropertyUndefined(info->second[component], propertyPath);
[all...]
H A Decs_util.h203 const BASE_NS::string& propertyPath, BASE_NS::string& path, BASE_NS::string& name) in ResolveContainerProperty()
206 auto separatorPosition = propertyPath.find_first_of('.'); in ResolveContainerProperty()
211 path = propertyPath.substr(0, separatorPosition); in ResolveContainerProperty()
212 name = propertyPath.substr(separatorPosition + 1); in ResolveContainerProperty()
202 ResolveContainerProperty(const CORE_NS::IPropertyHandle& handle, const BASE_NS::string& propertyPath, BASE_NS::string& path, BASE_NS::string& name) ResolveContainerProperty() argument
H A Decs_serializer.cpp56 void EnsureDynamicArraySize(IPropertyHandle* propertyHandle, string_view propertyPath) in EnsureDynamicArraySize() argument
58 const auto separatorPosition = propertyPath.find('['); in EnsureDynamicArraySize()
62 const auto separatorEndPosition = propertyPath.find(']', separatorPosition); in EnsureDynamicArraySize()
68 arrayPath = propertyPath.substr(0, separatorPosition); in EnsureDynamicArraySize()
69 arrayIndex = propertyPath.substr(separatorPosition + 1, separatorEndPosition - separatorPosition - 1); in EnsureDynamicArraySize()
89 const auto restOfThePath = propertyPath.substr(separatorEndPosition); in EnsureDynamicArraySize()
676 for (auto& propertyPath : *props) { in WriteComponent()
684 auto containerHandle = ResolveContainerProperty(*handle, propertyPath, path, name); in WriteComponent()
688 propertyOffset = propertyData.RLock(*propertyHandle, propertyPath); in WriteComponent()
699 propertiesJson[propertyPath] in WriteComponent()
1026 const auto& propertyPath = propertyJson.key; ReadComponent() local
[all...]
H A Decs_animation.cpp859 auto propertyPath = fullPropertyPath.substr(separatorPosition + 1); in CreateAnimationTrack() local
877 if (auto po = RLock(*targetHandle, propertyPath); po) { in CreateAnimationTrack()
886 nameComponent.name = "TimeStamps - " + targetName + ":" + propertyPath; in CreateAnimationTrack()
895 nameComponent.name = "Keys - " + targetName + ":" + propertyPath; in CreateAnimationTrack()
913 trackHandle->property = propertyPath; in CreateAnimationTrack()
944 auto propertyPath = fullPropertyPath.substr(separatorPosition + 1); in GetAnimationTrack() local
950 if (trackHandle->target == target && trackHandle->property == propertyPath) { in GetAnimationTrack()
H A Dentity_collection.h113 CORE_NS::Entity entity, BASE_NS::Uid component, BASE_NS::string_view propertyPath, bool serialize) override;
115 CORE_NS::Entity entity, BASE_NS::Uid component, BASE_NS::string_view propertyPath) override;
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_entity_collection.h131 CORE_NS::Entity entity, BASE_NS::Uid component, BASE_NS::string_view propertyPath, bool serialize) = 0;
133 CORE_NS::Entity entity, BASE_NS::Uid component, BASE_NS::string_view propertyPath) = 0;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp563 if (c && c.propertyPath == propertyName) { in FindDynamicProperty()

Completed in 12 milliseconds