239 Options(stringconst& _configPath, stringconst& _userPath, stringconst& _commandLine); // Constructor, to be called only via the static Create method.
240 ~Options(); // Destructor, to be called only via the static Destroy method.
241
242bool ParseOptionsString(stringconst& _options); // Parse a string containing program options, such as a command line.
243bool ParseOptionsXML(stringconst& _filename); // Parse an XML file containing program options.
244 Option* AddOption(stringconst& _name); // check lock and create (or open existing) option
245 Option* Find(stringconst& _name);
246
247 map<string, Option*> m_options; // Map of option names to values.
248string m_xml; // Path to XML options file.
249string m_commandLine; // String containing command line options.
250string m_SystemPath;
251string m_LocalPath;
252bool m_locked; // If true, the options are final and AddOption can no longer be called.