Possible to loop through all blueprint sub-classes?

Would you be willing to share the code privately? I’m looking for a solution to have all child classes of a BP be accessable as an array and im very new to c++ and brand new to Unreals c++ api, all I know how to do is basic bp function librarys with int or string returns, simple stuff like that. I have no idea how to use the PopulateClassHierarcy class to get my blueprint classes into memory (they arnt in the level and I dont want them to be, since they are data only)