// Constructs the m_alChildren array. public void AddChildren( CGedcom gedcom ) { m_alChildren = new ArrayList(); foreach( CChildXref cxr in m_alXrefsChildren ) { if( cxr != null && cxr.m_xref != "" ) { CIndividualRecord ir = gedcom.GetIndividualRecord( cxr.m_xref ); if( ir != null ) { m_alChildren.Add( new CChild( cxr.m_nPositionInFile, ir ) ); } } } m_alChildren.Sort( new CChild.Comparer() ); }