Line data Source code
1 : /****************************************************************************** 2 : * 3 : * Purpose: Interface representing access to a PCIDSK Binary Segment 4 : * 5 : ****************************************************************************** 6 : * Copyright (c) 2010 7 : * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada. 8 : * 9 : * SPDX-License-Identifier: MIT 10 : ****************************************************************************/ 11 : #ifndef INCLUDE_PCIDSK_PCIDSK_BINARY_H 12 : #define INCLUDE_PCIDSK_PCIDSK_BINARY_H 13 : 14 : namespace PCIDSK { 15 : //! Interface to PCIDSK Binary segment. 16 : class PCIDSKBinarySegment 17 : { 18 : public: 19 : virtual const char* GetBuffer(void) const = 0; 20 : virtual unsigned int GetBufferSize(void) const = 0; 21 : virtual void SetBuffer(const char* pabyBuf, 22 : unsigned int nBufSize) = 0; 23 : 24 : // Virtual destructor 25 0 : virtual ~PCIDSKBinarySegment() {} 26 : }; 27 : } 28 : 29 : #endif // INCLUDE_PCIDSK_PCIDSK_BINARY_H