/*************************************************************************
 * <_xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_> HiSummaryTable.cpp
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	FCHiSummaryTable_xZkqqHx_iDeOiDiJiDfIiCmMiDeDiDjDiDhGiDiKiDiBiDjDiDgHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCpAiKmHjHjNiClHiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_jHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiCmNiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCnGiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmGiClFiCmE_xHqqkZx_
 *			_xZkqqHx_iOgHiCoNiCoKiCoJiBeCiDeDiDjDiDgGiDgCiDeOiDfIiCmJiCmNiBeBiCfAiOjOiKnEiClCiCmGiCmMjAoCjBmOiOjOiKnEiBeBiDiJiDhIiDiLjFjEjFgJ_xHqqkZx_
 *			_xZkqqHx_iCmMiNoMjAkMiBeFiNoNiPjMiCkKiLeMjIfOiClDiCoKiCoJiBeCjAoCjBmOiOjOiKnEiBeBiDiJiDhIiDiLiPoOjFpBiCmNiBeBiDhCiDiFiBfLiDeB_xHqqkZx_
 *			_xZkqqHx_iCmFiCmMjHjKjHpAiNfMjBkCiDhCiDiFiBfLiCmFiCmMjBgGjBiBiCkCjFfMiOkGiCmGiBeBjHjKjHpAiMjPiNpFiCmJiOgHiCoNiCoKiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmGjHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMjBmOiJjOiCmNiImIiJlKiBeC_xHqqkZx_
 *
 *			_xZkqqHx_iBkGiPoDiCkKiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiBeBiJlKiCkKjHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiBeC_xHqqkZx_
 *			_xZkqqHx_iBkGiHeAiBgAiHeEiCmNiDhEiDeAiDeDiDiLiDhMiDeDiDjDiDfOiCmMiImKjChFiCmMjBmOiJjOiCpAiOkGiClHiBeC_xHqqkZx_
 *			_xZkqqHx_iBkGjHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_()_xZkqqHx_jCiGiCmMjAjEiOjKiCmNiBeBiLeMjIfOiClDiCoKiCmEiCkCiCoJ_xHqqkZx_
 *			  _xZkqqHx_iDfKiDgCiDfGiDiHiDjDjEnEiNiGiCpAiOkGiClFiCmEiCkCiCoJiBeC_xHqqkZx_
 *
 *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_
 *                    _xZkqqHx_iHeA_xHqqkZx_        _xZkqqHx_iHeB_xHqqkZx_        _xZkqqHx_iHeC_xHqqkZx_                  _xZkqqHx_iHeD_xHqqkZx_        _xZkqqHx_iHeE_xHqqkZx_
 *                    _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_                  _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
 *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkFiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *                    _xZkqqHx_iBkK_xHqqkZx_        _xZkqqHx_iBkK_xHqqkZx_        _xZkqqHx_iBkK_xHqqkZx_
 *                   _xZkqqHx_iHeAiHeB_xHqqkZx_      _xZkqqHx_iHeCiHeD_xHqqkZx_       _xZkqqHx_iHeE_xHqqkZx_
 *          _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_> 99.02.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/

#include "stdafx.h"
//----- 06.01.12 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//#include <algorithm>		// For find template.
//#include "DynamicDraw.h"	// For IDS_ERR_XXX.
#include "HiProject.h"		// For FCHiProject.
//#include "UtilMisc.h"		// For FFGetCurrentTime ().
//#include "UtilStr.h"		// For StrNewCpy.
#include "UtilErr.h"		// For CFCDDFileException.
#include "UtilFile.h"		// For WriteVSizeU,etc.
#include "DynamicDb.h"		// For g_pFileServer.
//#include "FoundDoc.h"		// For g_pDoc.
//----- 06.01.12 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
#include "HiSummaryTable.h"	// This header.

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

///////////////////////////////////////////////////////////////////////////////
// FCOpeIdLabel _xZkqqHx_iDiBiDjDiDgPiKnGjAjEiBeC_xHqqkZx_

///////////////////////////////////////////////////////////////////////////////
// FCHiSummaryTable _xZkqqHx_iDiBiDjDiDgPiKnGjAjEiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::FCHiSummaryTable
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
FCHiSummaryTable::FCHiSummaryTable ()
{
	// _xZkqqHx_iPiJiKpKiJlLiCmMjFeLjHhGiCmIjFmPjAjEiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
	Clear();
} // FCHiSummaryTable::FCHiSummaryTable.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::FCHiSummaryTable
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
FCHiSummaryTable::FCHiSummaryTable (const FCDbGroup& dbGroup)
			:	BASE_CLASS()
{
	Clear();
	Set(dbGroup.GetGroupName().PushBack(FDHI_SUMMARY_TABLE_ID));
} // FCHiSummaryTable::FCHiSummaryTable.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::~FCHiSummaryTable
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
FCHiSummaryTable::~FCHiSummaryTable ()
{
	if (IsOpened()) Clear();
} // FCHiSummaryTable::~FCHiSummaryTable.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::operator =
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	
 *
 * <_xZkqqHx_iPnKiNnH_xHqqkZx_>	
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::operator = (const FCDbGroup& dbGroup)
{
	Clear();
	Set(dbGroup.GetGroupName().PushBack(FDHI_SUMMARY_TABLE_ID));
} // FCHiSummaryTable::operator.

//----- 06.01.15 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::OpenExisting
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKpJjBlGiCmMiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCpAiBeBjCmHiJmBiPpDjBnEiCmFiKeKiCkNiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	tcpFile	:_xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLjGlMiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDeHiDiJiBfLiOjOiCmNjHoBiKePiCpAjEkNjAlGiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void FCHiSummaryTable::OpenExisting (FCHiProject& project, long lDocId)
//{
//	// _xZkqqHx_iDgFiBfLiDhFiDiLiCpAjAnNjCoIiBeC_xHqqkZx_
//	Initialize(project.GetSubTableName(lDocId, FDHI_SUMMARY_TABLE_ID));
//	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiCmMiDgMiDfIiDgHiCmMjAfLiClDiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_lSessionDepth = 0;
//	// _xZkqqHx_iNfIjAfGiDeKiDeFiDjDiDfOiCpAiDiKiDfKiDgCiDgHiBeC_xHqqkZx_
//	ResetTableModifiedIdentifier();
//} // FCHiSummaryTable::OpenExisting.
//----- 06.01.15 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::UpdateData
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfEiDhNiDiKiBfLiDgFiBfLiDhFiDiLiCkKiNfIjAfGiClDiCoKiCmEiCkCiCoKiCmOiDiNiBfLiDgIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	readLock:_xZkqqHx_iDfEiDhNiDiKiBfLiDgFiBfLiDhFiDiLiCmMjDmHiCnNiNjOiCnNjHhAiOkJjDkOiDiNiDgCiDeOjFmPjAjEiCpAiOhHjCoIiBeC_xHqqkZx_
 *					 _xZkqqHx_iKpJiCmJiDiNiDgCiDeOiClDiCoKiCmEiCkCiCmIiCkPiCoKiCmOiCmIiCoHiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDiNiBfLiDgIiClDiCoKiClNiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBiClDiCoKiCmIiCkCiPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDeHiDiJiBfLiOjOiCmNjHoBiKePiCpAjEkNjAlGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.15 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL FCHiSummaryTable::UpdateData (const FCDbReadLock& readLock)
{
	ASSERT(readLock.IsLocked());
	if (!BASE_CLASS::UpdateData(readLock))
	//----- _xZkqqHx_iPeDjAlDiCkKjDpMiCmBiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iPeDjAlDiCkKjDpMiCmBiCmEiCkCiCmIiCkPiCoKiCmOjFjMiLeBiBeC_xHqqkZx_
		return FALSE;
	} else
	//----- _xZkqqHx_iPeDjAlDiCkKjDpMiCmBiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiCmMiDgMiDfIiDgHiCmMjAfLiClDiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
		m_lSessionDepth = 0;
		return TRUE;
	}
} // FCHiSummaryTable::UpdateData.
//----- 06.01.15 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::Clear
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBfDiCmEiCmMiPoOjFpBiCpAiDeOiDiKiDeBiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.12 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::Clear ()
{
	// Baseclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::Clear();
	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiCmMiDgMiDfIiDgHiCmMjAfLiClDiBeC_xHqqkZx_
	m_lSessionDepth = -1;
//----- 06.01.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iDgFiBfLiDhFiDiL_xHqqkZx_GUID_xZkqqHx_iCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_guidTableGuid = GUID_NULL;
//	// _xZkqqHx_iNoNiPjM_xHqqkZx_ID_xZkqqHx_iCmGjCmHiJmB_xHqqkZx_ID_xZkqqHx_iCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//	m_dwLockedDeleteIdentifier = DWORD(-1);
//	m_dwLockedAppendIdentifier = DWORD(-1);
//----- 06.01.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
} // FCHiSummaryTable::Clear.

//----- 06.02.07 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::Close
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKeKiCkCiCmEiCkCiCoJiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCpAjFmCiClGiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void FCHiSummaryTable::Close ()
//{
//	ASSERT(IsOpened());
//	// _xZkqqHx_iPiJiKpKiJlLiCmMjFeLjHhGiCmIjFmPjAjEiCpAiPiJiKpKiJlLiBeC_xHqqkZx_
//	Clear();
//} // FCHiSummaryTable::Close.
//----- 06.02.07 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::UpdateRecordModified
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfEiDhNiDiKiBfLiDgFiBfLiDhFiDiLiCmMiDiMiDfCiBfLiDgIiCmJiPeDjAlDiCkKjDpMiCmBiClNiPoKiNiHiBeBiPeDjAlDiCpAjElNiJgGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDfEiDhNiDiKiBfLiDgFiBfLiDhFiDiLiCkKjBlMiCmMiDeBiDhGiDiKiCmFiNfIjAfGiClDiCoKiClNiPoKiNiHiCmIiCmHiBeC_xHqqkZx_
 *			_xZkqqHx_iPeDjAlDiCmN_xHqqkZx_ NextRecordIndex _xZkqqHx_iCoGiCoIiMoDiCoLiCmFiCkAiCoJiClBiCmGiCpAiKgNjEeGiClFiClNiPoKiNiHiCmMiCnN_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiKnGjAjEiCpAiOmAiNhDiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.11.20 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::UpdateRecordModified ()
{
	// _xZkqqHx_iNfIjAfGiDeKiDeFiDjDiDfOiCpAiDiKiDfKiDgCiDgHiBeC_xHqqkZx_
	ResetRealTableIdentifier();
	ResetVirtualTableIdentifier();
} // FCHiSummaryTable::UpdateRecordModified.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::IsOpened
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCkKiKeKiCkJiCoKiCmEiCkCiCoJiCkJiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iKeKiCkCiCmEiCkCiCoJiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBjFmCiClGiCmEiCkCiCoJiPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL FCHiSummaryTable::IsOpened () const
{
	return !GetIsInvalid();
} // FCHiSummaryTable::IsOpened.

//----- 06.01.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::IsRealTableReplaced
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiDhEiDeAiDeDiDiLiCkKiBeBjBlMiCmMiDeBiDeOiDfKiDfIiCmFjChFiKlHiClDiCoKiClNiCkJ_xHqqkZx_
// *			_xZkqqHx_iCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jChFiKlHiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.15 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL FCHiSummaryTable::IsRealTableReplaced () const
//{
//	return (m_guidTableGuid != g_pFileServer->GetLockedTableGuid(GetTableName()));
//} // FCHiSummaryTable::IsRealTableReplaced.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::IsRealTableRecordDeleted
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiDhEiDeAiDeDiDiLiCkKiBeBjBlMiCmMiDeBiDeOiDfKiDfIiCmFiPoDiPjBiCkLiNfIjAfGiClDiCoKiClNiCkJ_xHqqkZx_
// *			_xZkqqHx_iCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iNfIjAfGiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.12.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL FCHiSummaryTable::IsRealTableRecordDeleted () const
//{
//	return (m_dwLockedDeleteIdentifier != g_pFileServer->GetLockedDeleteIdentifier(GetTableName()));
//} // FCHiSummaryTable::IsRealTableRecordDeleted.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::IsRealTableRecordAppended
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiDhEiDeAiDeDiDiLiCkKiBeBjBlMiCmMiDeBiDeOiDfKiDfIiCmFjCmHiJmBiNfIjAfGiClDiCoKiClNiCkJ_xHqqkZx_
// *			_xZkqqHx_iCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iNfIjAfGiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.12.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL FCHiSummaryTable::IsRealTableRecordAppended () const
//{
//	return (m_dwLockedAppendIdentifier != g_pFileServer->GetLockedAppendIdentifier(GetTableName()));
//} // FCHiSummaryTable::IsRealTableRecordAppended.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::IsRealTableRecordModified
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiDhEiDeAiDeDiDiLiCkKiBeBjBlMiCmMiDeBiDeOiDfKiDfIiCmFjCmHiJmBiNfIjAfG_xHqqkZx_ _xZkqqHx_iIlNiCkCiCmN_xHqqkZx_
// *			_xZkqqHx_iPoDiPjBiCkLiNfIjAfGiClDiCoKiClNiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iNfIjAfGiClDiCoKiCmEiCkCiCoJiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.12.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL FCHiSummaryTable::IsRealTableRecordModified () const
//{
//	return (IsRealTableRecordDeleted() || IsRealTableRecordAppended());
//} // FCHiSummaryTable::IsRealTableRecordModified.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::ResetVirtualTableIdentifier
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiNiDgCiDeOiClDiCoKiCmEiCkCiCoJiDhEiDeAiDeDiDiLiCmMiBeBjCmHiJmBiNfIjAfGiDeKiDeFiDjDiDfOiCmGiPoDiPjBiCkLiNfIjAfGiDeKiDeFiDjDiDfO_xHqqkZx_
// *			_xZkqqHx_iCpAiDiKiDfKiDgCiDgHiClHiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iDiBiDiCiDiKjCiGiCmMiDeKiDeFiDjDiDfOjCgMiCmNiBeBiDiNiDgCiDeOiDhEiDeAiDeDiDiLjCiGiCmMiDeKiDeFiDjDiDfOiCmJ_xHqqkZx_
// *			_xZkqqHx_jCgMiCpAiNiHiCoNiClJiCoHiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.12.10 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void FCHiSummaryTable::ResetVirtualTableIdentifier ()
//{
//	// _xZkqqHx_iDgFiBfLiDhFiDiL_xHqqkZx_GUID_xZkqqHx_iCpAjAnNjCoIiBeC_xHqqkZx_
//	m_guidTableGuid = g_pFileServer->GetLockedTableGuid(GetTableName());
//	// _xZkqqHx_iNoNiPjM_xHqqkZx_ID_xZkqqHx_iCmGjCmHiJmB_xHqqkZx_ID_xZkqqHx_iCpAjAnNjCoIiBeC_xHqqkZx_
//	m_dwLockedDeleteIdentifier = g_pFileServer->GetLockedDeleteIdentifier(GetTableName());
//	m_dwLockedAppendIdentifier = g_pFileServer->GetLockedAppendIdentifier(GetTableName());
//} // FCHiSummaryTable::ResetVirtualTableIdentifier.
//----- 06.01.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::CmdSessionBegin
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCpAiKeKiOgOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.01.16 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::CmdSessionBegin ()
{
	// _xZkqqHx_iNmFiPiJiCmMiDfKiDgCiDfGiDiHiDjDiCmMiPoKiNiHiBeC_xHqqkZx_
	if (m_lSessionDepth == 0)
	{
		if (!m_vRecordBuffer.empty())
			FFThrowMiscUnknown();
	}
	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiCmMiDgMiDfIiDgHiCmMjAfLiClDiCpAjFmPiNfIiBeC_xHqqkZx_
	m_lSessionDepth++;
} // FCHiSummaryTable::CmdSessionBegin.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::CmdSessionEnd
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCpAiPeJjHlJiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiCmMiDgPiDgCiDhEiDeAiCkKiLpDiCmMiPoKiNiHiCmN_xHqqkZx_ FALSE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiPeJjHlJiOjOiCmJiBeB_xHqqkZx_Undo_xZkqqHx_iLeMjIfOiDhEiDeAiDeDiDiLiCmJjFmPiNfIjDoAjHgFiCpAiPjBiCkLiPgPiClHiBeC_xHqqkZx_
 *
 *        _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiNfMjBkC_xHqqkZx_
 *        _xZkqqHx_iBgDiElBiEkKiEkKiEkKiEkKiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_  _xZkqqHx_iBgDiElBiEkKiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkLiDfKiDgCiDfGiDiHiDjDiDfEiDeDiDfJiEkLiDfCiDhNiDjDiDgIiCfAiEkL_xHqqkZx_      _xZkqqHx_iEkLiDfCiDhNiDjDiDgIiCiOiEkLiPeJjCfLiDfCiDhNiDjDiDgIiEkLiDfKiDgCiDfGiDiHiDjDiDfEiDeDiDfJiEkL_xHqqkZx_
 *        _xZkqqHx_iBgDiElDiEkKiEkKiEkKiEkKiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_  _xZkqqHx_iBgDiElDiEkKiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_                _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iEkA_xHqqkZx_            _xZkqqHx_iEkA_xHqqkZx_                _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkJiEjPiEjPiEjP_xHqqkZx_SizU_xZkqqHx_iEjPiEjPiEjPiEkJiEjPiEjPiEjPiEjPiEjPiEkJiEjPiEjPiEjPiEkJiEjPiEjPiEjPiEjPiEjPiEkJiEjPiEjPiEjPiEjPiEjPiEjPiEkJiEjPiEjPiEjP_xHqqkZx_SizU_xZkqqHx_iEjPiEjPiEjPiEkH_xHqqkZx_
 *                            _xZkqqHx_iEkA_xHqqkZx_                                            _xZkqqHx_iEkA_xHqqkZx_
 *                            _xZkqqHx_iEkFiEjPiEjPiEjPiEjPiEjPiEjPiEjPiDfKiDgCiDfGiDiHiDjDiDfEiDeDiDfJiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkH_xHqqkZx_
 *
 *        _xZkqqHx_iDfCiDhNiDjDiDgIiNfMjBkC_xHqqkZx_
 *        _xZkqqHx_iBgDiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiBgD_xHqqkZx_  _xZkqqHx_iBgDiElBiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_      _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *        _xZkqqHx_iBgDiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiBgD_xHqqkZx_  _xZkqqHx_iBgDiElDiEkKiEkKiElDiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkJ_xHqqkZx_ _xZkqqHx_iCfB_xHqqkZx_ _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_ _xZkqqHx_iCfB_xHqqkZx_ _xZkqqHx_iEkJiEjPiEjPiEjPiEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDhEiDeAiDeDiDiLiCkKiDfKiBfLiDhFiCmFiCkLiCmIiCkCiCmGiCkLiCmNiBeB_xHqqkZx_CFileException_xZkqqHx_iCpAjEkNjAlGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.01.16 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			99.04.03 Fukushiro M. bCheckEmpty_xZkqqHx_iCpAjCmHiJmBiBeC_xHqqkZx_
 *			99.12.01 Fukushiro M. bCheckEmpty_xZkqqHx_iCpAiNoNiPjMiBeC_xHqqkZx_
 *************************************************************************/
