LCOV - code coverage report
Current view: directory - ogr/ogrsf_frmts/generic - ogrregisterall.cpp (source / functions) Found Hit Coverage
Test: gdal_filtered.info Lines: 60 60 100.0 %
Date: 2011-12-18 Functions: 1 1 100.0 %

       1                 : /******************************************************************************
       2                 :  * $Id: ogrregisterall.cpp 23381 2011-11-17 21:55:45Z rouault $
       3                 :  *
       4                 :  * Project:  OpenGIS Simple Features Reference Implementation
       5                 :  * Purpose:  Function to register all known OGR drivers.
       6                 :  * Author:   Frank Warmerdam, warmerdam@pobox.com
       7                 :  *
       8                 :  ******************************************************************************
       9                 :  * Copyright (c) 1999,  Les Technologies SoftMap Inc.
      10                 :  *
      11                 :  * Permission is hereby granted, free of charge, to any person obtaining a
      12                 :  * copy of this software and associated documentation files (the "Software"),
      13                 :  * to deal in the Software without restriction, including without limitation
      14                 :  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
      15                 :  * and/or sell copies of the Software, and to permit persons to whom the
      16                 :  * Software is furnished to do so, subject to the following conditions:
      17                 :  *
      18                 :  * The above copyright notice and this permission notice shall be included
      19                 :  * in all copies or substantial portions of the Software.
      20                 :  *
      21                 :  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
      22                 :  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
      23                 :  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
      24                 :  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
      25                 :  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
      26                 :  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
      27                 :  * DEALINGS IN THE SOFTWARE.
      28                 :  ****************************************************************************/
      29                 : 
      30                 : #include "ogrsf_frmts.h"
      31                 : 
      32                 : CPL_CVSID("$Id: ogrregisterall.cpp 23381 2011-11-17 21:55:45Z rouault $");
      33                 : 
      34                 : /************************************************************************/
      35                 : /*                           OGRRegisterAll()                           */
      36                 : /************************************************************************/
      37                 : 
      38             178 : void OGRRegisterAll()
      39                 : {
      40             178 :     OGRSFDriverRegistrar::GetRegistrar()->AutoLoadDrivers();
      41                 : 
      42                 : #ifdef SHAPE_ENABLED
      43             178 :     RegisterOGRShape();
      44                 : #endif
      45                 : #ifdef TAB_ENABLED
      46             178 :     RegisterOGRTAB();
      47                 : #endif
      48                 : #ifdef NTF_ENABLED
      49             178 :     RegisterOGRNTF();
      50                 : #endif
      51                 : #ifdef SDTS_ENABLED
      52             178 :     RegisterOGRSDTS();
      53                 : #endif
      54                 : #ifdef TIGER_ENABLED
      55             178 :     RegisterOGRTiger();
      56                 : #endif
      57                 : #ifdef S57_ENABLED
      58             178 :     RegisterOGRS57();
      59                 : #endif
      60                 : #ifdef DGN_ENABLED
      61             178 :     RegisterOGRDGN();
      62                 : #endif
      63                 : #ifdef VRT_ENABLED
      64             178 :     RegisterOGRVRT();
      65                 : #endif
      66                 : #ifdef REC_ENABLED
      67             178 :     RegisterOGRREC();
      68                 : #endif
      69                 : #ifdef MEM_ENABLED
      70             178 :     RegisterOGRMEM();
      71                 : #endif
      72                 : #ifdef BNA_ENABLED
      73             178 :     RegisterOGRBNA();
      74                 : #endif
      75                 : #ifdef CSV_ENABLED
      76             178 :     RegisterOGRCSV();
      77                 : #endif
      78                 : #ifdef NAS_ENABLED
      79             178 :     RegisterOGRNAS();
      80                 : #endif
      81                 : #ifdef GML_ENABLED
      82             178 :     RegisterOGRGML();
      83                 : #endif
      84                 : #ifdef GPX_ENABLED
      85             178 :     RegisterOGRGPX();
      86                 : #endif
      87                 : #ifdef LIBKML_ENABLED
      88             178 :     RegisterOGRLIBKML();
      89                 : #endif
      90                 : #ifdef KML_ENABLED
      91             178 :     RegisterOGRKML();
      92                 : #endif
      93                 : #ifdef GEOJSON_ENABLED
      94             178 :     RegisterOGRGeoJSON();
      95                 : #endif
      96                 : #ifdef ILI_ENABLED
      97             178 :     RegisterOGRILI1();
      98             178 :     RegisterOGRILI2();
      99                 : #endif
     100                 : #ifdef GMT_ENABLED
     101             178 :     RegisterOGRGMT();
     102                 : #endif
     103                 : #ifdef SQLITE_ENABLED
     104             178 :     RegisterOGRSQLite();
     105                 : #endif
     106                 : #ifdef DODS_ENABLED
     107                 :     RegisterOGRDODS();
     108                 : #endif
     109                 : #ifdef ODBC_ENABLED
     110             178 :     RegisterOGRODBC();
     111                 : #endif
     112                 : 
     113                 : /* Register before PGeo and Geomedia drivers */
     114                 : /* that don't work well on Linux */
     115                 : #ifdef MDB_ENABLED
     116             178 :     RegisterOGRMDB();
     117                 : #endif
     118                 : 
     119                 : #ifdef PGEO_ENABLED
     120             178 :     RegisterOGRPGeo();
     121                 : #endif
     122                 : #ifdef MSSQLSPATIAL_ENABLED
     123             178 :     RegisterOGRMSSQLSpatial();
     124                 : #endif 
     125                 : #ifdef OGDI_ENABLED
     126             178 :     RegisterOGROGDI();
     127                 : #endif
     128                 : #ifdef PG_ENABLED
     129             178 :     RegisterOGRPG();
     130                 : #endif
     131                 : #ifdef MYSQL_ENABLED
     132             178 :     RegisterOGRMySQL();
     133                 : #endif
     134                 : #ifdef OCI_ENABLED
     135                 :     RegisterOGROCI();
     136                 : #endif
     137                 : #ifdef INGRES_ENABLED
     138                 :     RegisterOGRIngres();
     139                 : #endif
     140                 : #ifdef PCIDSK_ENABLED
     141             178 :     RegisterOGRPCIDSK();
     142                 : #endif
     143                 : #ifdef SDE_ENABLED
     144                 :     RegisterOGRSDE();
     145                 : #endif
     146                 : #ifdef FGDB_ENABLED
     147             178 :     RegisterOGRFileGDB();
     148                 : #endif
     149                 : #ifdef XPLANE_ENABLED
     150             178 :     RegisterOGRXPlane();
     151                 : #endif
     152                 : #ifdef AVCBIN_ENABLED
     153             178 :     RegisterOGRAVCBin();
     154             178 :     RegisterOGRAVCE00();
     155                 : #endif
     156                 : #ifdef DWGDIRECT_ENABLED
     157                 :     RegisterOGRDXFDWG();
     158                 : #endif
     159                 : #ifdef DXF_ENABLED
     160             178 :     RegisterOGRDXF();
     161                 : #endif
     162                 : #ifdef GRASS_ENABLED
     163                 :     RegisterOGRGRASS();
     164                 : #endif
     165                 : #ifdef FME_ENABLED
     166                 :     RegisterOGRFME();
     167                 : #endif
     168                 : #ifdef IDB_ENABLED
     169                 :     RegisterOGRIDB();
     170                 : #endif
     171                 : #ifdef GEOCONCEPT_ENABLED
     172             178 :     RegisterOGRGeoconcept();
     173                 : #endif
     174                 : #ifdef GEORSS_ENABLED
     175             178 :     RegisterOGRGeoRSS();
     176                 : #endif
     177                 : #ifdef GTM_ENABLED
     178             178 :     RegisterOGRGTM();
     179                 : #endif
     180                 : #ifdef VFK_ENABLED
     181             178 :     RegisterOGRVFK();
     182                 : #endif
     183                 : #ifdef PGDUMP_ENABLED
     184             178 :     RegisterOGRPGDump();
     185                 : #endif
     186                 : #ifdef GPSBABEL_ENABLED
     187             178 :     RegisterOGRGPSBabel();
     188                 : #endif
     189                 : #ifdef SUA_ENABLED
     190             178 :     RegisterOGRSUA();
     191                 : #endif
     192                 : #ifdef OPENAIR_ENABLED
     193             178 :     RegisterOGROpenAir();
     194                 : #endif
     195                 : #ifdef PDS_ENABLED
     196             178 :     RegisterOGRPDS();
     197                 : #endif
     198                 : #ifdef WFS_ENABLED
     199             178 :     RegisterOGRWFS();
     200                 : #endif
     201                 : #ifdef SOSI_ENABLED 
     202                 :   RegisterOGRSOSI(); 
     203                 : #endif
     204                 : #ifdef HTF_ENABLED
     205             178 :     RegisterOGRHTF();
     206                 : #endif
     207                 : #ifdef AERONAVFAA_ENABLED
     208             178 :     RegisterOGRAeronavFAA();
     209                 : #endif
     210                 : #ifdef GEOMEDIA_ENABLED
     211             178 :     RegisterOGRGeomedia();
     212                 : #endif
     213                 : #ifdef EDIGEO_ENABLED
     214             178 :     RegisterOGREDIGEO();
     215                 : #endif
     216                 : #ifdef GFT_ENABLED
     217             178 :     RegisterOGRGFT();
     218                 : #endif
     219                 : #ifdef SVG_ENABLED
     220             178 :     RegisterOGRSVG();
     221                 : #endif
     222                 : #ifdef COUCHDB_ENABLED
     223             178 :     RegisterOGRCouchDB();
     224                 : #endif
     225                 : #ifdef IDRISI_ENABLED
     226             178 :     RegisterOGRIdrisi();
     227                 : #endif
     228                 : #ifdef ARCGEN_ENABLED
     229             178 :     RegisterOGRARCGEN();
     230                 : #endif
     231                 : #ifdef SEGUKOOA_ENABLED
     232             178 :     RegisterOGRSEGUKOOA();
     233                 : #endif
     234                 : #ifdef SEGY_ENABLED
     235             178 :     RegisterOGRSEGY();
     236                 : #endif
     237                 : #ifdef FREEXL_ENABLED
     238             178 :     RegisterOGRXLS();
     239                 : #endif
     240             178 : } /* OGRRegisterAll */

Generated by: LCOV version 1.7