Lines Matching refs:OptSpec
59 struct OptSpec {
65 OptSpec opts[] = {
66 {"-locale", OptSpec::STRING, &opt_locale},
67 {"-rules", OptSpec::STRING, &opt_rules},
68 {"-source", OptSpec::STRING, &opt_source},
69 {"-target", OptSpec::STRING, &opt_target},
70 {"-norm", OptSpec::FLAG, &opt_norm},
71 {"-french", OptSpec::FLAG, &opt_french},
72 {"-shifted", OptSpec::FLAG, &opt_shifted},
73 {"-lower", OptSpec::FLAG, &opt_lower},
74 {"-upper", OptSpec::FLAG, &opt_upper},
75 {"-case", OptSpec::FLAG, &opt_case},
76 {"-level", OptSpec::NUM, &opt_level},
77 {"-help", OptSpec::FLAG, &opt_help},
78 {"-?", OptSpec::FLAG, &opt_help},
79 {0, OptSpec::FLAG, 0}
85 UBool processOptions(int argc, const char **argv, OptSpec opts[])
89 OptSpec *pOpt;
93 case OptSpec::FLAG:
96 case OptSpec::STRING:
105 case OptSpec::NUM: