CPP-Reflection | C Reflection Parser / Runtime Skeleton | Reflection library
kandi X-RAY | CPP-Reflection Summary
kandi X-RAY | CPP-Reflection Summary
C++ Reflection Parser / Runtime Skeleton
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CPP-Reflection
CPP-Reflection Key Features
CPP-Reflection Examples and Code Snippets
Community Discussions
Trending Discussions on CPP-Reflection
QUESTION
I am currently trying to write a serializer/deserializer for my pet-project game engine. After some thinking i decided to use CPP-Reflection library for type introspection https://github.com/AustinBrunkhorst/CPP-Reflection Calling SomeField.GetType(), where SomeField is declared like SomeType* SomeField returns an UNKNOWN type. How does one get a pointer type?
...ANSWER
Answered 2019-Jan-16 at 18:04Problem solved. After looking through sources i found a EnablePtrType property located in MetaProperties.h. Adding it to Meta(...) macro and inheriting from Object class enables generation of pointer types
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CPP-Reflection
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page