本文整理汇总了C++中CDFData::GetQCProbeSetInformation方法的典型用法代码示例。如果您正苦于以下问题:C++ CDFData::GetQCProbeSetInformation方法的具体用法?C++ CDFData::GetQCProbeSetInformation怎么用?C++ CDFData::GetQCProbeSetInformation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CDFData
的用法示例。
在下文中一共展示了CDFData::GetQCProbeSetInformation方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: UseGetQCProbeSetInformationToReadCDFFileTest
void CDFFileReaderTest::UseGetQCProbeSetInformationToReadCDFFileTest()
{
CDFData data;
CDFFileReader reader;
reader.SetFilename(SMALL_CDF_FILE);
reader.Read(data, CDFFileReader::ReadByProbeSetNumber);
CDFQCProbeSetInformation info;
CPPUNIT_ASSERT_THROW(data.GetQCProbeSetInformation(0, info), ProbeSetNotFoundException);
CPPUNIT_ASSERT_THROW(data.GetQCProbeSetInformation(L"hello", info), ProbeSetNotFoundException);
}
示例2: ReadQCCDFProbeSetInformationOpenSeqModeInWrongMode
void CDFFileReaderTest::ReadQCCDFProbeSetInformationOpenSeqModeInWrongMode()
{
CDFData data;
CDFFileReader reader;
reader.SetFilename(SMALL_QCCDF_FILE);
reader.Read(data, CDFFileReader::ReadSequential);
CDFQCProbeSetInformation info;
CPPUNIT_ASSERT_THROW(data.GetQCProbeSetInformation(4, info), CDFAccessNotSupportedByModeException);
CPPUNIT_ASSERT_THROW(data.GetQCProbeSetInformation(L"hello", info), CDFAccessNotSupportedByModeException);
}
示例3: GetQCProbeSetInformationWithProbeSetNumberOutOfBoundsTest
void CDFFileReaderTest::GetQCProbeSetInformationWithProbeSetNumberOutOfBoundsTest()
{
CDFData data;
CDFFileReader reader;
reader.SetFilename(SMALL_QCCDF_FILE);
reader.Read(data, CDFFileReader::ReadByProbeSetNumber);
CDFQCProbeSetInformation info;
CPPUNIT_ASSERT_THROW(data.GetQCProbeSetInformation(11, info), ProbeSetNotFoundException);
}
示例4: ReadSmallQCCDFFileSeqModeTest
void CDFFileReaderTest::ReadSmallQCCDFFileSeqModeTest()
{
CDFData data;
CDFFileReader reader;
CPPUNIT_ASSERT_NO_THROW(reader.SetFilename(SMALL_QCCDF_FILE));
CPPUNIT_ASSERT_NO_THROW(reader.Read(data, CDFFileReader::ReadSequential));
int32_t probeSetCnt = data.GetProbeSetCnt();
for (int32_t i = 0; i < probeSetCnt; ++i)
{
CDFQCProbeSetInformation info;
data.GetQCProbeSetInformation(i, info);
CheckSmallQCCDFProbeSetInformation(i, info);
}
CheckQCGetProbeSetName(data);
}
示例5: ReadSmallQCCDFFileProbeSetNumberModeTest
void CDFFileReaderTest::ReadSmallQCCDFFileProbeSetNumberModeTest()
{
CDFData data;
CDFFileReader reader;
CPPUNIT_ASSERT_NO_THROW(reader.SetFilename(SMALL_QCCDF_FILE));
CPPUNIT_ASSERT_NO_THROW(reader.Read(data, CDFFileReader::ReadByProbeSetNumber));
int32_t probeSetCnt = data.GetProbeSetCnt();
// go backwards
for (int32_t i = probeSetCnt-1; i >= 0; --i)
{
CDFQCProbeSetInformation info;
data.GetQCProbeSetInformation(i, info);
CheckSmallQCCDFProbeSetInformation(i, info);
}
CheckQCGetProbeSetName(data);
}
示例6: ReadSmallQCCDFFileProbeSetNameModeTest
void CDFFileReaderTest::ReadSmallQCCDFFileProbeSetNameModeTest()
{
CDFData data;
CDFFileReader reader;
CPPUNIT_ASSERT_NO_THROW(reader.SetFilename(SMALL_QCCDF_FILE));
CPPUNIT_ASSERT_NO_THROW(reader.Read(data, CDFFileReader::ReadByProbeSetName));
int32_t probeSetCnt = data.GetProbeSetCnt();
// go backwards
for (int32_t i = probeSetCnt-1; i >= 0; --i)
{
wchar_t name[100];
FormatString1(name, 100, L"control_%d", i);
CDFQCProbeSetInformation info;
data.GetQCProbeSetInformation(name, info);
CheckSmallQCCDFProbeSetInformation(i, info);
}
CheckQCGetProbeSetName(data);
}