Searched refs:OptInfo (Results 1 – 2 of 2) sorted by relevance
262 struct OptInfo;264 typedef void (*DispatchParseFunc) (const OptInfo* info, const char* src, TypedFieldMap* dst);267 struct OptInfo struct in de::cmdline::detail::Parser284 OptInfo (void) in OptInfo() argument299 void addOption (const OptInfo& option);302 static void dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst);304 vector<OptInfo> m_options;318 void Parser::dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst) in dispatchParse()375 OptInfo opt; in addOption()
109 void Parser::addOption (const OptInfo& option) in addOption()116 typedef map<string, const OptInfo*> OptMap; in parse()117 typedef set<const OptInfo*> OptSet; in parse()126 …for (vector<OptInfo>::const_iterator optIter = m_options.begin(); optIter != m_options.end(); optI… in parse()128 const OptInfo& opt = *optIter; in parse()173 const OptInfo* opt = optPos != optMap.end() ? optPos->second : DE_NULL; in parse()247 …for (vector<OptInfo>::const_iterator optIter = m_options.begin(); optIter != m_options.end(); ++op… in help()249 const OptInfo& opt = *optIter; in help()