Changes between Initial Version and Version 1 of Ticket #13605, comment 27
- Timestamp:
- 01/31/13 00:07:17 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13605, comment 27
initial v1 15 15 > Then how would you allow global access? I don't think these dictionaries should be private (and/or name-mangled) to `Partitions` (and `Tableaux`) because it indicates (to me) the options are only bound to `Partitions`, and that they don't have a global impact (such as to `PartitionTuple`). I think we should have the `option()` method to `PartitionTuples` and any other class that wants access to options. 16 16 17 Sorry, my bad, I played around a little with a generic options class which let you do things like this. It was derived from UniqueRepresentation which allowed it to be used by multiple classes, but in the I decided that this wasn't really workable as to get all of the features I wanted in thisgeneric options class the syntax became too contrived. I like your idea of a PartitionsOptions class.17 Sorry, my bad, I played around a little with a generic options class which let you do things like this. It was derived from UniqueRepresentation which allowed it to be used by multiple classes, but I decided that this wasn't really workable as to get all of the features I wanted in a generic options class the syntax became too contrived. I like your idea of a PartitionsOptions class. 18 18 19 19 Andrew