mitab/mitab_miffile.cpp
OGRErr MIFFile::GetExtent (OGREnvelope *psExtent, int bForce)
{
    if (bForce == TRUE)
        PreParseFile();

    if (m_bPreParsed)
    {
        *psExtent = m_sExtents;
        return OGRERR_NONE;
    }
    else
        return OGRERR_FAILURE;
}
/**********************************************************************
 *                   MIFFile::GetExtent()
 *
 * Fetch extent of the data currently stored in the dataset.  We collect
 * this information while preparsing the file ... often already done for
 * other reasons, and if not it is still faster than fully reading all
 * the features just to count them.
 *
 * Returns OGRERR_NONE/OGRRERR_FAILURE.
 **********************************************************************/
:GetExtent()
Fetch extent of the data currently stored in the dataset.  We collect
this information while preparsing the file ... often already done for
other reasons, and if not it is still faster than fully reading all
the features just to count them.


: GetExtent () Fetch extent of the data currently stored in the dataset . We collect this information while preparsing the file ... often already done for other reasons and if not it is still faster than fully reading all the features just to count them .
OGRErr MIFFile::GetExtent (OGREnvelope *psExtent, int bForce)
{
    if (bForce == TRUE)
        PreParseFile();
    if (m_bPreParsed)
    {
        *psExtent = m_sExtents;
        return OGRERR_NONE;
    }
    else
        return OGRERR_FAILURE;
}
OGRErr MIFFile :: GetExtent ( OGREnvelope * psExtent , int bForce ) { if ( bForce == TRUE ) PreParseFile ( ) ; if ( m_bPreParsed ) { * psExtent = m_sExtents ; return OGRERR_NONE ; } else return OGRERR_FAILURE ; }
MIFFile::GetExtent()
 Fetch extent of the data currently stored in the dataset.
MIFFile :: GetExtent () Fetch extent of the data currently stored in the dataset .