Home | History | Annotate | Download | only in primitives

Lines Matching defs:Choices

21 typedef std::vector<std::string> Choices;
30 * will print a menu presenting the two choices and ask for input. The user,
41 explicit ChoiceBuilder(const std::string& title, const Choices& choices);
43 // Specifies the choice as the default. The choice must be one of the choices
52 // the choice number (choices start at 1).
57 Choices choices_;
62 // choices are separated by \n.
66 // Creates choices from a string where choices are separated by \n.
67 Choices SplitChoices(const std::string& raw_choices);