当前位置: 首页>>代码示例>>C++>>正文


C++ CommandLineOptions::getBoolOption方法代码示例

本文整理汇总了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");
}
开发者ID:murraymeehan,项目名称:marsyas,代码行数:8,代码来源:wreckBeach.cpp

示例2:

void
loadOptions()
{
  helpopt = cmd_options.getBoolOption("help");
  usageopt = cmd_options.getBoolOption("usage");
  gain = cmd_options.getRealOption("gain");
  port = cmd_options.getNaturalOption("port");
}
开发者ID:sanyaade-teachings,项目名称:marsyas,代码行数:8,代码来源:recvFFT.cpp

示例3:

void
loadOptions()
{
  helpopt = cmd_options.getBoolOption("help");
  usageopt = cmd_options.getBoolOption("usage");
  verboseopt  = cmd_options.getBoolOption("verbose");
  pluginName = cmd_options.getStringOption("classifier");
}
开发者ID:Amos-zq,项目名称:marsyas,代码行数:8,代码来源:classifyFile.cpp

示例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");
}
开发者ID:GanAlps,项目名称:Extracting-Features-from-audio,代码行数:9,代码来源:recvUDP.cpp

示例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");
}
开发者ID:abramhindle,项目名称:marsyas-fork,代码行数:9,代码来源:mkcollection.cpp

示例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");
}
开发者ID:GanAlps,项目名称:Extracting-Features-from-audio,代码行数:9,代码来源:speakerSeg2.cpp

示例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");
}
开发者ID:GanAlps,项目名称:Extracting-Features-from-audio,代码行数:10,代码来源:record.cpp

示例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");
}
开发者ID:abramhindle,项目名称:marsyas-fork,代码行数:10,代码来源:onsets.cpp

示例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");
}
开发者ID:typec4st,项目名称:Extracting-Features-from-audio,代码行数:12,代码来源:sfplaygui.cpp

示例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");
}
开发者ID:Amos-zq,项目名称:marsyas,代码行数:12,代码来源:sendUDP.cpp

示例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"); 
}
开发者ID:GanAlps,项目名称:Extracting-Features-from-audio,代码行数:13,代码来源:midiTest.cpp

示例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");
}
开发者ID:typec4st,项目名称:Extracting-Features-from-audio,代码行数:14,代码来源:sfplay.cpp

示例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");
}
开发者ID:GanAlps,项目名称:Extracting-Features-from-audio,代码行数:14,代码来源:textract.cpp

示例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");
}
开发者ID:sanyaade-teachings,项目名称:marsyas,代码行数:17,代码来源:pitchextract.cpp

示例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");
}
开发者ID:Amos-zq,项目名称:marsyas,代码行数:20,代码来源:carfac_testing.cpp


注:本文中的CommandLineOptions::getBoolOption方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。