LCOV - code coverage report
Current view: top level - frmts/pcidsk/sdk - pcidsk_gcpsegment.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 0 1 0.0 %
Date: 2024-11-25 13:07:18 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Purpose: Interface through which a PCIDSK GCP Segment would be accessed
       4             :  *
       5             :  ******************************************************************************
       6             :  * Copyright (c) 2009
       7             :  * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada.
       8             :  *
       9             :  * SPDX-License-Identifier: MIT
      10             :  ****************************************************************************/
      11             : #ifndef INCLUDE_PCIDSK_PCIDSK_GCPSEGMENT_H
      12             : #define INCLUDE_PCIDSK_PCIDSK_GCPSEGMENT_H
      13             : 
      14             : #include "pcidsk_gcp.h"
      15             : 
      16             : #include <vector>
      17             : 
      18             : namespace PCIDSK {
      19             : 
      20             : //! Interface to PCIDSK GCP segment.
      21             :     class PCIDSKGCPSegment
      22             :     {
      23             :     public:
      24             :         //! Return all GCPs in the segment
      25             :         virtual std::vector<PCIDSK::GCP> const& GetGCPs(void) const = 0;
      26             : 
      27             :         //! Write the given GCPs to the segment. If the segment already exists, it will be replaced with this one.
      28             :         virtual void SetGCPs(std::vector<PCIDSK::GCP> const& gcps) = 0;
      29             : 
      30             :         //! Return the count of GCPs in the segment
      31             :         virtual unsigned int GetGCPCount(void) const = 0;
      32             : 
      33             :         //! Clear a GCP Segment
      34             :         virtual void ClearGCPs(void) = 0;
      35             : 
      36             :         //! Virtual Destructor
      37           0 :         virtual ~PCIDSKGCPSegment(void) {}
      38             :     };
      39             : } // end namespace PCIDSK
      40             : 
      41             : 
      42             : #endif // INCLUDE_PCIDSK_PCIDSK_GCPSEGMENT_H
      43             : 

Generated by: LCOV version 1.14