31 #ifndef GDAL_JP2_ABSTRACT_DATASET_H_INCLUDED
32 #define GDAL_JP2_ABSTRACT_DATASET_H_INCLUDED
35 #include "gdalgeorefpamdataset.h"
37 class CPL_DLL GDALJP2AbstractDataset:
public GDALGeorefPamDataset
39 char* pszWldFilename =
nullptr;
42 char** papszMetadataFiles =
nullptr;
43 int m_nWORLDFILEIndex = -1;
49 int CloseDependentDatasets()
override;
50 virtual VSILFILE* GetFileHandle() {
return nullptr; }
53 GDALJP2AbstractDataset();
54 ~GDALJP2AbstractDataset()
override;
57 const char* pszOverrideFilename =
nullptr,
59 void LoadVectorLayers(
int bOpenRemoteResources = FALSE );
61 char **GetFileList(
void )
override;
63 char** GetMetadata(
const char * pszDomain =
"" )
override;
64 const char* GetMetadataItem(
const char* pszName,
const char * pszDomain =
"" )
override;
66 int GetLayerCount()
override;
67 OGRLayer *GetLayer(
int i )
override;
Class for dataset open functions.
Definition: gdal_priv.h:271
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:429
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:72
A set of associated raster bands, usually from one file.
Definition: gdal_priv.h:342
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Helper to remove the copy and assignment constructors so that the compiler will not generate the defa...
Definition: cpl_port.h:930
FILE VSILFILE
Opaque type for a FILE that implements the VSIVirtualHandle API.
Definition: cpl_vsi.h:158