本文整理汇总了C++中ConfigReader::getDBName方法的典型用法代码示例。如果您正苦于以下问题:C++ ConfigReader::getDBName方法的具体用法?C++ ConfigReader::getDBName怎么用?C++ ConfigReader::getDBName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ConfigReader
的用法示例。
在下文中一共展示了ConfigReader::getDBName方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: main
//.........这里部分代码省略.........
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)
{
ostringstream index_ss;
index_ss << *it;
long index = atol(index_ss.str().c_str());
cout << "Package IDs= " << index << endl;
package_ids.push_back(index);
}
if (verbose)
{
printf("VERBOSE IS TRUE \n");
}
}
targetEditRate = (isPAL ? g_palEditRate : g_ntscEditRate);
// parse --to and --from now that we know whether it is PAL or NTSC
if (fromString != 0)
{
parseDateAndTimecode(fromString, isPAL, &fromDate, &fromTimecode);
}
if (toString != 0)
{
parseDateAndTimecode(toString, isPAL, &toDate, &toTimecode);
}