Reflection getting shared parts of a class
BlitzMax Forums/BlitzMax Programming/Reflection getting shared parts of a class
| ||
Is there any way to get shared parts of a class at runtime using reflection? I'm specially interested on Globals, functions and const. It seems reflection only handles fields and methods. Am I missing anything? |
| ||
Am I missing anything? I don't think you are. |
| ||
grable made a modified reflection module which can get you functions, but I'm not sure about globals and constants. |
| ||
I used to write glue code providing pointers to global identifiers like global vars/functions. Annoying. Reflecting those by name would rule! Link doesnt work for me :( |
| ||
Link doesnt work for me :( ^ Try again... I'm guessing you were logged on at BlitzMax.com or BlitzBasic.co.nz so you got an "Access Denied" error (or equivalent) when you attempted to view the thread in the restricted BlitzMax Module Tweaks forum. I made the link relative, so it should work from all domains. |
| ||
I was looking for a official solution, as I'm in the middle of making a property editor for BlitzMax objects, based on wxpropertygrid and reflection, but I would need to be able to enumerate constants, so I'm not sure it can be done with the current reflection implementation :( |