BOOL FCHiSummaryTable::CmdSessionEnd (	flint fliSessionIndex,
										const GUID& guidUserId,
										FDSECTIME fdstTime)
{
	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiCmMiDgMiDfIiDgHiCmMjAfLiClDiCpAjFmPiNfIiBeC_xHqqkZx_
	m_lSessionDepth--;

	// _xZkqqHx_iIoKiOjOiDgPiDgCiDhEiDeAiCkKiLpDiCmIiCoHiPiIjHjNiClJiClIjFjMiLeBiBeC_xHqqkZx_
	if (m_vRecordBuffer.empty()) return FALSE;

	// _xZkqqHx_iNmFiPiJiCmMiDfKiDgCiDfGiDiHiDjDiCmMiPoKiNiHiBeC_xHqqkZx_
	if (m_lSessionDepth == 0)
	{
		// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
		BYTEVector vRecordBuffer;
		vRecordBuffer << guidUserId;
		// _xZkqqHx_jAoCjBmOiOjOiKnEiCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
		::WriteVSizeU(vRecordBuffer, fdstTime);
		// _xZkqqHx_iDfCiDhNiDjDiDgIiDgGiBfLiDfOiDfIiDgHiDiKiBfLiDiAiCpAiMoDiCoLiCmJjCmHiJmBiBeC_xHqqkZx_
		FFWriteStream(vRecordBuffer, &m_vRecordBuffer[0], m_vRecordBuffer.size());
		// _xZkqqHx_iMlLiNnNiCmMiDiMiDfCiBfLiDgIiImKjChFiImIiNhOiCpAiNoNiPjMiBeC_xHqqkZx_Undo->Edit_xZkqqHx_iCmMiPoKiNiHiCmJ_xHqqkZx_Redo_xZkqqHx_iCpAjGgIiCkOiClNiCnPiBeC_xHqqkZx_
		if (m_dwNextIndex < GetRecordCount())
			ReduceRecordCount(m_dwNextIndex);
		// _xZkqqHx_iDiMiDfCiBfLiDgIiCpAjCmHiJmBiBeC_xHqqkZx_
		AppendRecord(fliSessionIndex, &vRecordBuffer[0], vRecordBuffer.size());
//----- 06.02.07 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
		// _xZkqqHx_iJlMjBhKiDgFiBfLiDhFiDiLiCmM_xHqqkZx_Identifier_xZkqqHx_iCpAiLeMjIfOiClFiClNjFmPjAjEiCpAiDiKiDfKiDgCiDgHiClHiCoJiBeC_xHqqkZx_
		ResetVirtualTableIdentifier();
//----- 06.02.07 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

		// _xZkqqHx_iMlLiNnNiCmMiDiMiDfCiBfLiDgIiImKjChFiCpAiNfIjAfGiBeC_xHqqkZx_
		m_dwNextIndex++;

		// _xZkqqHx_iDiMiDfCiBfLiDgIiDgGiBfLiDfOiDgPiDgCiDhEiDeAiBeC_xHqqkZx_
		m_vRecordBuffer.clear();
	}
	return TRUE;
} // FCHiSummaryTable::CmdSessionEnd.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::CmdAbsTime
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAoCjBmOiOjOiKnEiPoOjFpBiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *			fliPtr			:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAiOhHjCoIiBeC_xHqqkZx_
 *			fdstTime		:_xZkqqHx_iOjOiKnEiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDeHiDiJiBfLiOjOiCmJiBeB_xHqqkZx_CFileException_xZkqqHx_jHoBiKePiCpAiDfIiDiNiBfLiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	<mdrwpos file="D:\src\DynamicDraw\_xZkqqHx_jHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeIiBfLiDhNiDgCiDgHiOgEjHgM_xHqqkZx_10_xZkqqHx_jEmF_xHqqkZx_.mdrw" sheet="0" cposx="112" cposy="181"/>
 *
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_UserId_xZkqqHx_iEkL_xHqqkZx_Time_xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJ_xHqqkZx_ GUID _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.01.31 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::CmdAbsTime ()
{
	// _xZkqqHx_iDiMiDfCiBfLiDgIiDfCiBfLiDgIiCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	m_vRecordBuffer << BYTE(FDHI_ABS_TIME);
} // FCHiSummaryTable::CmdAbsTime.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::CmdLabelCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDhIiDiLiCmMiKeKiOgOiImKjChFiCmMiPoOjFpBiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *			fliPtr			:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAiOhHjCoIiBeC_xHqqkZx_
 *			fdstTime		:_xZkqqHx_iOjOiKnEiCpAiOhHjCoIiBeC_xHqqkZx_
 *			dwObjId			:_xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			wcpLabel		:_xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDeHiDiJiBfLiOjOiCmJiBeB_xHqqkZx_CFileException_xZkqqHx_jHoBiKePiCpAiDfIiDiNiBfLiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	<mdrwpos file="D:\src\DynamicDraw\_xZkqqHx_jHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeIiBfLiDhNiDgCiDgHiOgEjHgM_xHqqkZx_10_xZkqqHx_jEmF_xHqqkZx_.mdrw" sheet="0" cposx="111" cposy="362"/>
 *
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_UserId_xZkqqHx_iEkL_xHqqkZx_Time_xZkqqHx_iEkL_xHqqkZx_ ID _xZkqqHx_iEkL_xHqqkZx_TxSz_xZkqqHx_iEkL_xHqqkZx_Text_xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJ_xHqqkZx_ GUID _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_TxSz_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.01.31 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::CmdLabelCreate (	DWORD dwObjId,
										const wchar_t* wcpLabel)
{
	// _xZkqqHx_iDiMiDfCiBfLiDgIiDfCiBfLiDgIiCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	m_vRecordBuffer << BYTE(FDHI_LABEL_CREATE);
	// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	::WriteVSizeU(m_vRecordBuffer, dwObjId);
	// _xZkqqHx_jFlGiOjKjHpBiDfEiDeDiDfJiCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	const long lLabelSz = wcslen(wcpLabel);
	::WriteVSizeU(m_vRecordBuffer, lLabelSz);
	// _xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBiCpAiPjBiCkLiPgPiClHiBeC_xHqqkZx_
	FFWriteStream(m_vRecordBuffer, wcpLabel, sizeof(wchar_t) * lLabelSz);
} // FCHiSummaryTable::CmdLabelCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::CmdLabelDelete
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDhIiDiLiCmMiPeJjHlJiCmMiPoOjFpBiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_CmdLabelCreate_xZkqqHx_iCmGiDhJiDeBiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *			fliPtr			:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAiOhHjCoIiBeC_xHqqkZx_
 *			fdstTime		:_xZkqqHx_iOjOiKnEiCpAiOhHjCoIiBeC_xHqqkZx_
 *			dwObjId			:_xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			wcpLabel		:_xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDeHiDiJiBfLiOjOiCmJiBeB_xHqqkZx_CFileException_xZkqqHx_jHoBiKePiCpAiDfIiDiNiBfLiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	<mdrwpos file="D:\src\DynamicDraw\_xZkqqHx_jHjKjHpAiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeIiBfLiDhNiDgCiDgHiOgEjHgM_xHqqkZx_10_xZkqqHx_jEmF_xHqqkZx_.mdrw" sheet="0" cposx="111" cposy="466"/>
 *
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_UserId_xZkqqHx_iEkL_xHqqkZx_Time_xZkqqHx_iEkL_xHqqkZx_ ID _xZkqqHx_iEkL_xHqqkZx_TxSz_xZkqqHx_iEkL_xHqqkZx_Text_xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJ_xHqqkZx_ GUID _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_TxSz_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.01.31 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::CmdLabelDelete (	DWORD dwObjId,
										const wchar_t* wcpLabel)
{
	// _xZkqqHx_iDiMiDfCiBfLiDgIiDfCiBfLiDgIiCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	m_vRecordBuffer << BYTE(FDHI_LABEL_DELETE);
	// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	::WriteVSizeU(m_vRecordBuffer, dwObjId);
	// _xZkqqHx_jFlGiOjKjHpBiDfEiDeDiDfJiCmMiPjBiCkLiNjOiCnNiBeC_xHqqkZx_
	const long lLabelSz = wcslen(wcpLabel);
	::WriteVSizeU(m_vRecordBuffer, lLabelSz);
	// _xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBiCpAiPjBiCkLiPgPiClHiBeC_xHqqkZx_
	FFWriteStream(m_vRecordBuffer, wcpLabel, sizeof(wchar_t) * lLabelSz);
} // FCHiSummaryTable::CmdLabelDelete.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SeeNextSessionIndex
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	
 *
 * <_xZkqqHx_iPnKiNnH_xHqqkZx_>	
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.12 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
flint FCHiSummaryTable::SeeNextSessionIndex ()
{
	if (m_dwNextIndex == GetRecordCount())
		return -1;
	return GetRecordPrimaryId(m_dwNextIndex);
} // FCHiSummaryTable::SeeNextSessionIndex.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SeePrevSessionIndex
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jClMiMoDiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMjDpMiClDiCoKiCmEiCkCiCoJjHjKjHpAiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
 *			_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjDmHiCnNiCmGiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMiMlLiNnNiCmMiImKjChFiCmNjFmPiNfIiClFiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.12 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
