LCOV - code coverage report
Current view: top level - frmts/pcidsk/sdk - pcidsk_blut.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 0 1 0.0 %
Date: 2024-05-04 12:52:34 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Purpose:  PCIDSK LUT segment interface class.
       4             :  *
       5             :  ******************************************************************************
       6             :  * Copyright (c) 2015
       7             :  * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, 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_BLUT_H
      28             : #define INCLUDE_PCIDSK_BLUT_H
      29             : 
      30             : #include <string>
      31             : #include <vector>
      32             : #include <utility>
      33             : 
      34             : namespace PCIDSK
      35             : {
      36             :     typedef std::pair<double, double> BLUTEntry;
      37             : /************************************************************************/
      38             : /*                              PCIDSK_LUT                              */
      39             : /************************************************************************/
      40             : 
      41             : //! Interface to PCIDSK pseudo-color segment.
      42             : 
      43             :     class PCIDSK_DLL PCIDSK_BLUT
      44             :     {
      45             :     public:
      46           0 :         virtual ~PCIDSK_BLUT() {}
      47             : 
      48             : /**
      49             : \brief Read a LUT Segment (SEG_BLUT).
      50             : 
      51             : @param vBLUT  Breakpoint Pseudo-Color Table buffer into which the breakpoint
      52             : pseudo-color table is read.  It consists of a vector of BLUTEntry.
      53             : 
      54             : */
      55             :         virtual void ReadBLUT(std::vector<BLUTEntry>& vBLUT) = 0;
      56             : 
      57             : /**
      58             : \brief Write a BLUT Segment.
      59             : 
      60             : @param vBLUT  Breakpoint Pseudo-Color Table buffer from which the breakpoint
      61             : pseudo-color table is written.  It consists of a vector of BLUTEntry.
      62             : 
      63             : */
      64             :         virtual void WriteBLUT(const std::vector<BLUTEntry>& vBLUT) = 0;
      65             :     };
      66             : } // end namespace PCIDSK
      67             : 
      68             : #endif // INCLUDE_PCIDSK_BLUT_H

Generated by: LCOV version 1.14