GDAL

vrt_priv.h
1/******************************************************************************
2 * Project: Virtual GDAL Datasets
3 * Purpose: Declaration of VRT private stuff
4 * Author: Even Rouault <even dot rouault at spatialys.com>
5 *
6 ******************************************************************************
7 * Copyright (c) 2023, Even Rouault <even dot rouault at spatialys.com>
8 *
9 * SPDX-License-Identifier: MIT
10 ****************************************************************************/
11
12#ifndef VRT_PRIV_H_INCLUDED
13#define VRT_PRIV_H_INCLUDED
14
15#ifndef DOXYGEN_SKIP
16
17#include "cpl_port.h"
18#include "gdal_priv.h"
19
20#include <string>
21#include <vector>
22
23 struct CPL_DLL GTISourceDesc
24{
25 std::string osFilename{};
26 int nDstXOff = 0;
27 int nDstYOff = 0;
28 int nDstXSize = 0;
29 int nDstYSize = 0;
30};
31
32 class GDALTileIndexDataset;
33
34GDALTileIndexDataset CPL_DLL *GDALDatasetCastToGTIDataset(GDALDataset *poDS);
35
36std::vector<GTISourceDesc> CPL_DLL
37GTIGetSourcesMoreRecentThan(GDALTileIndexDataset *poDS, int64_t mTime);
38
39 CPLStringList CPL_DLL VRTParseCategoryNames(const CPLXMLNode *psCategoryNames);
40
41std::unique_ptr<GDALColorTable>
42 CPL_DLL VRTParseColorTable(const CPLXMLNode *psColorTable);
43
44#endif
45
46#endif // VRT_PRIV_H_INCLUDED
CPLStringList
String list class designed around our use of C "char**" string lists.
Definition cpl_string.h:458
GDALDataset
A set of associated raster bands, usually from one file.
Definition gdal_dataset.h:76
cpl_port.h
Core portability definitions for CPL.
gdal_priv.h
This file is legacy since GDAL 3.12, but will be kept at least in the whole GDAL 3....
CPLXMLNode
Document node structure.
Definition cpl_minixml.h:54