flint FCHiSummaryTable::SeePrevSessionIndex ()
{
	if (m_dwNextIndex == 0)
		return -1;
	return GetRecordPrimaryId(m_dwNextIndex - 1);
} // FCHiSummaryTable::SeePrevSessionIndex.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SeePrevSessionInfo
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iMlLiNnNiCmMiImKjChFiCmMjClMjBePiCmMiDfCiDhNiDjDiDgIiCkJiCoHiPoOjFpBiCpAiOoGjDlOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	guidPrevUserId		:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDiGiBfLiDfFiCpAiLeBiClHiBeC_xHqqkZx_
 *								 _xZkqqHx_jFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			fdstPrevSessionTime	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiCpAjFnEiClHiBeC_xHqqkZx_
 *								 _xZkqqHx_jFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jClMjBePiCmMiDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjFnEiClHiBeCiDhEiDeAiDeDiDiLiCmMjAoGjDkKiCmMiPoKiNiHiCmN_xHqqkZx_ -1_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iBhJiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmGiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMjBmOiJjOiBhK_xHqqkZx_
 *
 *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_
 *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkFiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_A       _xZkqqHx_iEkA_xHqqkZx_B       _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_C
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_a       _xZkqqHx_iBkL_xHqqkZx_c
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
 *
 *          _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCkKiImKjChF_xHqqkZx_A_xZkqqHx_iBeBiImKjChF_xHqqkZx_B _xZkqqHx_iCmJiCkAiCoJiPoKiNiHiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmN_xHqqkZx_
 *          _xZkqqHx_iImKjChF_xHqqkZx_a _xZkqqHx_iCmJiCkAiCoJiBeCiClBiClBiCmFiPoOjFpBiCpAiOoGjDlOiClHiCoJiCmGiBeB_xHqqkZx_Session2 _xZkqqHx_iCmMiPoOjFpBiCkK_xHqqkZx_
 *          _xZkqqHx_iOoGjDlOiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
