2 stringswitch_enumerator_default_member_name(lcm_cmdaimove
),
3 stringswitch_enumerator_member_name(lcm_cmdaimove
, star
),
4 stringswitch_enumerator_member_name(lcm_cmdaimove
, bomb
),
5 stringswitch_enumerator_member_name(lcm_cmdaimove
, chase
),
6 stringswitch_enumerator_member_name(lcm_cmdaimove
, avoid
),
7 stringswitch_enumerator_member_name(lcm_cmdaimove
, biker
),
8 stringswitch_enumerator_member_name(lcm_cmdaimove
, arrow
),
9 stringswitch_enumerator_member_name(lcm_cmdaimove
, normal
),
10 stringswitch_enumerator_member_name(lcm_cmdaimove
, chasex
),
11 stringswitch_enumerator_member_name(lcm_cmdaimove
, chasez
),
12 stringswitch_enumerator_member_name(lcm_cmdaimove
, avoidx
),
13 stringswitch_enumerator_member_name(lcm_cmdaimove
, avoidz
),
14 stringswitch_enumerator_member_name(lcm_cmdaimove
, wander
),
15 stringswitch_enumerator_member_name(lcm_cmdaimove
, nomove
),
16 } stringswitch_enumerator_name(lcm_cmdaimove
);
18 static int stringswitch_enumerator_eval_func(lcm_cmdaimove
) (char* str
, size_t l
) {
23 if(str
[1]!='t') goto main_default
;
24 if(str
[2]!='a') goto main_default
;
25 if(str
[3]!='r') goto main_default
;
26 return stringswitch_enumerator_member_name(lcm_cmdaimove
, star
);
28 if(str
[1]!='o') goto main_default
;
29 if(str
[2]!='m') goto main_default
;
30 if(str
[3]!='b') goto main_default
;
31 return stringswitch_enumerator_member_name(lcm_cmdaimove
, bomb
);
32 default: goto main_default
;
37 if(str
[1]!='h') goto main_default
;
38 if(str
[2]!='a') goto main_default
;
39 if(str
[3]!='s') goto main_default
;
40 if(str
[4]!='e') goto main_default
;
41 return stringswitch_enumerator_member_name(lcm_cmdaimove
, chase
);
45 if(str
[2]!='o') goto main_default
;
46 if(str
[3]!='i') goto main_default
;
47 if(str
[4]!='d') goto main_default
;
48 return stringswitch_enumerator_member_name(lcm_cmdaimove
, avoid
);
50 if(str
[2]!='r') goto main_default
;
51 if(str
[3]!='o') goto main_default
;
52 if(str
[4]!='w') goto main_default
;
53 return stringswitch_enumerator_member_name(lcm_cmdaimove
, arrow
);
54 default: goto main_default
;
57 if(str
[1]!='i') goto main_default
;
58 if(str
[2]!='k') goto main_default
;
59 if(str
[3]!='e') goto main_default
;
60 if(str
[4]!='r') goto main_default
;
61 return stringswitch_enumerator_member_name(lcm_cmdaimove
, biker
);
62 default: goto main_default
;
67 if(str
[1]!='o') goto main_default
;
70 if(str
[3]!='m') goto main_default
;
71 if(str
[4]!='a') goto main_default
;
72 if(str
[5]!='l') goto main_default
;
73 return stringswitch_enumerator_member_name(lcm_cmdaimove
, normal
);
75 if(str
[3]!='o') goto main_default
;
76 if(str
[4]!='v') goto main_default
;
77 if(str
[5]!='e') goto main_default
;
78 return stringswitch_enumerator_member_name(lcm_cmdaimove
, nomove
);
79 default: goto main_default
;
82 if(str
[1]!='h') goto main_default
;
83 if(str
[2]!='a') goto main_default
;
84 if(str
[3]!='s') goto main_default
;
85 if(str
[4]!='e') goto main_default
;
88 return stringswitch_enumerator_member_name(lcm_cmdaimove
, chasex
);
90 return stringswitch_enumerator_member_name(lcm_cmdaimove
, chasez
);
91 default: goto main_default
;
94 if(str
[1]!='v') goto main_default
;
95 if(str
[2]!='o') goto main_default
;
96 if(str
[3]!='i') goto main_default
;
97 if(str
[4]!='d') goto main_default
;
100 return stringswitch_enumerator_member_name(lcm_cmdaimove
, avoidx
);
102 return stringswitch_enumerator_member_name(lcm_cmdaimove
, avoidz
);
103 default: goto main_default
;
106 if(str
[1]!='a') goto main_default
;
107 if(str
[2]!='n') goto main_default
;
108 if(str
[3]!='d') goto main_default
;
109 if(str
[4]!='e') goto main_default
;
110 if(str
[5]!='r') goto main_default
;
111 return stringswitch_enumerator_member_name(lcm_cmdaimove
, wander
);
112 default: goto main_default
;
116 return stringswitch_enumerator_default_member_name(lcm_cmdaimove
);