/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/include/util/ |
H A D | json_util.h | 73 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson() argument 75 if (jsonIn.is_number()) { in FromJson() 76 output = jsonIn.as_number<T>(); in FromJson() 83 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson() argument 85 if (jsonIn.is_string()) { in FromJson() 86 output = JsonUnescape(static_cast<T>(jsonIn.string_)); in FromJson() 92 inline bool FromJson(const CORE_NS::json::value& jsonIn, bool& output) in FromJson() argument 94 if (jsonIn.is_boolean()) { in FromJson() 95 output = jsonIn.boolean_; in FromJson() 101 inline bool FromJson(const CORE_NS::json::value& jsonIn, argument 112 FromJsonArray(const CORE_NS::json::value& jsonIn, T* output, size_t size) FromJsonArray() argument 126 FromJson(const CORE_NS::json::value& jsonIn, ::Math::Vec2& output) FromJson() argument 131 FromJson(const CORE_NS::json::value& jsonIn, ::Math::Vec3& output) FromJson() argument 136 FromJson(const CORE_NS::json::value& jsonIn, ::Math::Vec4& output) FromJson() argument 141 FromJson(const CORE_NS::json::value& jsonIn, ::Math::UVec2& output) FromJson() argument 146 FromJson(const CORE_NS::json::value& jsonIn, ::Math::UVec3& output) FromJson() argument 151 FromJson(const CORE_NS::json::value& jsonIn, ::Math::UVec4& output) FromJson() argument 156 FromJson(const CORE_NS::json::value& jsonIn, ::Math::Quat& output) FromJson() argument [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | json_util.h | 70 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson() argument 72 if (jsonIn.is_number()) { in FromJson() 73 output = jsonIn.as_number<T>(); in FromJson() 80 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson() argument 82 if (jsonIn.is_string()) { in FromJson() 83 output = JsonUnescape(static_cast<T>(jsonIn.string_)); in FromJson() 89 inline bool FromJson(const CORE_NS::json::value& jsonIn, bool& output) in FromJson() argument 91 if (jsonIn.is_boolean()) { in FromJson() 92 output = jsonIn.boolean_; in FromJson() 98 inline bool FromJson(const CORE_NS::json::value& jsonIn, BASE_N argument 109 FromJsonArray(const CORE_NS::json::value& jsonIn, T* output, size_t size) FromJsonArray() argument 123 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::Vec2& output) FromJson() argument 128 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::Vec3& output) FromJson() argument 133 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::Vec4& output) FromJson() argument 138 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::UVec2& output) FromJson() argument 143 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::UVec3& output) FromJson() argument 148 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::UVec4& output) FromJson() argument 153 FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Math::Quat& output) FromJson() argument [all...] |
H A D | ecs_serializer.cpp | 186 const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const in FromJson() 188 return PropertyFromJson(ec, jsonIn, property, offset); in FromJson() 219 const IEntityCollection& /*ec*/, const json::value& jsonIn, const Property& /*property*/, uintptr_t offset) in PropertyFromJson() 222 return FromJson(jsonIn, value); in PropertyFromJson() 226 const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) in RenderHandleReferenceFromJson() 230 if (!jsonIn.is_object()) { in RenderHandleReferenceFromJson() 239 if (!SafeGetJsonValue(jsonIn, "type", error, type)) { in RenderHandleReferenceFromJson() 244 if (!SafeGetJsonValue(jsonIn, "name", error, desc.name)) { in RenderHandleReferenceFromJson() 248 SafeGetJsonValue(jsonIn, "additionalName", error, desc.additionalName); in RenderHandleReferenceFromJson() 280 bool EntityFromJson(const IEntityCollection& ec, const json::value& jsonIn, Entit argument 185 FromJson( const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const FromJson() argument 218 PropertyFromJson( const IEntityCollection& , const json::value& jsonIn, const Property& , uintptr_t offset) PropertyFromJson() argument 225 RenderHandleReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) RenderHandleReferenceFromJson() argument 416 EntityReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, EntityReference& entityOut) EntityReferenceFromJson() argument 817 GatherExternalCollections( const json::value& jsonIn, string_view contextUri, vector<ExternalCollection>& externalCollectionsOut) const GatherExternalCollections() argument 846 ReadEntityCollection( IEntityCollection& ec, const json::value& jsonIn, string_view contextUri) const ReadEntityCollection() argument 951 ReadComponents(IEntityCollection& ec, const json::value& jsonIn, bool setId) const ReadComponents() argument 1002 ReadComponent( IEntityCollection& ec, const json::value& jsonIn, Entity entity, IComponentManager& component) const ReadComponent() argument 1063 ReadProperty( IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const ReadProperty() argument [all...] |
H A D | ecs_serializer.h | 51 bool GatherExternalCollections(const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri, 55 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const override; 56 bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId) const override; 57 bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 59 bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Property& property, 78 bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn,
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_serializer.cpp | 68 bool GatherExternalCollections(const CORE_NS::json::value& jsonIn, ::string_view contextUri, 72 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, ::string_view contextUri) const override; 73 bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn) const override; 74 bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 76 bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Property& property, 96 bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, 133 const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const in FromJson() 135 return PropertyFromJson(ec, jsonIn, property, offset); in FromJson() 164 const IEntityCollection& /*ec*/, const json::value& jsonIn, const Property& /*property*/, uintptr_t offset) in PropertyFromJson() 167 return FromJson(jsonIn, valu in PropertyFromJson() 132 FromJson( const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const FromJson() argument 163 PropertyFromJson( const IEntityCollection& , const json::value& jsonIn, const Property& , uintptr_t offset) PropertyFromJson() argument 170 RenderHandleReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) RenderHandleReferenceFromJson() argument 225 EntityFromJson(const IEntityCollection& ec, const json::value& jsonIn, Entity& entityOut) EntityFromJson() argument 361 EntityReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, EntityReference& entityOut) EntityReferenceFromJson() argument 755 GatherExternalCollections( const json::value& jsonIn, string_view contextUri, vector<ExternalCollection>& externalCollectionsOut) const GatherExternalCollections() argument 783 ReadEntityCollection( IEntityCollection& ec, const json::value& jsonIn, string_view contextUri) const ReadEntityCollection() argument 904 ReadComponent( IEntityCollection& ec, const json::value& jsonIn, Entity entity, IComponentManager& component) const ReadComponent() argument 965 ReadProperty( IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const ReadProperty() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | intf_ecs_serializer.h | 62 virtual bool FromJson(const IEntityCollection& ec, const json::value& jsonIn, 83 virtual bool GatherExternalCollections(const json::value& jsonIn, string_view contextUri, 87 IEntityCollection& ec, const json::value& jsonIn, string_view contextUri) const = 0; 88 virtual bool ReadComponents(IEntityCollection& ec, const json::value& jsonIn) const = 0; 89 virtual bool ReadComponent(IEntityCollection& ec, const json::value& jsonIn, Entity entity, 91 virtual bool ReadProperty(IEntityCollection& ec, const json::value& jsonIn,
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_ecs_serializer.h | 62 virtual bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, 83 virtual bool GatherExternalCollections(const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri, 87 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const = 0; 88 virtual bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId) const = 0; 89 virtual bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 91 virtual bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn,
|