flint FCHiSummaryTable::SeePrevSessionInfo (GUID& guidPrevUserId, FDSECTIME& fdstPrevSessionTime)
{
	if (m_dwNextIndex == 0)
		return -1;
	// _xZkqqHx_iIoKiCmCjBePiCmMiDiMiDfCiBfLiDgIiCpAjDmHiCnNiPgPiClHiBeC_xHqqkZx_
	flint fliSessionIndex;
	BYTEVector vBuff;
	GetRecord(fliSessionIndex, &vBuff, m_dwNextIndex - 1);
	const BYTE* pStream = &vBuff[0];
	// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
	FFReadData(guidPrevUserId, pStream);
	// _xZkqqHx_jAoCjBmOiOjOiKnEiCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
	fdstPrevSessionTime = FDSECTIME(::ReadVSizeU(pStream));
	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjFnEiClHiBeC_xHqqkZx_
	return fliSessionIndex;
} // FCHiSummaryTable::SeePrevSessionInfo.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SeekToSessionIndex
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNiDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCnGiDhEiDeAiDeDiDiLiImKjChFiCpAiInKjDkOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	SyncToSessionIndex _xZkqqHx_iCmGiInJiCmIiCoIiBeBiDhEiDeAiDeDiDiLiImKjChFiCpAiInKjDkOiClHiCoJiClOiCkPiCmF_xHqqkZx_
 *			_xZkqqHx_iJlNiCoAiNoMiLmGiCmNiClFiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jHoBiBeGiDeDiDjDiDgGiDgCiDeOiDfIiCkKiBhF_xHqqkZx_A(9) B(13) C(15) D(15) E(17)_xZkqqHx_iBhGiCmMiPoKiNiH_xHqqkZx_
 *			_xZkqqHx_iBgJ_xHqqkZx_A,B..._xZkqqHx_iCkKiDeDiDjDiDgGiDgCiDeOiDfIiDfCiBfLiDgIiBeB_xHqqkZx_(9),(13)..._xZkqqHx_iCkKjHjKjHpAiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
 *			_xZkqqHx_iImKjChFiBgKiBeC_xHqqkZx_
 *			fliNextSessionIndex = 14  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = C_xZkqqHx_jClMjBeP_xHqqkZx_
 *			fliNextSessionIndex = 15  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = C_xZkqqHx_jClMjBeP_xHqqkZx_
 *			fliNextSessionIndex = 16  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = E_xZkqqHx_jClMjBeP_xHqqkZx_
 *			fliNextSessionIndex = 17  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = E_xZkqqHx_jClMjBeP_xHqqkZx_
 *
 *          _xZkqqHx_iBhJiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmGiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMjBmOiJjOiBhK_xHqqkZx_
 *
 *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_
 *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkFiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
 *
 *          _xZkqqHx_jHoBiCkGiCmOiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_Session2_xZkqqHx_iCmFiDiJiDhIiDiLjFjEjFgJiCgAiCkKiNoMjAkMiClDiCoKiBeB_xHqqkZx_Session5_xZkqqHx_iCmF_xHqqkZx_
 *          _xZkqqHx_iNoNiPjMiClDiCoKiClNiPoKiNiHiCpAiNgMiCkGiCmEiCnNiCoJiBeC_xHqqkZx_
 *          Session2_xZkqqHx_iPeJjHlJiMoDiCmMiDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCmNiCfCiCmJiCmIiCmBiCmEiCkCiCoJiCkKiBeB_xHqqkZx_
 *          _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmFiCmNiDiJiDhIiDiLjFjEjFgJiCgAiCmMiNoMjAkMiCmN_xHqqkZx_Session2_xZkqqHx_iCmJiLeMjIfOiClDiCoKiCoJiBeC_xHqqkZx_
 *          _xZkqqHx_jDkPjHgMiCmJiDiJiDhIiDiLjFjEjFgJiCgAiCmMiNoNiPjMiCmNiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_Session5_xZkqqHx_iCmJiLeMjIfOiClDiCoKiCoJiBeC_xHqqkZx_
 *          _xZkqqHx_iClBiClBiCmFiBeBiDiJiDhIiDiLiCgAiCmFiMjPiNpFiCpAiCkJiCkPiClNiPoKiNiHiCpAiNgMiCkGiCoJiCmGiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmFiCmM_xHqqkZx_
 *          Session2_xZkqqHx_jClMiMoDiCkKiDiJiDhIiDiLjFjEjFgJiCgAiCkKiNoMjAkMiClDiCoKiClNiPpDjBnEiCmFiCkAiCoIiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
 *          NextSession=3_xZkqqHx_iCkJiCoH_xHqqkZx_NextSession=5_xZkqqHx_iCnMiCmFiCpAiDeKiDgPiBfLiClHiCoJiBeC_xHqqkZx_
 *
 *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_                                             
 *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *        _xZkqqHx_iEkEiEkGiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEkGiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_                      
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiBgD_xHqqkZx_
 *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.16 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::SeekToSessionIndex (flint fliSessionIndex)
{
	//     _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_                                             
	//  Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
	//    _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
	//    _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
	//    _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
	//  _xZkqqHx_iEkEiEkGiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEkGiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiBgD_xHqqkZx_
	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_                      
	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiBgD_xHqqkZx_
	//    _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
	//    _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
	//    _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
	//    _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
	//                        _xZkqqHx_iBkK_xHqqkZx_
	//                        _xZkqqHx_iCgA_xHqqkZx_
	//     _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
	//
	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiCgAiCmJiCkAiCoJiPoKiNiHiCpAiNgMiCkGiCoJiBeC_xHqqkZx_
	// SeeNextSessionIndex() _xZkqqHx_iCmN_xHqqkZx_5_xZkqqHx_iCpAjFnEiClHiCmMiCmFiBeB_xHqqkZx_fliSessionIndexTmp = 5_xZkqqHx_iBeC_xHqqkZx_
	// fliNextSessionIndex _xZkqqHx_iCkK_xHqqkZx_ [0 - 5]_xZkqqHx_iCmFiCkAiCoKiCmOiBeBjGnKjFfHiImKjChFiCmNjBePjFpLiCmJiCkAiCoJiCmGiClHiCoJiBeC_xHqqkZx_
	// fliNextSessionIndex _xZkqqHx_iCkK_xHqqkZx_ [6 - _xZkqqHx_iBiH_xHqqkZx_]_xZkqqHx_iCmFiCkAiCoKiCmOiBeBjGnKjFfHiImKjChFiCmNiMoDjFpLiCmJiCkAiCoJiCmGiClHiCoJiBeC_xHqqkZx_
	// _xZkqqHx_iBgJjCgMiCkKjDkPiClGiPoKiNiHiCmNjBePjFpLiCmJiKnMiCnMiClJiCoJiBgK_xHqqkZx_

	DWORD dwNextIndex = PrimaryIdToLowerBoundIndex(fliSessionIndex);
	if (dwNextIndex != DWORD(-1))
		m_dwNextIndex = dwNextIndex;
	else
		m_dwNextIndex = GetRecordCount();
} // FCHiSummaryTable::SeekToSessionIndex.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SyncToSessionIndex
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	fliHistPtr_xZkqqHx_iCmFjHfOiCkGiClNiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAiOhHiClFiOkGiClHiDeDiDjDiDgGiDgCiDeOiDfI_xHqqkZx_
 *			_xZkqqHx_iCnMiCmFiDeDiDjDiDgGiDgCiDeOiDfIiImKjChFiCpAiInKjDkOiClHiCoJiBeCiClLiCmMiNnLiBeBiDiJiDhIiDiLiCmMiNoMjAkMiBeFiNoNiPjMiCmM_xHqqkZx_
 *			_xZkqqHx_iOoIiPiHiCpAjDmHiCnNiNjOiCpBiCmFiOoGjDlOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliNextSessionIndex	:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiBeC_xHqqkZx_
 *			pvOpeIdLabel		:_xZkqqHx_iDiJiDhIiDiLiCmJjBmOiClHiCoJjBiAiNoMiCmMiDgFiBfLiDhFiDiLiCpAiOhHjCoIiBeC_xHqqkZx_
 *								 _xZkqqHx_iInKjDkOiCmJiCoGiCmBiCmEjFmPiNfIiClDiCoKiClNjBiAiNoMjDoAjHgFiCpAjFnEiClHiBeC_xHqqkZx_
 *								 _xZkqqHx_jFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeBiInKjDkOiClFiCmIiCkCiPoKiNiHiCmN_xHqqkZx_FALSE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jHoBiBeGiDeDiDjDiDgGiDgCiDeOiDfIiCkKiBhF_xHqqkZx_A(9) B(13) C(15) D(15) E(17)_xZkqqHx_iBhGiCmMiPoKiNiH_xHqqkZx_
 *			_xZkqqHx_iBgJ_xHqqkZx_A,B..._xZkqqHx_iCkKiDeDiDjDiDgGiDgCiDeOiDfIiDfCiBfLiDgIiBeB_xHqqkZx_(9),(13)..._xZkqqHx_iCkKjHjKjHpAiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
 *			_xZkqqHx_iImKjChFiBgKiBeC_xHqqkZx_
 *			fliNextSessionIndex = 14  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = C_xZkqqHx_jClMjBeP_xHqqkZx_
 *			fliNextSessionIndex = 15  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = C_xZkqqHx_jClMjBeP_xHqqkZx_
 *			fliNextSessionIndex = 16  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = E_xZkqqHx_jClMjBeP_xHqqkZx_
 *			fliNextSessionIndex = 17  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = E_xZkqqHx_jClMjBeP_xHqqkZx_
 *
 *          _xZkqqHx_iBhJiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmGiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMjBmOiJjOiBhK_xHqqkZx_
 *
 *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_
 *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkFiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
 *
 *          _xZkqqHx_jHoBiCkGiCmOiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_Session2_xZkqqHx_iCmFiDiJiDhIiDiLjFjEjFgJiCgAiCkKiNoMjAkMiClDiCoKiBeB_xHqqkZx_Session5_xZkqqHx_iCmF_xHqqkZx_
 *          _xZkqqHx_iNoNiPjMiClDiCoKiClNiPoKiNiHiCpAiNgMiCkGiCmEiCnNiCoJiBeC_xHqqkZx_
 *          Session2_xZkqqHx_iPeJjHlJiMoDiCmMiDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCmNiCfCiCmJiCmIiCmBiCmEiCkCiCoJiCkKiBeB_xHqqkZx_
 *          _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmFiCmNiDiJiDhIiDiLjFjEjFgJiCgAiCmMiNoMjAkMiCmN_xHqqkZx_Session2_xZkqqHx_iCmJiLeMjIfOiClDiCoKiCoJiBeC_xHqqkZx_
 *          _xZkqqHx_jDkPjHgMiCmJiDiJiDhIiDiLjFjEjFgJiCgAiCmMiNoNiPjMiCmNiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_Session5_xZkqqHx_iCmJiLeMjIfOiClDiCoKiCoJiBeC_xHqqkZx_
 *          _xZkqqHx_iClBiClBiCmFiBeBiDiJiDhIiDiLiCgAiCmFiMjPiNpFiCpAiCkJiCkPiClNiPoKiNiHiCpAiNgMiCkGiCoJiCmGiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmFiCmM_xHqqkZx_
 *          Session2_xZkqqHx_jClMiMoDiCkKiDiJiDhIiDiLjFjEjFgJiCgAiCkKiNoMjAkMiClDiCoKiClNiPpDjBnEiCmFiCkAiCoIiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
 *          NextSession=3_xZkqqHx_iCkJiCoH_xHqqkZx_NextSession=5_xZkqqHx_iCnMiCmFiCpAiDeKiDgPiBfLiClHiCoJiBeC_xHqqkZx_
 *
 *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_                                             
 *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *        _xZkqqHx_iEkEiEkGiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEkGiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiBgD_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_                      
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiBgD_xHqqkZx_
 *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
 *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
 *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDeHiDiJiBfLiOjOiCmJiBeBjHoBiKePiCpAiDfIiDiNiBfLiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			99.03.31 Fukushiro M. _xZkqqHx_iPeJjHlJiDfCiBfLiDgIiCmJiCmNiPoGiCoHiCmIiCkCiCoGiCkEiCmJiClFiClNiBeC_xHqqkZx_
 *			99.04.06 Fukushiro M. _xZkqqHx_iDhHiDgCiDfPiCpAjGlDiClFiCmJiClHiCoJiCmMiCmJjBmOiJjOiBeC_xHqqkZx_
 *			99.04.10 Fukushiro M. _xZkqqHx_jGiIiJpBiNmFiPiJiCkJiCoHiMjPiNpFiClFiCmEiCkCiClNiCmMiCpAiBeB_xHqqkZx_
 *								_xZkqqHx_iMlLiNnNiImKjChFiCkJiCoHiInKjDkOiClHiCoJiDeBiDiLiDfDiDiKiDfJiDiAiCmJjFmPiNfIiBeC_xHqqkZx_
 *			02.03.04 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
