QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
QgsCptCityArchive Class Reference

#include <qgscptcityarchive.h>

Public Member Functions

 QgsCptCityArchive (const QString &archiveName=DEFAULT_CPTCITY_ARCHIVE, const QString &baseDir=QString())
 
 QgsCptCityArchive (const QgsCptCityArchive &rh)=delete
 QgsCptCityArchive cannot be copied. More...
 
 ~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 ()
 

Protected Attributes

QString mArchiveName
 
QString mBaseDir
 
QVector< QgsCptCityDataItem * > mRootItems
 
QVector< QgsCptCityDataItem * > mSelectionItems
 

Static Protected Attributes

static QMap< QString, QgsCptCityArchive * > sArchiveRegistry
 
static QMap< QString, QMap< QString, QString > > sCopyingInfoMap
 
static QString sDefaultArchiveName
 

Detailed Description

Definition at line 40 of file qgscptcityarchive.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file qgscptcityarchive.cpp.

QgsCptCityArchive::~QgsCptCityArchive ( )

Definition at line 93 of file qgscptcityarchive.cpp.

QgsCptCityArchive::QgsCptCityArchive ( const QgsCptCityArchive rh)
delete

QgsCptCityArchive cannot be copied.

Member Function Documentation

QString QgsCptCityArchive::archiveName ( ) const
inline

Definition at line 69 of file qgscptcityarchive.h.

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

Definition at line 43 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::baseDir ( ) const

Definition at line 103 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::baseDir ( QString  archiveName)
static

Definition at line 113 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::clearArchives ( )
static

Definition at line 489 of file qgscptcityarchive.cpp.

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

Definition at line 160 of file qgscptcityarchive.cpp.

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

Definition at line 172 of file qgscptcityarchive.cpp.

QgsCptCityArchive * QgsCptCityArchive::defaultArchive ( )
static

Definition at line 416 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::defaultBaseDir ( )
static

Definition at line 124 of file qgscptcityarchive.cpp.

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

Definition at line 166 of file qgscptcityarchive.cpp.

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

Definition at line 273 of file qgscptcityarchive.cpp.

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

Definition at line 139 of file qgscptcityarchive.cpp.

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

Definition at line 322 of file qgscptcityarchive.cpp.

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

Definition at line 426 of file qgscptcityarchive.cpp.

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

Definition at line 448 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::initDefaultArchive ( )
static

Definition at line 435 of file qgscptcityarchive.cpp.

bool QgsCptCityArchive::isEmpty ( )

Definition at line 410 of file qgscptcityarchive.cpp.

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

QgsCptCityArchive cannot be copied.

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

Definition at line 78 of file qgscptcityarchive.h.

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

Definition at line 79 of file qgscptcityarchive.h.

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

Definition at line 56 of file qgscptcityarchive.h.

Member Data Documentation

QString QgsCptCityArchive::mArchiveName
protected

Definition at line 83 of file qgscptcityarchive.h.

QString QgsCptCityArchive::mBaseDir
protected

Definition at line 84 of file qgscptcityarchive.h.

QVector< QgsCptCityDataItem * > QgsCptCityArchive::mRootItems
protected

Definition at line 88 of file qgscptcityarchive.h.

QVector<QgsCptCityDataItem *> QgsCptCityArchive::mSelectionItems
protected

Definition at line 89 of file qgscptcityarchive.h.

QMap< QString, QgsCptCityArchive * > QgsCptCityArchive::sArchiveRegistry
staticprotected

Definition at line 86 of file qgscptcityarchive.h.

QMap< QString, QMap< QString, QString > > QgsCptCityArchive::sCopyingInfoMap
staticprotected

Definition at line 91 of file qgscptcityarchive.h.

QString QgsCptCityArchive::sDefaultArchiveName
staticprotected

Definition at line 85 of file qgscptcityarchive.h.


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