| 1 | /****************************************************************************** |
| 2 | * |
| 3 | * Purpose: PCIDSK External Database Interface declaration. This provides |
| 4 | * mechanisms for access to external linked image file formats. |
| 5 | * |
| 6 | ****************************************************************************** |
| 7 | * Copyright (c) 2010 |
| 8 | * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada. |
| 9 | * |
| 10 | * SPDX-License-Identifier: MIT |
| 11 | ****************************************************************************/ |
| 12 | #ifndef INCLUDE_PCIDSK_EDB_H |
| 13 | #define INCLUDE_PCIDSK_EDB_Hcxx . . $ `frmts/pcidsk/sdk/pcidsk_edb.h:13:9`! |
| 14 | |
| 15 | #include "pcidsk_config.h"cxx . . $ `<file>/frmts/pcidsk/sdk/pcidsk_config.h`/ |
| 16 | |
| 17 | #include <string> |
| 18 | |
| 19 | namespace PCIDSKcxx . . $ PCIDSK/ |
| 20 | { |
| 21 | /************************************************************************/ |
| 22 | /* EDBFile */ |
| 23 | /************************************************************************/ |
| 24 | |
| 25 | //! External Database Interface class. |
| 26 | |
| 27 | class EDBFilecxx . . $ PCIDSK/EDBFile# |
| 28 | { |
| 29 | public: |
| 30 | virtual ~cxx . . $ PCIDSK/EDBFile#`~EDBFile`(49f6e7a06ebc5aa8).EDBFilecxx . . $ PCIDSK/EDBFile#(); |
| 31 | virtual int Closecxx . . $ PCIDSK/EDBFile#Close(455f465bc33b4cdf).() const = 0; |
| 32 | |
| 33 | virtual int GetWidthcxx . . $ PCIDSK/EDBFile#GetWidth(455f465bc33b4cdf).() const = 0; |
| 34 | virtual int GetHeightcxx . . $ PCIDSK/EDBFile#GetHeight(455f465bc33b4cdf).() const = 0; |
| 35 | virtual int GetChannelscxx . . $ PCIDSK/EDBFile#GetChannels(455f465bc33b4cdf).() const = 0; |
| 36 | virtual int GetBlockWidthcxx . . $ PCIDSK/EDBFile#GetBlockWidth(7ccb52b1bfe01045).(int channel ) const = 0; |
| 37 | virtual int GetBlockHeightcxx . . $ PCIDSK/EDBFile#GetBlockHeight(7ccb52b1bfe01045).(int channel ) const = 0; |
| 38 | virtual eChanTypecxx . . $ PCIDSK/eChanType# GetTypecxx . . $ PCIDSK/EDBFile#GetType(971eac6e082aad59).(int channel ) const = 0; |
| 39 | virtual int ReadBlockcxx . . $ PCIDSK/EDBFile#ReadBlock(d4b21c834024e98e).(int channel, |
| 40 | int block_index, void *buffer, |
| 41 | int win_xoff=-1, int win_yoff=-1, |
| 42 | int win_xsize=-1, int win_ysize=-1 ) = 0; |
| 43 | virtual int WriteBlockcxx . . $ PCIDSK/EDBFile#WriteBlock(a62691832b3fe527).( int channel, int block_index, void *buffer) = 0; |
| 44 | }; |
| 45 | |
| 46 | EDBFilecxx . . $ PCIDSK/EDBFile# PCIDSK_DLLcxx . . $ `frmts/pcidsk/sdk/pcidsk_config.h:62:11`! *DefaultOpenEDBcxx . . $ PCIDSK/DefaultOpenEDB(d43a40155b82fe52).(const stdcxx . . $ std/::string& filename, |
| 47 | const stdcxx . . $ std/::string& access); |
| 48 | } // end namespace PCIDSK |
| 49 | |
| 50 | #endif // INCLUDE_PCIDSK_EDB_H |