亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? optionprocessor.cpp

?? This software aims to create an applet and panel tools to manage a wireless interface card, such as
?? CPP
字號:
//
// OptionProcessor.cpp
//
// $Id: //poco/Main/Util/src/OptionProcessor.cpp#2 $
//
// Copyright (c) 2004-2005, Guenter Obiltschnig/Applied Informatics.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright
//    notice, this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
//
// 3. Redistributions in any form must be accompanied by information on
//    how to obtain complete source code for this software and any
//    accompanying software that uses this software.  The source code
//    must either be included in the distribution or be available for no
//    more than the cost of distribution plus a nominal fee, and must be
//    freely redistributable under reasonable conditions.  For an
//    executable file, complete source code means the source code for all
//    modules it contains.  It does not include source code for modules or
//    files that typically accompany the major components of the operating
//    system on which the executable file runs.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//


#include "Util/OptionProcessor.h"
#include "Util/OptionSet.h"
#include "Util/Option.h"
#include "Util/OptionException.h"


Util_BEGIN


OptionProcessor::OptionProcessor(const OptionSet& options): 
	_options(options),
	_unixStyle(true),
	_ignore(false)
{
}


OptionProcessor::~OptionProcessor()
{
}


void OptionProcessor::setUnixStyle(bool flag)
{
	_unixStyle = flag;
}


bool OptionProcessor::process(const std::string& argument, std::string& optionName, std::string& optionArg)
{
	if (!_ignore)
	{
		if (_unixStyle)
			return processUnix(argument, optionName, optionArg);
		else
			return processDefault(argument, optionName, optionArg);
	}
	return false;
}


bool OptionProcessor::processUnix(const std::string& argument, std::string& optionName, std::string& optionArg)
{
	std::string::const_iterator it  = argument.begin();
	std::string::const_iterator end = argument.end();
	if (it != end)
	{
		if (*it == '-')
		{
			++it;
			if (it != end)
			{
				if (*it == '-')
				{
					++it;
					if (it == end)
					{
						_ignore = true;
						return true;
					}
					else return processCommon(std::string(it, end), false, optionName, optionArg);
				}
				else return processCommon(std::string(it, end), true, optionName, optionArg);
			}
		}
	}
	return false;
}


bool OptionProcessor::processDefault(const std::string& argument, std::string& optionName, std::string& optionArg)
{
	std::string::const_iterator it  = argument.begin();
	std::string::const_iterator end = argument.end();
	if (it != end)
	{
		if (*it == '/')
		{
			++it;
			return processCommon(std::string(it, end), false, optionName, optionArg);
		}
	}
	return false;
}


bool OptionProcessor::processCommon(const std::string& optionStr, bool isShort, std::string& optionName, std::string& optionArg)
{
	if (optionStr.empty()) throw EmptyOptionException();
	const Option& option = _options.getOption(optionStr, isShort);
	const std::string& group = option.group();
	if (!group.empty())
	{
		if (_groups.find(group) != _groups.end())
			throw IncompatibleOptionsException(option.fullName());
		else
			_groups.insert(group);
	}
	if (_specifiedOptions.find(option.fullName()) != _specifiedOptions.end() && !option.repeatable())
		throw DuplicateOptionException(option.fullName());
	_specifiedOptions.insert(option.fullName());
	option.process(optionStr, optionArg);
	optionName = option.fullName();
	return true;
}


