mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			77 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsdataproviderelevationproperties.h                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsDataProviderElevationProperties
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Base class for handling elevation related properties for a data provider.
 | 
						|
 | 
						|
.. versionadded:: 3.32
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsdataproviderelevationproperties.h"
 | 
						|
%End
 | 
						|
%ConvertToSubClassCode
 | 
						|
    if ( dynamic_cast<QgsRasterDataProviderElevationProperties *>( sipCpp ) )
 | 
						|
    {
 | 
						|
      sipType = sipType_QgsRasterDataProviderElevationProperties;
 | 
						|
    }
 | 
						|
    else
 | 
						|
    {
 | 
						|
      sipType = 0;
 | 
						|
    }
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsDataProviderElevationProperties();
 | 
						|
%Docstring
 | 
						|
Constructor for QgsDataProviderElevationProperties.
 | 
						|
%End
 | 
						|
 | 
						|
    virtual bool containsElevationData() const;
 | 
						|
%Docstring
 | 
						|
Returns ``True`` if the data provider definitely contains elevation related data.
 | 
						|
 | 
						|
.. note::
 | 
						|
 | 
						|
   Even if this method returns ``False``, the data may still relate to elevation values. ``True`` will only
 | 
						|
   be returned in situations where elevation data is definitively present.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setContainsElevationData`
 | 
						|
 | 
						|
.. versionadded:: 3.36
 | 
						|
%End
 | 
						|
 | 
						|
    virtual void setContainsElevationData( bool contains );
 | 
						|
%Docstring
 | 
						|
Sets whether the data provider definitely contains elevation related data.
 | 
						|
 | 
						|
.. seealso:: :py:func:`containsElevationData`
 | 
						|
 | 
						|
.. versionadded:: 3.36
 | 
						|
%End
 | 
						|
 | 
						|
    virtual ~QgsDataProviderElevationProperties();
 | 
						|
 | 
						|
  protected:
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsdataproviderelevationproperties.h                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |