QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | Static Public Member Functions | List of all members
QgsCptCityArchive Class Reference

#include <qgscptcityarchive.h>

Public Member Functions

 QgsCptCityArchive (const QgsCptCityArchive &rh)=delete
 QgsCptCityArchive cannot be copied. More...
 
 QgsCptCityArchive (const QString &archiveName=DEFAULT_CPTCITY_ARCHIVE, const QString &baseDir=QString())
 
 ~QgsCptCityArchive ()
 
QString archiveName () const
 
QString baseDir () const
 
QString copyingFileName (const QString &dirName) const
 
QString descFileName (const QString &dirName) const
 
bool isEmpty ()
 
QgsCptCityArchiveoperator= (const QgsCptCityArchive &rh)=delete
 QgsCptCityArchive cannot be copied. More...
 
QVector< QgsCptCityDataItem * > rootItems () const
 
QVector< QgsCptCityDataItem * > selectionItems () const
 
void setBaseDir (const QString &dirName)
 

Static Public Member Functions

static QMap< QString, QgsCptCityArchive * > archiveRegistry ()
 
static QString baseDir (QString archiveName)
 
static void clearArchives ()
 
static QMap< QString, QString > copyingInfo (const QString &fileName)
 
static QgsCptCityArchivedefaultArchive ()
 
static QString defaultBaseDir ()
 
static QMap< QString, QString > description (const QString &fileName)
 
static QString findFileName (const QString &target, const QString &startDir, const QString &baseDir)
 
static QMap< double, QPair< QColor, QColor > > gradientColorMap (const QString &fileName)
 
static void initArchive (const QString &archiveName, const QString &archiveBaseDir)
 
static void initArchives (bool loadAll=false)
 
static void initDefaultArchive ()
 

Detailed Description

Definition at line 39 of file qgscptcityarchive.h.

Constructor & Destructor Documentation

◆ QgsCptCityArchive() [1/2]

QgsCptCityArchive::QgsCptCityArchive ( const QString &  archiveName = DEFAULT_CPTCITY_ARCHIVE,
const QString &  baseDir = QString() 
)

Definition at line 50 of file qgscptcityarchive.cpp.

◆ ~QgsCptCityArchive()

QgsCptCityArchive::~QgsCptCityArchive ( )

Definition at line 98 of file qgscptcityarchive.cpp.

◆ QgsCptCityArchive() [2/2]

QgsCptCityArchive::QgsCptCityArchive ( const QgsCptCityArchive rh)
delete

QgsCptCityArchive cannot be copied.

Member Function Documentation

◆ archiveName()

QString QgsCptCityArchive::archiveName ( ) const
inline

Definition at line 68 of file qgscptcityarchive.h.

◆ archiveRegistry()

QMap< QString, QgsCptCityArchive * > QgsCptCityArchive::archiveRegistry ( )
static

Definition at line 45 of file qgscptcityarchive.cpp.

◆ baseDir() [1/2]

QString QgsCptCityArchive::baseDir ( ) const

Definition at line 110 of file qgscptcityarchive.cpp.

◆ baseDir() [2/2]

QString QgsCptCityArchive::baseDir ( QString  archiveName)
static

Definition at line 120 of file qgscptcityarchive.cpp.

◆ clearArchives()

void QgsCptCityArchive::clearArchives ( )
static

Definition at line 496 of file qgscptcityarchive.cpp.

◆ copyingFileName()

QString QgsCptCityArchive::copyingFileName ( const QString &  dirName) const

Definition at line 167 of file qgscptcityarchive.cpp.

◆ copyingInfo()

QgsStringMap QgsCptCityArchive::copyingInfo ( const QString &  fileName)
static

Definition at line 179 of file qgscptcityarchive.cpp.

◆ defaultArchive()

QgsCptCityArchive * QgsCptCityArchive::defaultArchive ( )
static

Definition at line 423 of file qgscptcityarchive.cpp.

◆ defaultBaseDir()

QString QgsCptCityArchive::defaultBaseDir ( )
static

Definition at line 131 of file qgscptcityarchive.cpp.

◆ descFileName()

QString QgsCptCityArchive::descFileName ( const QString &  dirName) const

Definition at line 173 of file qgscptcityarchive.cpp.

◆ description()

QgsStringMap QgsCptCityArchive::description ( const QString &  fileName)
static

Definition at line 280 of file qgscptcityarchive.cpp.

◆ findFileName()

QString QgsCptCityArchive::findFileName ( const QString &  target,
const QString &  startDir,
const QString &  baseDir 
)
static

Definition at line 146 of file qgscptcityarchive.cpp.

◆ gradientColorMap()

QMap< double, QPair< QColor, QColor > > QgsCptCityArchive::gradientColorMap ( const QString &  fileName)
static
Note
not available in Python bindings

Definition at line 329 of file qgscptcityarchive.cpp.

◆ initArchive()

void QgsCptCityArchive::initArchive ( const QString &  archiveName,
const QString &  archiveBaseDir 
)
static

Definition at line 433 of file qgscptcityarchive.cpp.

◆ initArchives()

void QgsCptCityArchive::initArchives ( bool  loadAll = false)
static

Definition at line 455 of file qgscptcityarchive.cpp.

◆ initDefaultArchive()

void QgsCptCityArchive::initDefaultArchive ( )
static

Definition at line 442 of file qgscptcityarchive.cpp.

◆ isEmpty()

bool QgsCptCityArchive::isEmpty ( )

Definition at line 417 of file qgscptcityarchive.cpp.

◆ operator=()

QgsCptCityArchive& QgsCptCityArchive::operator= ( const QgsCptCityArchive rh)
delete

QgsCptCityArchive cannot be copied.

◆ rootItems()

QVector< QgsCptCityDataItem * > QgsCptCityArchive::rootItems ( ) const
inline

Definition at line 77 of file qgscptcityarchive.h.

◆ selectionItems()

QVector< QgsCptCityDataItem * > QgsCptCityArchive::selectionItems ( ) const
inline

Definition at line 78 of file qgscptcityarchive.h.

◆ setBaseDir()

void QgsCptCityArchive::setBaseDir ( const QString &  dirName)
inline

Definition at line 55 of file qgscptcityarchive.h.


The documentation for this class was generated from the following files: