Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions  Download package

void cbd500_Tree::bd500Copy ( const cbd500_Tree SrcTree  )  [inline]

function: bd500Copy description: Current Tree is a copy of SrcTree. arguments: SrcTree [in]

Definition at line 660 of file gbd500.h.

References m_CurrLevel, m_LeftMostIdNextLowerLevel, m_PathInfo, m_pStopKey, m_RootLevel, and m_StopKeyLen.

Referenced by cbd500_Tree().

{
    ROUTINE_DBG_MEO00 ("bd500Copy");

    m_LeftMostIdNextLowerLevel = SrcTree.m_LeftMostIdNextLowerLevel;
    m_pStopKey                 = SrcTree.m_pStopKey;
    m_StopKeyLen               = SrcTree.m_StopKeyLen;
    m_RootLevel                = SrcTree.m_RootLevel;
    m_CurrLevel                = SrcTree.m_CurrLevel;
    for (tsp00_Int4 Level = LEAF_LEVEL_BD00; Level < m_RootLevel+1; ++Level)
    {
        m_PathInfo[Level].piLeftId_bd500          = SrcTree.m_PathInfo[Level].piLeftId_bd500;
        m_PathInfo[Level].piId_bd500              = SrcTree.m_PathInfo[Level].piId_bd500;
        m_PathInfo[Level].piLeafCount_bd500       = SrcTree.m_PathInfo[Level].piLeafCount_bd500;
        m_PathInfo[Level].piSubNodeRecIndex_bd500 = SrcTree.m_PathInfo[Level].piSubNodeRecIndex_bd500;
        m_PathInfo[Level].piMaxRecIndex_bd500     = SrcTree.m_PathInfo[Level].piMaxRecIndex_bd500;
    }
}


Generated by  Doxygen 1.6.0   Back to index