//----- 06.01.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//BOOL FCHiSummaryTable::SyncToSessionIndex (	flint fliNextSessionIndex,
//											FCOpeIdLabelVector& vOpeIdLabel)
//----- 06.01.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
BOOL FCHiSummaryTable::SyncToSessionIndex (	flint fliNextSessionIndex,
											FCStLabelOperateVector& vLabelOperate)
//----- 06.01.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
{
	//     _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_                                             
	//  Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
	//    _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
	//    _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
	//    _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
	//  _xZkqqHx_iEkEiEkGiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEkGiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiBgD_xHqqkZx_
	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_                      
	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiBgD_xHqqkZx_
	//    _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
	//    _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
	//    _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
	//    _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
	//                        _xZkqqHx_iBkK_xHqqkZx_
	//                        _xZkqqHx_iCgA_xHqqkZx_
	//     _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
	//
	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiCgAiCmJiCkAiCoJiPoKiNiHiCpAiNgMiCkGiCoJiBeC_xHqqkZx_
	// SeeNextSessionIndex() _xZkqqHx_iCmN_xHqqkZx_5_xZkqqHx_iCpAjFnEiClHiCmMiCmFiBeB_xHqqkZx_fliSessionIndexTmp = 5_xZkqqHx_iBeC_xHqqkZx_
	// fliNextSessionIndex _xZkqqHx_iCkK_xHqqkZx_ [0 - 5]_xZkqqHx_iCmFiCkAiCoKiCmOiBeBjGnKjFfHiImKjChFiCmNjBePjFpLiCmJiCkAiCoJiCmGiClHiCoJiBeC_xHqqkZx_
	// fliNextSessionIndex _xZkqqHx_iCkK_xHqqkZx_ [6 - _xZkqqHx_iBiH_xHqqkZx_]_xZkqqHx_iCmFiCkAiCoKiCmOiBeBjGnKjFfHiImKjChFiCmNiMoDjFpLiCmJiCkAiCoJiCmGiClHiCoJiBeC_xHqqkZx_
	// _xZkqqHx_iBgJjCgMiCkKjDkPiClGiPoKiNiHiCmNjBePjFpLiCmJiKnMiCnMiClJiCoJiBgK_xHqqkZx_

	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
	BOOL bIsSeeked = FALSE;
	const DWORD dwEndIndex = GetRecordCount();
	if (dwEndIndex == 0) return FALSE;
	// _xZkqqHx_jClMiMoDiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMiNnKiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
	flint fliSessionIndexTmp;
	if (dwEndIndex == m_dwNextIndex)
		fliSessionIndexTmp = FLINT_MAX;
	else
		fliSessionIndexTmp = SeeNextSessionIndex();
	if (fliSessionIndexTmp < fliNextSessionIndex)
	//----- _xZkqqHx_jGnKjFfHiImKjChFiCkKiMoDjFpLiCmJiCkAiCoJiPoKiNiH_xHqqkZx_ -----
	{
		for (;;)
		{
			// _xZkqqHx_iDhEiDeAiDeDiDiLjGjGiCmIiCoHiPeJjHlJiBeC_xHqqkZx_
			if (dwEndIndex == m_dwNextIndex) break;
			// _xZkqqHx_jClMiMoDiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjDmHiCnNiCmGiCoJiBeC_xHqqkZx_
			fliSessionIndexTmp = SeeNextSessionIndex();
			// _xZkqqHx_jDmHiCnNiCmGiCmBiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCkKiBeBiIpIjAjEiCmMiImKjChFiCoGiCoIjDjJiClFiCkCiCkJjBoFiCkLiCkPiCoKiCmOiPeJjHlJiBeC_xHqqkZx_
			if (fliNextSessionIndex <= fliSessionIndexTmp) break;
			// _xZkqqHx_iCfAiDeDiDjDiDgGiDgCiDeOiDfIiMoDjFpLiCnGiInKjDkOiBeC_xHqqkZx_
// 06.01.30 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//			(void)MoveSession(+1, &vOpeIdLabel);
			(void)MoveSession(+1, &vLabelOperate);
			// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
			bIsSeeked = TRUE;
		}
	} else
	//----- _xZkqqHx_jGnKjFfHiImKjChFiCkKjBePjFpLiCmJiCkAiCoJiPoKiNiH_xHqqkZx_ -----
	{
		for (;;)
		{
			// _xZkqqHx_iDhEiDeAiDeDiDiLjAoGjDkKiCmIiCoHiPeJjHlJiBeC_xHqqkZx_
			if (m_dwNextIndex == 0) break;
			// _xZkqqHx_jClMjBePiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjDmHiCnNiCmGiCoJiBeC_xHqqkZx_
			fliSessionIndexTmp = SeePrevSessionIndex();
			// _xZkqqHx_jDmHiCnNiCmGiCmBiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCkKiBeBiIpIjAjEiCmMiImKjChFiCoGiCoIiPkMiClDiCkCiCmIiCoHiPeJjHlJiBeC_xHqqkZx_
			if (fliSessionIndexTmp < fliNextSessionIndex) break;
			// _xZkqqHx_iCfAiDeDiDjDiDgGiDgCiDeOiDfIjBePjFpLiCnGiInKjDkOiBeC_xHqqkZx_
// 06.01.30 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//			(void)MoveSession(-1, &vOpeIdLabel);
			(void)MoveSession(-1, &vLabelOperate);
			// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
			bIsSeeked = TRUE;
		}
	}
	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
	return bIsSeeked;
} // FCHiSummaryTable::SyncToSessionIndex.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::LoadRecord
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOhHjCoIiCmMiDiMiDfCiBfLiDgIiCpAjDmHiCnNiPgPiClFiCmEiBeBiPoOjFpBiCpAiOoGiCoIiPgPiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pfliSessionIndex:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjFnEiClHiBeCjFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_
 *							 NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			pguidUserId		:_xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeCjFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			pfdstTime		:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiOjOiKnEiCpAjFnEiClHiBeCjFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			pvLabelOperate	:_xZkqqHx_iNoMjAkMiBeFiNoNiPjMiClDiCoKiClNiDiJiDhIiDiLiCmMiDiKiDfIiDgHiCpAjFnEiClHiBeCjFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_
 *							 NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *			bOppositeOperate:pvLabelOperate_xZkqqHx_iCmJiLeMjIfOiClHiCoJjHhGjBgGiCmMiNoMjAkMiCmGiNoNiPjMiCpA_xHqqkZx_
 *							 _xZkqqHx_iLhEjDfNiClDiClJiCoJiCkJiBeI_xHqqkZx_
 *			dwIndex			:_xZkqqHx_iDiMiDfCiBfLiDgIiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	06.01.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::LoadRecord (	flint* pfliSessionIndex,
									GUID* pguidUserId,
									FDSECTIME* pfdstTime,
									BOOL* pbIsAbsTime,
									FCStLabelOperateVector* pvLabelOperate,
									BOOL bOppositeOperate,
									DWORD dwIndex)
{
	flint fliSessionIndex;
	BYTEVector vBuff;
	GetRecord(fliSessionIndex, &vBuff, dwIndex);
	if (pfliSessionIndex != NULL)
		*pfliSessionIndex = fliSessionIndex;

//----- 06.04.07 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_jAoCjBmOiOjOiKnEiDiMiDfCiBfLiDgIiCkKiKnMiCnMiCoKiCoJiCkJiBeI_xHqqkZx_
	if (pbIsAbsTime != NULL)
		*pbIsAbsTime = FALSE;
//----- 06.04.07 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	const BYTE* pStream = &vBuff[0];
	const BYTE* pStreamEnd = pStream + vBuff.size();

	// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
	GUID guidUserId;
	FFReadData(guidUserId, pStream);
	if (pguidUserId != NULL)
		*pguidUserId = guidUserId;

	// _xZkqqHx_jAoCjBmOiOjOiKnEiCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
	FDSECTIME fdstTime = ::ReadVSizeU(pStream);
	if (pfdstTime != NULL)
		*pfdstTime = fdstTime;

	if (pvLabelOperate != NULL)
	{
		while (pStream != pStreamEnd)
		{
			DWORD dwObjId;
			WString wstrLabel;
			switch (*pStream)
			{
			case FDHI_ABS_TIME:			// _xZkqqHx_jAoCjBmOiOjOiKnEiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
				LoadCmdAbsTime(pStream);
//----- 06.04.07 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
				// _xZkqqHx_jAoCjBmOiOjOiKnEiDiMiDfCiBfLiDgIiCkKiKnMiCnMiCoKiCoJiCkJiBeI_xHqqkZx_
				if (pbIsAbsTime != NULL)
					*pbIsAbsTime = TRUE;
//----- 06.04.07 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
				break;
			case FDHI_LABEL_CREATE:		// _xZkqqHx_iDiJiDhIiDiLiNoMjAkMiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
				LoadCmdLabelCreate(pStream, dwObjId, wstrLabel);
				pvLabelOperate->push_back(FCStLabelOperate(	bOppositeOperate ? FALSE : TRUE,
															guidUserId,
															fdstTime,
															dwObjId,
															wstrLabel));
				break;
			case FDHI_LABEL_DELETE:		// _xZkqqHx_iDiJiDhIiDiLiNoNiPjMiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
				LoadCmdLabelDelete(pStream, dwObjId, wstrLabel);
				pvLabelOperate->push_back(FCStLabelOperate(	bOppositeOperate ? TRUE : FALSE,
															guidUserId,
															fdstTime,
															dwObjId,
															wstrLabel));
				break;
			default:
				FFThrowDDFileException(	IDS_ERR_FILE_DESTROIED,
										WString(GetTableName().GetTopDirPath()));
			}
		}
	}
} // FCHiSummaryTable::LoadRecord.

