Project

General

Profile

StrategyInfoType » History » Version 2

Junxiao Shi, 01/04/2015 06: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 2 Junxiao Shi
------------|---------------------------------
13 1 Junxiao Shi
0000~0009   | StrategyInfoHost unit testing
14
0010~0019   | StrategyChoice unit testing
15
1000~1009   | NccStrategy
16
1010~1019   | AccessStrategy
17 2 Junxiao Shi
9000~9999   | reserved for private experiments