本文整理汇总了C++中ConfigReader::getNTSC方法的典型用法代码示例。如果您正苦于以下问题:C++ ConfigReader::getNTSC方法的具体用法?C++ ConfigReader::getNTSC怎么用?C++ ConfigReader::getNTSC使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ConfigReader
的用法示例。
在下文中一共展示了ConfigReader::getNTSC方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: main
//.........这里部分代码省略.........
usage(argv[0]);
fprintf(stderr, "\nFailed to parse arguments:\nUnknown exception thrown\n");
return 1;
}
if (xmlCommandPath.size() != 0)
{
ConfigReader appConfig;
appConfig.readConfigFile(xmlCommandPath);
cout << "Application verbose= " << appConfig.getVerbose() << endl;
cout << "Application prefix= " << appConfig.getPrefix() << endl;
std::string test = "TRUE";
ostringstream test_ss;
test_ss << test;
if (appConfig.getVerbose() == test_ss.str())
{
verbose = true;
}
if (appConfig.getGroupOnly() == test_ss.str())
{
createAAFGroupOnly = true;
}
if (appConfig.getGroup() == test_ss.str())
{
createAAFGroup = true;
}
if (appConfig.getMultiCam() == test_ss.str())
{
createMultiCam = true;
}
if (appConfig.getNTSC() == test_ss.str())
{
isPAL = false;
}
if (appConfig.getFCP() == test_ss.str())
{
fcpxml = true;
fcpPath = appConfig.getEditPath();
}
if (appConfig.getDirDB() == test_ss.str())
{
includeMCCutsSequence = true;
}
if (appConfig.getDirCut() == test_ss.str())
{
includeMCCutsSequence = true;
mcCutsFilename = appConfig.getDirSource();
}
if (appConfig.getAudioEdit() == test_ss.str())
{
audioEdits = true;
}
dbHostName = appConfig.getDBHostName();
dbName = appConfig.getDBName();
dbUserName = appConfig.getUser();
dbPassword = appConfig.getPassword();
filenamePrefix = appConfig.getPrefix();
pkgid = appConfig.getPkgID();
for (std::vector<std::string>::const_iterator it = pkgid.begin(); it != pkgid.end(); ++it)