Lines Matching refs:string
20 #include <string>
33 // The native command line string type.
36 typedef std::string StringType;
41 typedef std::map<std::string, StringType> SwitchMap;
97 // Constructs and returns the represented command line string.
102 // Constructs and returns the represented arguments string.
107 // Returns the original command line string as a vector of strings.
110 // Get and Set the program part of the command line string (the first item).
116 bool HasSwitch(const std::string& switch_string) const;
119 // value or isn't present, this method returns the empty string.
120 std::string GetSwitchValueASCII(const std::string& switch_string) const;
121 FilePath GetSwitchValuePath(const std::string& switch_string) const;
122 StringType GetSwitchValueNative(const std::string& switch_string) const;
129 void AppendSwitch(const std::string& switch_string);
130 void AppendSwitchPath(const std::string& switch_string,
132 void AppendSwitchNative(const std::string& switch_string,
134 void AppendSwitchASCII(const std::string& switch_string,
135 const std::string& value);
150 void AppendArg(const std::string& value);
163 // Initialize by parsing the given command line string.
164 // The program name is assumed to be the first item in the string.