StrategyInfoType » History » Version 1
Junxiao Shi, 01/02/2015 05:42 PM
| 1 | 1 | Junxiao Shi | # StrategyInfo TypeId assignments |
|---|---|---|---|
| 2 | |||
| 3 | This page is a registry for type identifiers of StrategyInfo derived classes. |
||
| 4 | |||
| 5 | Each StrategyInfo derived class MUST declare the following method: |
||
| 6 | |||
| 7 | static constexpr int getTypeId(); |
||
| 8 | |||
| 9 | The return value of those methods SHOULD be registered in the table below. |
||
| 10 | |||
| 11 | ID or range | usage |
||
| 12 | ------------|------------------------------ |
||
| 13 | 0000~0009 | StrategyInfoHost unit testing |
||
| 14 | 0010~0019 | StrategyChoice unit testing |
||
| 15 | 1000~1009 | NccStrategy |
||
| 16 | 1010~1019 | AccessStrategy |