Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Let's speak about Reflexion in C++ (I want know your point of view )
Re: Let's speak about Reflexion in C++ [message #51303 is a reply to message #51301] Mon, 04 March 2019 15:00 Go to previous message
mirek is currently offline  mirek
Messages: 14257
Registered: November 2005
Ultimate Member
Xemuth wrote on Mon, 04 March 2019 12:15
Hello Mirek,

Thanks for the response,

however you pointed my curiosity with the idea of database Model.
I thought that the .sch was just a way to easily create database via the code like lot of ORM do.
What's the point with Reflexion ? Reflexion is to be able to read the name of all method / arg of object via the code ?

Do you mean we can create class via .sch and know the name of method/arg of the running object via the code ?

Sorry if the question look's stupid but I'm a little lost !


.sch has several possible 'outputs'. Creating database is one of them. But it also creates structs representing rows of individual tables and mapping between these and database, which IMO is one of things that one would probably want to use reflection for, would it be available.

IMO, another example is binary serialization and Jsonize/Xmlize. All these might benefit from reflection, but doing it without is not that hard (and in fact has advantages of its own).

I am not really aware about other applications of reflection. And IMO existing use cases are too easy to do without reflection...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Windows Cert store with Upp::HttpRequest and Core/SSL
Next Topic: Macbook pro: what to buy?
Goto Forum:
  


Current Time: Mon May 12 01:31:40 CEST 2025

Total time taken to generate the page: 0.03166 seconds