//----- 06.01.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SkipToSessionIndex
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOhHjCoIiClDiCoKiClNiDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCnGiDhEiDeAiDeDiDiLiImKjChFiCpAiInKjDkOiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliNextSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeBiInKjDkOiClFiCmIiCkCiPoKiNiHiCmN_xHqqkZx_FALSE_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	SyncToSessionIndex _xZkqqHx_iCmGiInJiCmIiCoIiBeBiDhEiDeAiDeDiDiLiImKjChFiCpAiInKjDkOiClHiCoJiClOiCkPiCmF_xHqqkZx_
// *			_xZkqqHx_iJlNiCoAiNoMiLmGiCmNiClFiCmIiCkCiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_jHoBiBeGiDeDiDjDiDgGiDgCiDeOiDfIiCkKiBhF_xHqqkZx_A(9) B(13) C(15) D(15) E(17)_xZkqqHx_iBhGiCmMiPoKiNiH_xHqqkZx_
// *			_xZkqqHx_iBgJ_xHqqkZx_A,B..._xZkqqHx_iCkKiDeDiDjDiDgGiDgCiDeOiDfIiDfCiBfLiDgIiBeB_xHqqkZx_(9),(13)..._xZkqqHx_iCkKjHjKjHpAiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
// *			_xZkqqHx_iImKjChFiBgKiBeC_xHqqkZx_
// *			fliNextSessionIndex = 14  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = C_xZkqqHx_jClMjBeP_xHqqkZx_
// *			fliNextSessionIndex = 15  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = C_xZkqqHx_jClMjBeP_xHqqkZx_
// *			fliNextSessionIndex = 16  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = E_xZkqqHx_jClMjBeP_xHqqkZx_
// *			fliNextSessionIndex = 17  -> _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiImKjChF_xHqqkZx_ = E_xZkqqHx_jClMjBeP_xHqqkZx_
// *
// *          _xZkqqHx_iBhJiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmGiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMjBmOiJjOiBhK_xHqqkZx_
// *
// *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_
// *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
// *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
// *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
// *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkFiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkIiEjPiEjPiEjPiEjPiEkD_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
// *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
// *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
// *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
// *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
// *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
// *
// *          _xZkqqHx_jHoBiCkGiCmOiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_Session2_xZkqqHx_iCmFiDiJiDhIiDiLjFjEjFgJiCgAiCkKiNoMjAkMiClDiCoKiBeB_xHqqkZx_Session5_xZkqqHx_iCmF_xHqqkZx_
// *          _xZkqqHx_iNoNiPjMiClDiCoKiClNiPoKiNiHiCpAiNgMiCkGiCmEiCnNiCoJiBeC_xHqqkZx_
// *          Session2_xZkqqHx_iPeJjHlJiMoDiCmMiDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCmNiCfCiCmJiCmIiCmBiCmEiCkCiCoJiCkKiBeB_xHqqkZx_
// *          _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmFiCmNiDiJiDhIiDiLjFjEjFgJiCgAiCmMiNoMjAkMiCmN_xHqqkZx_Session2_xZkqqHx_iCmJiLeMjIfOiClDiCoKiCoJiBeC_xHqqkZx_
// *          _xZkqqHx_jDkPjHgMiCmJiDiJiDhIiDiLjFjEjFgJiCgAiCmMiNoNiPjMiCmNiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_Session5_xZkqqHx_iCmJiLeMjIfOiClDiCoKiCoJiBeC_xHqqkZx_
// *          _xZkqqHx_iClBiClBiCmFiBeBiDiJiDhIiDiLiCgAiCmFiMjPiNpFiCpAiCkJiCkPiClNiPoKiNiHiCpAiNgMiCkGiCoJiCmGiBeBiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmFiCmM_xHqqkZx_
// *          Session2_xZkqqHx_jClMiMoDiCkKiDiJiDhIiDiLjFjEjFgJiCgAiCkKiNoMjAkMiClDiCoKiClNiPpDjBnEiCmFiCkAiCoIiBeBiDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiLiCmM_xHqqkZx_
// *          NextSession=3_xZkqqHx_iCkJiCoH_xHqqkZx_NextSession=5_xZkqqHx_iCnMiCmFiCpAiDeKiDgPiBfLiClHiCoJiBeC_xHqqkZx_
// *
// *           _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_                                             
// *        Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
// *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
// *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
// *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
// *        _xZkqqHx_iEkEiEkGiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEkGiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiBgD_xHqqkZx_
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_                      
// *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiBgD_xHqqkZx_
// *          _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
// *          _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
// *          _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
// *          _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
// *           _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.01.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL FCHiSummaryTable::SkipToSessionIndex (flint fliNextSessionIndex)
//{
//	//     _xZkqqHx_iDfCiDhNiDjDiDgIiDhEiDeAiDeDiDiL_xHqqkZx_                                             
//	//  Next=0    Next=1    Next=2    Next=3    Next=4    Next=5    Next=6
//	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_
//	//    _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
//	//    _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session1_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session3_xZkqqHx_iEkL_xHqqkZx_Session4_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
//	//    _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
//	//  _xZkqqHx_iEkEiEkGiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEkGiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEkGiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkEiEjPiBgD_xHqqkZx_
//	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEkD_xHqqkZx_    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_                      
//	//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiBgD_xHqqkZx_
//	//    _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_        _xZkqqHx_iBkL_xHqqkZx_
//	//    _xZkqqHx_iEkMiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiBgD_xHqqkZx_
//	//    _xZkqqHx_iEkL_xHqqkZx_Session0_xZkqqHx_iEkL_xHqqkZx_Session2_xZkqqHx_iEkL_xHqqkZx_Session5_xZkqqHx_iEkL_xHqqkZx_
//	//    _xZkqqHx_iEkPiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiBgD_xHqqkZx_
//	//                        _xZkqqHx_iBkK_xHqqkZx_
//	//                        _xZkqqHx_iCgA_xHqqkZx_
//	//     _xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiL_xHqqkZx_
//	//
//	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiCgAiCmJiCkAiCoJiPoKiNiHiCpAiNgMiCkGiCoJiBeC_xHqqkZx_
//	// SeeNextSessionIndex() _xZkqqHx_iCmN_xHqqkZx_5_xZkqqHx_iCpAjFnEiClHiCmMiCmFiBeB_xHqqkZx_fliSessionIndexTmp = 5_xZkqqHx_iBeC_xHqqkZx_
//	// fliNextSessionIndex _xZkqqHx_iCkK_xHqqkZx_ [0 - 5]_xZkqqHx_iCmFiCkAiCoKiCmOiBeBjGnKjFfHiImKjChFiCmNjBePjFpLiCmJiCkAiCoJiCmGiClHiCoJiBeC_xHqqkZx_
//	// fliNextSessionIndex _xZkqqHx_iCkK_xHqqkZx_ [6 - _xZkqqHx_iBiH_xHqqkZx_]_xZkqqHx_iCmFiCkAiCoKiCmOiBeBjGnKjFfHiImKjChFiCmNiMoDjFpLiCmJiCkAiCoJiCmGiClHiCoJiBeC_xHqqkZx_
//	// _xZkqqHx_iBgJjCgMiCkKjDkPiClGiPoKiNiHiCmNjBePjFpLiCmJiKnMiCnMiClJiCoJiBgK_xHqqkZx_
//
//	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
//	BOOL bIsSeeked = FALSE;
//	const DWORD dwEndIndex = GetRecordCount();
//	if (dwEndIndex == 0) return FALSE;
//	// _xZkqqHx_jClMiMoDiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMiNnKiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAiOoGjDlOiBeC_xHqqkZx_
//	flint fliSessionIndexTmp;
//	if (dwEndIndex == m_dwNextIndex)
//		fliSessionIndexTmp = FLINT_MAX;
//	else
//		fliSessionIndexTmp = SeeNextSessionIndex();
//	if (fliSessionIndexTmp < fliNextSessionIndex)
//	//----- _xZkqqHx_jGnKjFfHiImKjChFiCkKiMoDjFpLiCmJiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		for (;;)
//		{
//			// _xZkqqHx_iDhEiDeAiDeDiDiLjGjGiCmIiCoHiPeJjHlJiBeC_xHqqkZx_
//			if (dwEndIndex == m_dwNextIndex) break;
//			// _xZkqqHx_jClMiMoDiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjDmHiCnNiCmGiCoJiBeC_xHqqkZx_
//			fliSessionIndexTmp = SeeNextSessionIndex();
//			// _xZkqqHx_jDmHiCnNiCmGiCmBiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCkKiBeBiIpIjAjEiCmMiImKjChFiCoGiCoIjDjJiClFiCkCiCkJjBoFiCkLiCkPiCoKiCmOiPeJjHlJiBeC_xHqqkZx_
//			if (fliNextSessionIndex <= fliSessionIndexTmp) break;
//			// _xZkqqHx_iCfAiDeDiDjDiDgGiDgCiDeOiDfIiMoDjFpLiCnGiInKjDkOiBeC_xHqqkZx_
//			SkipSession();
//			// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
//			bIsSeeked = TRUE;
//		}
//	} else
//	//----- _xZkqqHx_jGnKjFfHiImKjChFiCkKjBePjFpLiCmJiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		for (;;)
//		{
//			// _xZkqqHx_iDhEiDeAiDeDiDiLjAoGjDkKiCmIiCoHiPeJjHlJiBeC_xHqqkZx_
//			if (m_dwNextIndex == 0) break;
//			// _xZkqqHx_jClMjBePiCmMiDeDiDjDiDgGiDgCiDeOiDfIiCmJiLeMiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjDmHiCnNiCmGiCoJiBeC_xHqqkZx_
//			fliSessionIndexTmp = SeePrevSessionIndex();
//			// _xZkqqHx_jDmHiCnNiCmGiCmBiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCkKiBeBiIpIjAjEiCmMiImKjChFiCoGiCoIiPkMiClDiCkCiCmIiCoHiPeJjHlJiBeC_xHqqkZx_
//			if (fliSessionIndexTmp < fliNextSessionIndex) break;
//			// _xZkqqHx_iCfAiDeDiDjDiDgGiDgCiDeOiDfIjBePjFpLiCnGiInKjDkOiBeC_xHqqkZx_
//			RSkipSession();
//			// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
//			bIsSeeked = TRUE;
//		}
//	}
//	// _xZkqqHx_iDhEiDeAiDeDiDiLiImKjChFiCkKiInKjDkOiClFiClNiCkJiBeI_xHqqkZx_
//	return bIsSeeked;
//} // FCHiSummaryTable::SkipToSessionIndex.
//----- 06.01.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::MoveSession
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiCmMiMlLiNnNiCmMiImKjChFiCpAiInKjDkOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	lStep	:_xZkqqHx_iInKjDkOjCfAiImKiBeC_xHqqkZx_
 *			pvOpeIdLabel		:_xZkqqHx_iDiJiDhIiDiLiCmJjBmOiClHiCoJjBiAiNoMiCmMiDgFiBfLiDhFiDiLiCpAiOhHjCoIiBeC_xHqqkZx_
 *								 _xZkqqHx_iInKjDkOiCmJiCoGiCmBiCmEjFmPiNfIiClDiCoKiClNjBiAiNoMjDoAjHgFiCpAjFnEiClHiBeC_xHqqkZx_
 *								 _xZkqqHx_jFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//----- 05.01.04 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
