mitab/mitab_tabfile.cpp
int  TABFile::GetFieldIndexNumber(int nFieldId)
{
    if (m_panIndexNo == NULL || nFieldId < 0 || 
        m_poDATFile== NULL || nFieldId >= m_poDATFile->GetNumFields())
        return 0;  // no index

    return m_panIndexNo[nFieldId];
}
/**********************************************************************
 *                   TABFile::GetFieldIndexNumber()
 *
 * Returns the field's index number that was specified in the .TAB header
 * or 0 if the specified field is not indexed.
 *
 * Note that field ids are positive and start at 0
 * and valid index ids are positive and start at 1.
 **********************************************************************/
:GetFieldIndexNumber()
Returns the field's index number that was specified in the .TAB header
or 0 if the specified field is not indexed.

Note that field ids are positive and start at 0
and valid index ids are positive and start at 1.
: GetFieldIndexNumber () Returns the field ' s index number that was specified in the . TAB header or 0 if the specified field is not indexed . Note that field ids are positive and start at 0 and valid index ids are positive and start at 1 .
int  TABFile::GetFieldIndexNumber(int nFieldId)
{
    if (m_panIndexNo == NULL || nFieldId < 0 || 
        m_poDATFile== NULL || nFieldId >= m_poDATFile->GetNumFields())
        return 0;  
    return m_panIndexNo[nFieldId];
}
int TABFile :: GetFieldIndexNumber ( int nFieldId ) { if ( m_panIndexNo == NULL || nFieldId < 0 || m_poDATFile == NULL || nFieldId >= m_poDATFile -> GetNumFields ( ) ) return 0 ; return m_panIndexNo [ nFieldId ] ; }
TABFile::GetFieldIndexNumber()
 Returns the field's index number that was specified in the .TAB header
 or 0 if the specified field is not indexed.
TABFile :: GetFieldIndexNumber () Returns the field ' s index number that was specified in the . TAB header or 0 if the specified field is not indexed .
// no index