jdeans289 / icg2

Interface Code Generator 2: Electric Boogaloo
Other
0 stars 2 forks source link

Enums in DataTypes #7

Open jdeans289 opened 1 year ago

jdeans289 commented 1 year ago

Enums were implemented to some extent in DataTypes in John's original version, but I've been ignoring them. Evaluate the extent to which the EnumDataType, EnumDictionary, and Enumerator classes are working and patch together support for them.

jdeans289 commented 1 year ago

Actually we should probably put some more thought into this - I need to think about the level of support that we have for enums and how the values are set. I think we may need to have a nested enum dictionary to handle enums nested inside namespaces and classes. This may or may not go inside the DataTypeInator - need to think some more about how the EnumDictionary will actually be used.

jdeans289 commented 12 months ago

I cleaned it up a little, but we will definitely need to think about how the enum dictionary works.