// *			pbIsLabelChanged	:pvOpeIdLabel _xZkqqHx_iCkKjFmPiNfIiClDiCoKiClNiPoKiNiHiCmN_xHqqkZx_
// *								 TRUE _xZkqqHx_iCpAjAnNjCoIiBeCjFmPiNfIiClDiCoKiCmIiCkCiPoKiNiHiCmNjCgMiCpAjFmPiNfIiClFiCmIiCkCiBeC_xHqqkZx_
// *								 _xZkqqHx_jFhDjHhGiCmMiPoKiNiHiCmN_xHqqkZx_NULL_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//----- 05.01.04 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	lStep_xZkqqHx_jFkKiInKjDkOiCmFiCkLiClNiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBiDhEiDeAiDeDiDiLjAoGjDkKiBeFiPeJjCfLiCmJjCeCiClFiClN_xHqqkZx_
 *			_xZkqqHx_iPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDhEiDeAiDeDiDiLiCkKjEgKjBlJiClFiCmEiCkCiClNiPoKiNiHiBeBiClLiCmMjBlMiDhEiDeAiDeDiDiLiDeBiDeOiDfKiDfIiCmJiOhIiPoBiCkK_xHqqkZx_
 *			_xZkqqHx_iCkAiCmBiClNiPoKiNiHiCmN_xHqqkZx_ _xZkqqHx_jHoBiKePiCpAjEkNjAlGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.02.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
