本文整理汇总了C++中CommandLineOptions::getBoolOption方法的典型用法代码示例。如果您正苦于以下问题:C++ CommandLineOptions::getBoolOption方法的具体用法?C++ CommandLineOptions::getBoolOption怎么用?C++ CommandLineOptions::getBoolOption使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CommandLineOptions
的用法示例。
在下文中一共展示了CommandLineOptions::getBoolOption方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
verboseopt = cmd_options.getBoolOption("verbose");
toy_with = cmd_options.getStringOption("toy_with");
}
示例2:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
gain = cmd_options.getRealOption("gain");
port = cmd_options.getNaturalOption("port");
}
示例3:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
verboseopt = cmd_options.getBoolOption("verbose");
pluginName = cmd_options.getStringOption("classifier");
}
示例4:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
gain = cmd_options.getRealOption("gain");
fileName = cmd_options.getStringOption("filename");
port = cmd_options.getNaturalOption("port");
}
示例5:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
collectionName = cmd_options.getStringOption("collectionName");
labelopt = cmd_options.getStringOption("label");
marsyas_datadir_opt = cmd_options.getBoolOption("marsyasdatadir");
}
示例6:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
verboseopt = cmd_options.getBoolOption("verbose");
pluginName = cmd_options.getStringOption("plugin");
fileName = cmd_options.getStringOption("filename");
}
示例7: loadOptions
void loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
lengthopt = cmd_options.getRealOption("length");
yearopt = cmd_options.getNaturalOption("year");
gopt = cmd_options.getRealOption("gain");
sropt = cmd_options.getRealOption("srate");
copt = cmd_options.getNaturalOption("channels");
}
示例8:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
verboseopt = cmd_options.getBoolOption("verbose");
audiosynthopt = cmd_options.getBoolOption("audiosynth");
thresholdopt = cmd_options.getRealOption("threshold");
confidenceopt = cmd_options.getBoolOption("confidence");
}
示例9:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
start = cmd_options.getRealOption("start");
length = cmd_options.getRealOption("length");
repetitions = cmd_options.getRealOption("repetitions");
gain = cmd_options.getRealOption("gain");
pluginName = cmd_options.getStringOption("plugin");
fileName = cmd_options.getStringOption("filename");
}
示例10:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
start = cmd_options.getRealOption("start");
length = cmd_options.getRealOption("length");
repetitions = cmd_options.getRealOption("repetitions");
gain = cmd_options.getRealOption("gain");
port = cmd_options.getNaturalOption("port");
host = cmd_options.getStringOption("host");
}
示例11:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
bufferSizeopt = cmd_options.getNaturalOption("outputSize");
inputSizeopt = cmd_options.getNaturalOption("inputSize");
backgroundopt = cmd_options.getStringOption("background");
verbose_opt = cmd_options.getBoolOption("verbose");
mappingopt = cmd_options.getStringOption("mapping");
deviceopt = cmd_options.getStringOption("device");
portopt = cmd_options.getNaturalOption("port");
}
示例12:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
start = (float)cmd_options.getRealOption("start");
length = (float)cmd_options.getRealOption("length");
repetitions = (float)cmd_options.getRealOption("repetitions");
verboseopt = cmd_options.getBoolOption("verbose");
gain = (float)cmd_options.getRealOption("gain");
pluginName = cmd_options.getStringOption("plugin");
fileName = cmd_options.getStringOption("output");
windowsize = cmd_options.getNaturalOption("windowsize");
}
示例13:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
start = cmd_options.getRealOption("start");
length = cmd_options.getRealOption("length");
normopt = cmd_options.getBoolOption("normalize");
pluginName = cmd_options.getStringOption("plugin");
filefeaturename = cmd_options.getStringOption("filefeature");
wekafname = cmd_options.getStringOption("wekafile");
extractorName = cmd_options.getStringOption("extractor");
}
示例14:
void
loadOptions()
{
helpopt = cmd_options.getBoolOption("help");
usageopt = cmd_options.getBoolOption("usage");
wopt = cmd_options.getNaturalOption("winSize");
hopt = cmd_options.getNaturalOption("hopSize");
lpopt = cmd_options.getNaturalOption("lowerPitch");
upopt = cmd_options.getNaturalOption("upperPitch");
plopt = cmd_options.getBoolOption("playback");
topt = (float)cmd_options.getRealOption("threshold");
frsopt = cmd_options.getStringOption("frs");
skipopt = cmd_options.getBoolOption("skipunreliable");
ofnameopt = cmd_options.getStringOption("outputFile");
mode = cmd_options.getStringOption("mode");
output_fname = cmd_options.getStringOption("output");
}
示例15:
void
loadOptions()
{
helpopt_ = cmd_options.getBoolOption("help");
usageopt_ = cmd_options.getBoolOption("usage");
verboseopt_ = cmd_options.getBoolOption("verbose");
windowSize_ = cmd_options.getNaturalOption("windowsize");
memorySize_ = cmd_options.getNaturalOption("memorysize");
hopSize_ = cmd_options.getNaturalOption("hopsize");
gain_ = cmd_options.getRealOption("gain");
highFreq_ = cmd_options.getNaturalOption("maxfreq");
lowFreq_ = cmd_options.getNaturalOption("minfreq");
position_ = cmd_options.getNaturalOption("position");
ticks_ = cmd_options.getNaturalOption("ticks");
mode_ = cmd_options.getStringOption("mode");
start_ = cmd_options.getRealOption("start");
length_ = cmd_options.getRealOption("length");
width_ = cmd_options.getNaturalOption("width");
height_ = cmd_options.getNaturalOption("height");
}