~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to frmts/pcidsk/sdk/pcidsk_binary.h

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************************************
 
2
 *
 
3
 * Purpose: Interface representing access to a PCIDSK Binary Segment
 
4
 * 
 
5
 ******************************************************************************
 
6
 * Copyright (c) 2010
 
7
 * PCI Geomatics, 50 West Wilmot Street, Richmond Hill, Ont, Canada
 
8
 *
 
9
 * Permission is hereby granted, free of charge, to any person obtaining a
 
10
 * copy of this software and associated documentation files (the "Software"),
 
11
 * to deal in the Software without restriction, including without limitation
 
12
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 
13
 * and/or sell copies of the Software, and to permit persons to whom the
 
14
 * Software is furnished to do so, subject to the following conditions:
 
15
 *
 
16
 * The above copyright notice and this permission notice shall be included
 
17
 * in all copies or substantial portions of the Software.
 
18
 *
 
19
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
20
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
21
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 
22
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
23
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 
24
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 
25
 * DEALINGS IN THE SOFTWARE.
 
26
 ****************************************************************************/
 
27
#ifndef __INCLUDE_PCIDSK_PCIDSK_BINARY_H
 
28
#define __INCLUDE_PCIDSK_PCIDSK_BINARY_H
 
29
 
 
30
namespace PCIDSK {
 
31
//! Interface to PCIDSK Binary segment.
 
32
    class PCIDSKBinarySegment 
 
33
    {
 
34
    public:
 
35
        virtual const char* GetBuffer(void) const = 0;
 
36
        virtual unsigned int GetBufferSize(void) const = 0;
 
37
        virtual void SetBuffer(const char* pabyBuf, 
 
38
            unsigned int nBufSize) = 0;
 
39
 
 
40
        // Virtual destructor
 
41
        virtual ~PCIDSKBinarySegment() {}
 
42
    };
 
43
}
 
44
 
 
45
#endif // __INCLUDE_PCIDSK_PCIDSK_BINARY_H