//----- 06.01.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//BOOL FCHiSummaryTable::MoveSession (long lStep,
//									FCOpeIdLabelVector* pvOpeIdLabel)
//{
//	if (lStep < 0)
//	//----- _xZkqqHx_iDhEiDeAiDeDiDiLiCmMjBePjFpLiCnGiInKjDkO_xHqqkZx_ -----
//	{
//		do {
//			// _xZkqqHx_iMlLiNnNiCmMiImKjChFiCkKjAoGjDkKiCmJjHiIiClNiCoHiBeBiPeJjHlJiPiIjHjNiBeC_xHqqkZx_
//			if (m_dwNextIndex == 0) return FALSE;
//			m_dwNextIndex--;
//			if (pvOpeIdLabel != NULL)
//			//----- _xZkqqHx_iDiJiDhIiDiLiCpAjAnNjCoIiClHiCoJjFeLjHhGiCkKiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//			{
//				flint fliSessionIndex;
//				BYTEVector vBuff;
//				GetRecord(fliSessionIndex, &vBuff, m_dwNextIndex);
//				const BYTE* pStream = &vBuff[0];
//				const BYTE* pStreamEnd = pStream + vBuff.size();
//
//				// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
//				GUID guidUserId;
//				FFReadData(guidUserId, pStream);
//				// _xZkqqHx_jAoCjBmOiOjOiKnEiCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
//				FDSECTIME fdstTime = ::ReadVSizeU(pStream);
//				while (pStream != pStreamEnd)
//				{
//					DWORD dwObjId;
//					WString wstrLabel;
//					switch (*pStream)
//					{
//					case FDHI_ABS_TIME:			// _xZkqqHx_jAoCjBmOiOjOiKnEiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
//						LoadCmdAbsTime(pStream);
//						break;
//					case FDHI_LABEL_CREATE:		// _xZkqqHx_iDiJiDhIiDiLiNoMjAkMiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
//						LoadCmdLabelCreate(pStream, dwObjId, wstrLabel);
//						pvOpeIdLabel->push_back(FCOpeIdLabel(FALSE, guidUserId, fdstTime, dwObjId, wstrLabel));
//						break;
//					case FDHI_LABEL_DELETE:		// _xZkqqHx_iDiJiDhIiDiLiNoNiPjMiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
//						LoadCmdLabelDelete(pStream, dwObjId, wstrLabel);
//						pvOpeIdLabel->push_back(FCOpeIdLabel(TRUE, guidUserId, fdstTime, dwObjId, wstrLabel));
//						break;
//					default:
//						FFThrowDDFileException(	IDS_ERR_FILE_DESTROIED,
//												WString(GetTableName().GetTopDirPath()));
//					}
//				}
//			}
//		} while (++lStep != 0);
//	} else if (0 < lStep)
//	//----- _xZkqqHx_iDhEiDeAiDeDiDiLiCmMiMoDjFpLiCnGiInKjDkO_xHqqkZx_ -----
//	{
//		const DWORD dwEndIndex = GetRecordCount();
//		do {
//			// _xZkqqHx_iMlLiNnNiCmMiImKjChFiCkKiPeJjCfLiCmJjHiIiClNiCoHiBeBiPeJjHlJiPiIjHjNiBeC_xHqqkZx_
//			if (dwEndIndex == m_dwNextIndex) return FALSE;
//			if (pvOpeIdLabel != NULL)
//			//----- _xZkqqHx_iDiJiDhIiDiLiCpAjAnNjCoIiClHiCoJjFeLjHhGiCkKiCkAiCoJiPoKiNiH_xHqqkZx_ -----
//			{
//				flint fliSessionIndex;
//				BYTEVector vBuff;
//				GetRecord(fliSessionIndex, &vBuff, m_dwNextIndex);
//				const BYTE* pStream = &vBuff[0];
//				const BYTE* pStreamEnd = pStream + vBuff.size();
//
//				// _xZkqqHx_iDiGiBfLiDfF_xHqqkZx_ID_xZkqqHx_iCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
//				GUID guidUserId;
//				FFReadData(guidUserId, pStream);
//				// _xZkqqHx_jAoCjBmOiOjOiKnEiCmMjDmHiCnNiPgPiClFiBeC_xHqqkZx_
//				FDSECTIME fdstTime = ::ReadVSizeU(pStream);
//				while (pStream != pStreamEnd)
//				{
//					DWORD dwObjId;
//					WString wstrLabel;
//					switch (*pStream)
//					{
//					case FDHI_ABS_TIME:			// _xZkqqHx_jAoCjBmOiOjOiKnEiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
//						LoadCmdAbsTime(pStream);
//						break;
//					case FDHI_LABEL_CREATE:		// _xZkqqHx_iDiJiDhIiDiLiNoMjAkMiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
//						LoadCmdLabelCreate(pStream, dwObjId, wstrLabel);
//						pvOpeIdLabel->push_back(FCOpeIdLabel(TRUE, guidUserId, fdstTime, dwObjId, wstrLabel));
//						break;
//					case FDHI_LABEL_DELETE:		// _xZkqqHx_iDiJiDhIiDiLiNoNiPjMiDiMiDfCiBfLiDgIiBeC_xHqqkZx_
//						LoadCmdLabelDelete(pStream, dwObjId, wstrLabel);
//						pvOpeIdLabel->push_back(FCOpeIdLabel(FALSE, guidUserId, fdstTime, dwObjId, wstrLabel));
//						break;
//					default:
//						FFThrowDDFileException(	IDS_ERR_FILE_DESTROIED,
//												WString(GetTableName().GetTopDirPath()));
//					}
//				}
//			}
//			m_dwNextIndex++;
//		} while (--lStep != 0);
//	}
//	return TRUE;
//----- 06.01.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
BOOL FCHiSummaryTable::MoveSession (long lStep,
									FCStLabelOperateVector* pvLabelOperate)
{
	if (lStep < 0)
	//----- _xZkqqHx_iDhEiDeAiDeDiDiLiCmMjBePjFpLiCnGiInKjDkO_xHqqkZx_ -----
	{
		do {
			// _xZkqqHx_iMlLiNnNiCmMiImKjChFiCkKjAoGjDkKiCmJjHiIiClNiCoHiBeBiPeJjHlJiPiIjHjNiBeC_xHqqkZx_
			if (m_dwNextIndex == 0) return FALSE;
			m_dwNextIndex--;
			if (pvLabelOperate != NULL)
			//----- _xZkqqHx_iDiJiDhIiDiLiCpAjAnNjCoIiClHiCoJjFeLjHhGiCkKiCkAiCoJiPoKiNiH_xHqqkZx_ -----
			{
//----- 06.04.07 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//				flint fliSessionIndex;
//				GUID guidUserId;
//				FDSECTIME fdstTime;
//				LoadRecord(	&fliSessionIndex,
//							&guidUserId,
//							&fdstTime,
//							pvLabelOperate,
//							TRUE,
//							m_dwNextIndex);
//----- 06.04.07 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
				LoadRecord(	NULL,
							NULL,
							NULL,
							NULL,
							pvLabelOperate,
							TRUE,
							m_dwNextIndex);
//----- 06.04.07 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
			}
		} while (++lStep != 0);
	} else if (0 < lStep)
	//----- _xZkqqHx_iDhEiDeAiDeDiDiLiCmMiMoDjFpLiCnGiInKjDkO_xHqqkZx_ -----
	{
		const DWORD dwEndIndex = GetRecordCount();
		do {
			// _xZkqqHx_iMlLiNnNiCmMiImKjChFiCkKiPeJjCfLiCmJjHiIiClNiCoHiBeBiPeJjHlJiPiIjHjNiBeC_xHqqkZx_
			if (dwEndIndex == m_dwNextIndex) return FALSE;
			if (pvLabelOperate != NULL)
			//----- _xZkqqHx_iDiJiDhIiDiLiCpAjAnNjCoIiClHiCoJjFeLjHhGiCkKiCkAiCoJiPoKiNiH_xHqqkZx_ -----
			{
//----- 06.04.07 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//				flint fliSessionIndex;
//				GUID guidUserId;
//				FDSECTIME fdstTime;
//				LoadRecord(	&fliSessionIndex,
//							&guidUserId,
//							&fdstTime,
//							pvLabelOperate,
//							FALSE,
//							m_dwNextIndex);
//----- 06.04.07 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
				LoadRecord(	NULL,
							NULL,
							NULL,
							NULL,
							pvLabelOperate,
							FALSE,
							m_dwNextIndex);
//----- 06.04.07 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
			}
			m_dwNextIndex++;
		} while (--lStep != 0);
	}
	return TRUE;
//----- 06.01.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCHiSummaryTable::MoveSession.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::SkipSession
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iMlLiNnNiImKjChFiCkJiCoHiCfAiDeDiDjDiDgGiDgCiDeOiDfIiCpAiDfIiDeMiDgCiDhGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiBgDiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_  _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiBgDiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_  _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJiBgDiEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *                      _xZkqqHx_iEkFiEjPiEjPiEjP_xHqqkZx_ Size _xZkqqHx_iEjPiEjPiEjPiEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.10.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::SkipSession ()
{
	m_dwNextIndex++;
} // FCHiSummaryTable::SkipSession.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::RSkipSession
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iMlLiNnNiImKjChFiCkJiCoHiCfAiDeDiDjDiDgGiDgCiDeOiDfIiCpAiLhEiMpMiCkLiCmJiDfIiDeMiDgCiDhGiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDfIiDeMiDgCiDhGiMoDiCmMiDeDiDjDiDgGiDgCiDeOiDfIiDhEiDeAiDeDiDiLiImKjChFiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiBgDiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_  _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiBgDiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_  _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJiBgDiEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *                      _xZkqqHx_iEkFiEjPiEjPiEjP_xHqqkZx_ Size _xZkqqHx_iEjPiEjPiEjPiEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.12 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::RSkipSession ()
{
	m_dwNextIndex--;
} // FCHiSummaryTable::RSkipSession.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::LoadCmdAbsTime
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAoCjBmOiOjOiKnEiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjFnEiClHiBeC_xHqqkZx_
 *			fliPtr			:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjFnEiClHiBeC_xHqqkZx_
 *			fdstTime		:_xZkqqHx_iImIjBePiCmMiOjOiKnEiCpAjFnEiClHiBeC_xHqqkZx_
 *			fdstCurrentTime	:_xZkqqHx_iMlLiNnNiCmMiOjOiKnEiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_UserId_xZkqqHx_iEkL_xHqqkZx_Time_xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJ_xHqqkZx_ GUID _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.01.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::LoadCmdAbsTime (const BYTE*& pStream)
{
	// _xZkqqHx_iDfCiDhNiDjDiDgIiDfCiBfLiDgIiCpAiDfIiDeMiDgCiDhGiClHiCoJiBeC_xHqqkZx_
	FFSkipData((BYTE*)NULL, pStream);
} // FCHiSummaryTable::LoadCmdAbsTime.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::LoadCmdLabelCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDhIiDiLiCmMiKeKiOgOiImKjChFiCmMiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjFnEiClHiBeC_xHqqkZx_
 *			fliPtr			:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjFnEiClHiBeC_xHqqkZx_
 *			fdstTime		:_xZkqqHx_iOjOiKnEiCpAjFnEiClHiBeC_xHqqkZx_
 *			dwObjId			:_xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *			wstrLabel		:_xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_UserId_xZkqqHx_iEkL_xHqqkZx_Time_xZkqqHx_iEkL_xHqqkZx_ ID _xZkqqHx_iEkL_xHqqkZx_TxSz_xZkqqHx_iEkL_xHqqkZx_Text_xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJ_xHqqkZx_ GUID _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_TxSz_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.01.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::LoadCmdLabelCreate (	const BYTE*& pStream,
											DWORD& dwObjId,
											WString& wstrLabel)
{
	// _xZkqqHx_iDfCiDhNiDjDiDgIiDfCiBfLiDgIiCpAiDfIiDeMiDgCiDhGiClHiCoJiBeC_xHqqkZx_
	FFSkipData((BYTE*)NULL, pStream);
	// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	dwObjId = ::ReadVSizeU(pStream);
	// _xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBjClHiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	const long lLabelSz = ::ReadVSizeU(pStream);
	// _xZkqqHx_iDgGiBfLiDfOiDgPiDgCiDhEiDeAiCpAiKgNjFnLiClFiBeBiDgGiBfLiDfOiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	wstrLabel.resize(lLabelSz, L'\0');
	FFReadStream(pStream, wstrLabel.begin(), sizeof(wchar_t) * lLabelSz);
} // FCHiSummaryTable::LoadCmdLabelCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCHiSummaryTable::LoadCmdLabelDelete
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDhIiDiLiCmMiPeDjHlJiImKjChFiCmMiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	fliSessionIndex	:_xZkqqHx_iDfKiDgCiDfGiDiHiDjDiDeDiDjDiDgGiDgCiDeOiDfIiCpAjFnEiClHiBeC_xHqqkZx_
 *			fliPtr			:_xZkqqHx_jHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiCpAjFnEiClHiBeC_xHqqkZx_
 *			fdstTime		:_xZkqqHx_iOjOiKnEiCpAjFnEiClHiBeC_xHqqkZx_
 *			dwObjId			:_xZkqqHx_iDiJiDhIiDiLjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAjFnEiClHiBeC_xHqqkZx_
 *			wstrLabel		:_xZkqqHx_iDiJiDhIiDiLjFlGiOjKjHpBiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>
 *          _xZkqqHx_iEkMiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiElBiEkKiEkKiEkN_xHqqkZx_
 *          _xZkqqHx_iEkL_xHqqkZx_CRC _xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_Session _xZkqqHx_iEkL_xHqqkZx_CMD _xZkqqHx_iEkL_xHqqkZx_UserId_xZkqqHx_iEkL_xHqqkZx_Time_xZkqqHx_iEkL_xHqqkZx_ ID _xZkqqHx_iEkL_xHqqkZx_TxSz_xZkqqHx_iEkL_xHqqkZx_Text_xZkqqHx_iEkL_xHqqkZx_Size_xZkqqHx_iEkL_xHqqkZx_
 *          _xZkqqHx_iEkPiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiElDiEkKiEkKiEkO_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkF_xHqqkZx_ 2  _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_  SizU  _xZkqqHx_iEkJ_xHqqkZx_ 1  _xZkqqHx_iEkJ_xHqqkZx_ GUID _xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkJ_xHqqkZx_TxSz_xZkqqHx_iEkJ_xHqqkZx_SizU_xZkqqHx_iEkH_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.01.06 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCHiSummaryTable::LoadCmdLabelDelete (	const BYTE*& pStream,
											DWORD& dwObjId,
											WString& wstrLabel)
{
	// _xZkqqHx_iDiJiDhIiDiLiCmMiKeKiOgOiImKjChFiCmMiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	LoadCmdLabelCreate(	pStream,
						dwObjId,
						wstrLabel);
} // FCHiSummaryTable::LoadCmdLabelDelete.