Util_END

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99riav一区二区三区| 亚洲美女免费在线| 麻豆精品一二三| 日韩欧美国产电影| 国产成人精品一区二区三区网站观看| 2021国产精品久久精品| 国产成人免费在线观看不卡| 亚洲国产精品精华液2区45| 成人中文字幕合集| 亚洲欧美中日韩| 欧美高清激情brazzers| 久久成人免费网| 2020国产成人综合网| 粉嫩av一区二区三区在线播放| 国产精品视频线看| 精品视频色一区| 久久99精品久久久久婷婷| 久久精品亚洲一区二区三区浴池| 丁香婷婷综合五月| 亚洲永久免费视频| 久久亚洲捆绑美女| 91农村精品一区二区在线| 日本欧美在线观看| 日本一区二区不卡视频| 欧美美女黄视频| 国产91富婆露脸刺激对白| 亚洲午夜激情网页| 久久综合国产精品| 欧美亚洲国产bt| 国产尤物一区二区在线| 一卡二卡三卡日韩欧美| 久久久久久久久久久久久夜| 色噜噜偷拍精品综合在线| 久久精品国产99国产| 一区二区三区精品在线| 精品国产乱码久久久久久1区2区 | 久久久美女毛片| 97精品国产露脸对白| 美女一区二区久久| 国产精品护士白丝一区av| 日韩丝袜情趣美女图片| 99国产精品久久久久久久久久久 | 欧美一区二区在线免费播放| 成人性生交大片免费看中文网站| 午夜亚洲国产au精品一区二区| 中文字幕精品三区| 欧美精品一卡二卡| 91丨九色丨尤物| 国产精品 欧美精品| 日韩电影在线观看网站| 自拍偷拍亚洲综合| 中文字幕国产一区二区| 欧美不卡一区二区| 91麻豆精品国产91久久久久 | 国产伦理精品不卡| 亚洲18影院在线观看| 国产精品剧情在线亚洲| 中文字幕精品一区二区精品绿巨人 | 欧美国产日产图区| 精品久久久久久综合日本欧美| 欧美日韩一区不卡| 一本一道波多野结衣一区二区 | 天堂在线一区二区| 一区二区日韩av| 日韩理论片在线| 国产精品不卡视频| 国产精品美女久久福利网站 | 日韩一区二区视频| 欧美另类变人与禽xxxxx| 欧美日韩专区在线| 欧美影院一区二区三区| 欧美在线999| 欧美少妇性性性| 欧美日韩一级黄| 欧美一区二区三区视频在线| 欧美福利视频导航| 色婷婷久久久久swag精品 | 国产精品污www在线观看| 国产欧美日本一区二区三区| 久久精品夜色噜噜亚洲a∨| 久久综合色之久久综合| 国产亚洲欧美一级| 国产精品视频一区二区三区不卡 | 亚洲另类春色校园小说| 综合网在线视频| 亚洲欧美日韩人成在线播放| 亚洲人成网站色在线观看| 亚洲激情自拍偷拍| 日韩精品久久久久久| 精品一区二区三区视频| 国产成人免费网站| 91视频精品在这里| 欧美久久久久久久久中文字幕| 欧美四级电影网| 精品国产制服丝袜高跟| 欧美激情在线免费观看| 亚洲精品中文字幕在线观看| 亚洲午夜久久久久久久久电影网 | 99久久免费国产| 欧美视频在线一区二区三区| 3atv一区二区三区| 2023国产精品自拍| 亚洲免费毛片网站| 蜜桃一区二区三区在线| 欧洲人成人精品| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲一区在线观看视频| 免费观看在线综合色| 国产高清久久久久| 欧美日韩国产小视频| 精品日韩99亚洲| 亚洲欧美日韩中文播放| 日韩精品一级中文字幕精品视频免费观看 | 国产亚洲精品超碰| 亚洲黄色小说网站| 精品亚洲免费视频| 色老综合老女人久久久| 91精品在线麻豆| 国产婷婷色一区二区三区 | 丝袜诱惑制服诱惑色一区在线观看| 激情五月婷婷综合网| 91麻豆高清视频| 日韩精品一区二区三区视频在线观看| 国产精品国产三级国产普通话99 | 欧美一级日韩不卡播放免费| 国产精品久久久久影院| 日韩二区三区在线观看| a级精品国产片在线观看| 欧美日韩国产一二三| 中文字幕不卡在线播放| 老汉av免费一区二区三区| 91成人在线观看喷潮| 欧美国产精品一区二区| 日韩精品亚洲专区| 色女孩综合影院| 欧美国产日本韩| 精品综合久久久久久8888| 91成人免费在线| 国产精品大尺度| 狠狠色伊人亚洲综合成人| 26uuu国产在线精品一区二区| 一区二区欧美在线观看| 大胆欧美人体老妇| 精品国产伦一区二区三区免费| 亚洲一区国产视频| 日本电影欧美片| 国产精品久线观看视频| 久久精品国产澳门| 在线不卡免费av| 亚洲一区二区av电影| aaa亚洲精品| 国产精品久久久久桃色tv| 韩国女主播一区二区三区| 日韩三级.com| 人禽交欧美网站| 欧美一区二区三区在线观看| 依依成人精品视频| 99久久99久久精品免费看蜜桃| 精品国产91亚洲一区二区三区婷婷 | 精品乱人伦小说| 免费一级片91| 精品日韩av一区二区| 久久精品二区亚洲w码| 日韩免费看的电影| 久久99精品久久久久久国产越南| 欧美一卡二卡在线| 麻豆成人免费电影| 欧美精品一区二区高清在线观看| 美女在线一区二区| 久久久久久久久久久久久女国产乱 | 狠狠色丁香久久婷婷综合丁香| 日韩欧美一二区| 国产一区二区三区在线看麻豆| 日韩一区二区三区免费看| 免费精品视频在线| 国产网站一区二区| 91在线丨porny丨国产| 一片黄亚洲嫩模| 欧美一区二区性放荡片| 精品一区二区日韩| 欧美激情一区二区三区不卡 | 久久久综合视频| 粉嫩欧美一区二区三区高清影视| 国产精品青草综合久久久久99| 99国产精品久久| 视频在线在亚洲| 久久中文字幕电影| 成人午夜私人影院| 一区二区三区在线观看欧美| 欧美猛男超大videosgay| 精品一区二区影视| 亚洲视频图片小说| 日韩一区二区三区av| 国产成人av一区| 一区二区三区不卡在线观看 | 一本色道久久综合精品竹菊| 香蕉成人啪国产精品视频综合网| 日韩欧美专区在线| 国产91精品久久久久久久网曝门 | 成人小视频在线|