The idea is to have a list of possible options for this data member, with strings identifying them. TMethodArg , TRootContextMenu , TContextMenu . This list not only specifies the allowed value, but also provides strings naming the options. Options are managed via TList of TOptionListItem objects. For other types you need to instruct ROOT about possible options.
All tokens are optional.
Result needs to be used or copied immediately. This information is only available for public datamembers. For meaning of bits see EProperty .