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

       1                 : /******************************************************************************
       2                 :  * $Id: ogrregisterall.cpp 24669 2012-07-10 16:04:24Z 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 24669 2012-07-10 16:04:24Z rouault $");
      33                 : 
      34                 : /************************************************************************/
      35                 : /*                           OGRRegisterAll()                           */
      36                 : /************************************************************************/
      37                 : 
      38             226 : void OGRRegisterAll()
      39                 : {
      40             226 :     OGRSFDriverRegistrar::GetRegistrar()->AutoLoadDrivers();
      41                 : 
      42                 : #ifdef SHAPE_ENABLED
      43             226 :     RegisterOGRShape();
      44                 : #endif
      45                 : #ifdef TAB_ENABLED
      46             226 :     RegisterOGRTAB();
      47                 : #endif
      48                 : #ifdef NTF_ENABLED
      49             226 :     RegisterOGRNTF();
      50                 : #endif
      51                 : #ifdef SDTS_ENABLED
      52             226 :     RegisterOGRSDTS();
      53                 : #endif
      54                 : #ifdef TIGER_ENABLED
      55             226 :     RegisterOGRTiger();
      56                 : #endif
      57                 : #ifdef S57_ENABLED
      58             226 :     RegisterOGRS57();
      59                 : #endif
      60                 : #ifdef DGN_ENABLED
      61             226 :     RegisterOGRDGN();
      62                 : #endif
      63                 : #ifdef VRT_ENABLED
      64             226 :     RegisterOGRVRT();
      65                 : #endif
      66                 : #ifdef REC_ENABLED
      67             226 :     RegisterOGRREC();
      68                 : #endif
      69                 : #ifdef MEM_ENABLED
      70             226 :     RegisterOGRMEM();
      71                 : #endif
      72                 : #ifdef BNA_ENABLED
      73             226 :     RegisterOGRBNA();
      74                 : #endif
      75                 : #ifdef CSV_ENABLED
      76             226 :     RegisterOGRCSV();
      77                 : #endif
      78                 : #ifdef NAS_ENABLED
      79             226 :     RegisterOGRNAS();
      80                 : #endif
      81                 : #ifdef GML_ENABLED
      82             226 :     RegisterOGRGML();
      83                 : #endif
      84                 : #ifdef GPX_ENABLED
      85             226 :     RegisterOGRGPX();
      86                 : #endif
      87                 : #ifdef LIBKML_ENABLED
      88             226 :     RegisterOGRLIBKML();
      89                 : #endif
      90                 : #ifdef KML_ENABLED
      91             226 :     RegisterOGRKML();
      92                 : #endif
      93                 : #ifdef GEOJSON_ENABLED
      94             226 :     RegisterOGRGeoJSON();
      95                 : #endif
      96                 : #ifdef ILI_ENABLED
      97             226 :     RegisterOGRILI1();
      98             226 :     RegisterOGRILI2();
      99                 : #endif
     100                 : #ifdef GMT_ENABLED
     101             226 :     RegisterOGRGMT();
     102                 : #endif
     103                 : #ifdef SQLITE_ENABLED
     104             226 :     RegisterOGRSQLite();
     105                 : #endif
     106                 : #ifdef DODS_ENABLED
     107                 :     RegisterOGRDODS();
     108                 : #endif
     109                 : #ifdef ODBC_ENABLED
     110             226 :     RegisterOGRODBC();
     111                 : #endif
     112                 : 
     113                 : /* Register before PGeo and Geomedia drivers */
     114                 : /* that don't work well on Linux */
     115                 : #ifdef MDB_ENABLED
     116             226 :     RegisterOGRMDB();
     117                 : #endif
     118                 : 
     119                 : #ifdef PGEO_ENABLED
     120             226 :     RegisterOGRPGeo();
     121                 : #endif
     122                 : #ifdef MSSQLSPATIAL_ENABLED
     123             226 :     RegisterOGRMSSQLSpatial();
     124                 : #endif 
     125                 : #ifdef OGDI_ENABLED
     126             226 :     RegisterOGROGDI();
     127                 : #endif
     128                 : #ifdef PG_ENABLED
     129             226 :     RegisterOGRPG();
     130                 : #endif
     131                 : #ifdef MYSQL_ENABLED
     132             226 :     RegisterOGRMySQL();
     133                 : #endif
     134                 : #ifdef OCI_ENABLED
     135                 :     RegisterOGROCI();
     136                 : #endif
     137                 : #ifdef INGRES_ENABLED
     138                 :     RegisterOGRIngres();
     139                 : #endif
     140                 : #ifdef PCIDSK_ENABLED
     141             226 :     RegisterOGRPCIDSK();
     142                 : #endif
     143                 : #ifdef SDE_ENABLED
     144                 :     RegisterOGRSDE();
     145                 : #endif
     146                 : #ifdef FGDB_ENABLED
     147             226 :     RegisterOGRFileGDB();
     148                 : #endif
     149                 : #ifdef XPLANE_ENABLED
     150             226 :     RegisterOGRXPlane();
     151                 : #endif
     152                 : #ifdef AVCBIN_ENABLED
     153             226 :     RegisterOGRAVCBin();
     154             226 :     RegisterOGRAVCE00();
     155                 : #endif
     156                 : #ifdef DWGDIRECT_ENABLED
     157                 :     RegisterOGRDXFDWG();
     158                 : #endif
     159                 : #ifdef DXF_ENABLED
     160             226 :     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             226 :     RegisterOGRGeoconcept();
     173                 : #endif
     174                 : #ifdef GEORSS_ENABLED
     175             226 :     RegisterOGRGeoRSS();
     176                 : #endif
     177                 : #ifdef GTM_ENABLED
     178             226 :     RegisterOGRGTM();
     179                 : #endif
     180                 : #ifdef VFK_ENABLED
     181             226 :     RegisterOGRVFK();
     182                 : #endif
     183                 : #ifdef PGDUMP_ENABLED
     184             226 :     RegisterOGRPGDump();
     185                 : #endif
     186                 : #ifdef OSM_ENABLED
     187                 :     /* Register before GPSBabel, that could recognize .osm file too */
     188             226 :     RegisterOGROSM();
     189                 : #endif
     190                 : #ifdef GPSBABEL_ENABLED
     191             226 :     RegisterOGRGPSBabel();
     192                 : #endif
     193                 : #ifdef SUA_ENABLED
     194             226 :     RegisterOGRSUA();
     195                 : #endif
     196                 : #ifdef OPENAIR_ENABLED
     197             226 :     RegisterOGROpenAir();
     198                 : #endif
     199                 : #ifdef PDS_ENABLED
     200             226 :     RegisterOGRPDS();
     201                 : #endif
     202                 : #ifdef WFS_ENABLED
     203             226 :     RegisterOGRWFS();
     204                 : #endif
     205                 : #ifdef SOSI_ENABLED 
     206                 :   RegisterOGRSOSI(); 
     207                 : #endif
     208                 : #ifdef HTF_ENABLED
     209             226 :     RegisterOGRHTF();
     210                 : #endif
     211                 : #ifdef AERONAVFAA_ENABLED
     212             226 :     RegisterOGRAeronavFAA();
     213                 : #endif
     214                 : #ifdef GEOMEDIA_ENABLED
     215             226 :     RegisterOGRGeomedia();
     216                 : #endif
     217                 : #ifdef EDIGEO_ENABLED
     218             226 :     RegisterOGREDIGEO();
     219                 : #endif
     220                 : #ifdef GFT_ENABLED
     221             226 :     RegisterOGRGFT();
     222                 : #endif
     223                 : #ifdef SVG_ENABLED
     224             226 :     RegisterOGRSVG();
     225                 : #endif
     226                 : #ifdef COUCHDB_ENABLED
     227             226 :     RegisterOGRCouchDB();
     228                 : #endif
     229                 : #ifdef IDRISI_ENABLED
     230             226 :     RegisterOGRIdrisi();
     231                 : #endif
     232                 : #ifdef ARCGEN_ENABLED
     233             226 :     RegisterOGRARCGEN();
     234                 : #endif
     235                 : #ifdef SEGUKOOA_ENABLED
     236             226 :     RegisterOGRSEGUKOOA();
     237                 : #endif
     238                 : #ifdef SEGY_ENABLED
     239             226 :     RegisterOGRSEGY();
     240                 : #endif
     241                 : #ifdef FREEXL_ENABLED
     242             226 :     RegisterOGRXLS();
     243                 : #endif
     244                 : #ifdef ODS_ENABLED
     245             226 :     RegisterOGRODS();
     246                 : #endif
     247                 : #ifdef XLSX_ENABLED
     248             226 :     RegisterOGRXLSX();
     249                 : #endif
     250                 : #ifdef ELASTIC_ENABLED
     251             226 :     RegisterOGRElastic();
     252                 : #endif
     253                 : #ifdef PDF_ENABLED
     254             226 :     RegisterOGRPDF();
     255                 : #endif
     256             226 : } /* OGRRegisterAll */

Generated by: LCOV version 1.7