QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 (QString archiveName=DEFAULT_CPTCITY_ARCHIVE, QString baseDir=QString())
 ~QgsCptCityArchive ()
QString archiveName () const
QString baseDir () const
QString copyingFileName (const QString &dirName) const
QString descFileName (const QString &dirName) const
bool isEmpty ()
QVector< QgsCptCityDataItem * > rootItems () const
QVector< QgsCptCityDataItem * > selectionItems () const
void setBaseDir (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)
 note not available in python bindings
static void initArchive (QString archiveName, 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 * > 
mArchiveRegistry
static QMap< QString, QMap
< QString, QString > > 
mCopyingInfoMap
static QString mDefaultArchiveName

Detailed Description

Definition at line 33 of file qgscptcityarchive.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file qgscptcityarchive.cpp.

QgsCptCityArchive::~QgsCptCityArchive ( )

Definition at line 90 of file qgscptcityarchive.cpp.

Member Function Documentation

QString QgsCptCityArchive::archiveName ( ) const
inline

Definition at line 57 of file qgscptcityarchive.h.

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

Definition at line 42 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::baseDir ( ) const

Definition at line 100 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::baseDir ( QString  archiveName)
static

Definition at line 110 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::clearArchives ( )
static

Definition at line 485 of file qgscptcityarchive.cpp.

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

Definition at line 157 of file qgscptcityarchive.cpp.

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

Definition at line 169 of file qgscptcityarchive.cpp.

QgsCptCityArchive * QgsCptCityArchive::defaultArchive ( )
static

Definition at line 413 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::defaultBaseDir ( )
static

Definition at line 121 of file qgscptcityarchive.cpp.

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

Definition at line 163 of file qgscptcityarchive.cpp.

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

Definition at line 270 of file qgscptcityarchive.cpp.

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

Definition at line 136 of file qgscptcityarchive.cpp.

QMap< double, QPair< QColor, QColor > > QgsCptCityArchive::gradientColorMap ( const QString &  fileName)
static

note not available in python bindings

Definition at line 319 of file qgscptcityarchive.cpp.

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

Definition at line 423 of file qgscptcityarchive.cpp.

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

Definition at line 445 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::initDefaultArchive ( )
static

Definition at line 432 of file qgscptcityarchive.cpp.

bool QgsCptCityArchive::isEmpty ( )

Definition at line 407 of file qgscptcityarchive.cpp.

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

Definition at line 66 of file qgscptcityarchive.h.

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

Definition at line 67 of file qgscptcityarchive.h.

void QgsCptCityArchive::setBaseDir ( QString  dirName)
inline

Definition at line 44 of file qgscptcityarchive.h.

Member Data Documentation

QString QgsCptCityArchive::mArchiveName
protected

Definition at line 71 of file qgscptcityarchive.h.

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

Definition at line 74 of file qgscptcityarchive.h.

QString QgsCptCityArchive::mBaseDir
protected

Definition at line 72 of file qgscptcityarchive.h.

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

Definition at line 79 of file qgscptcityarchive.h.

QString QgsCptCityArchive::mDefaultArchiveName
staticprotected

Definition at line 73 of file qgscptcityarchive.h.

QVector< QgsCptCityDataItem* > QgsCptCityArchive::mRootItems
protected

Definition at line 76 of file qgscptcityarchive.h.

QVector<QgsCptCityDataItem*> QgsCptCityArchive::mSelectionItems
protected

Definition at line 77 of file qgscptcityarchive.h.


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