I am building a class and in it I want to reference some constant information, but I wanted to set it up in a certain way. Let's say for instance I want to reference locations, I would have State, City, then location, I would want to lay it out like this:
State.City.Location with location being a point
The idea is to be able to set these up in my class so that in the main code I can use this when calling certain functions, that way a point can be manually entered, or I could use this to type it in as a textual reference to what I need.
What is the best way to achieve this result so that I can type in the first variable such as Ohio, then with a period bring up a list of cities I have defined, followed by the piece of data I want.
State.City.Location with location being a point
The idea is to be able to set these up in my class so that in the main code I can use this when calling certain functions, that way a point can be manually entered, or I could use this to type it in as a textual reference to what I need.
What is the best way to achieve this result so that I can type in the first variable such as Ohio, then with a period bring up a list of cities I have defined, followed by the piece of data I want.