예제 #1
0
/*
 * Reads the DataGroupHeader and the minimum information for all DataSetHeaders associated with this DataGroupHeader from the file.
 */
u_int32_t DataGroupHeaderReader::ReadMinimumInfo(std::ifstream& fileStream, DataGroupHeader& dch)
{
	u_int32_t dataSetCnt = ReadHeader(fileStream, dch);

	// Read the DataSets
	DataSetHeaderReader dphReader;
	dphReader.ReadAllMinimumInfo(fileStream, dch, dataSetCnt);
	return dch.GetNextGroupPos();
}
/*
 * Reads the DataGroupHeader and the minimum information for all DataSetHeaders associated with this DataGroupHeader from the file.
 */
u_int32_t DataGroupHeaderReader::ReadMinimumInfo(std::ifstream& fileStream, DataGroupHeader& grpHdr)
{
	ReadDataGroupStartFilePos(fileStream, grpHdr);
	u_int32_t dataSetCnt = ReadHeader(fileStream, grpHdr);

	// Read the DataSets
	DataSetHeaderReader dphReader;
	dphReader.ReadAllMinimumInfo(fileStream, grpHdr, dataSetCnt);
	return grpHdr.GetNextGroupPos();
}