QGIS API Documentation  2.10.1-Pisa
 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, QStringcopyingInfo (const QString &fileName)
static QgsCptCityArchivedefaultArchive ()
static QString defaultBaseDir ()
static QMap< QString, QStringdescription (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 More...
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 * > 
static QMap< QString, QMap
< QString, QString > > 
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 91 of file qgscptcityarchive.cpp.

Member Function Documentation

QString QgsCptCityArchive::archiveName ( ) const

Definition at line 57 of file qgscptcityarchive.h.

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

Definition at line 42 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::baseDir ( ) const

Definition at line 101 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::baseDir ( QString  archiveName)

Definition at line 111 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::clearArchives ( )

Definition at line 486 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::copyingFileName ( const QString dirName) const

Definition at line 158 of file qgscptcityarchive.cpp.

QgsStringMap QgsCptCityArchive::copyingInfo ( const QString fileName)

Definition at line 170 of file qgscptcityarchive.cpp.

QgsCptCityArchive * QgsCptCityArchive::defaultArchive ( )

Definition at line 414 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::defaultBaseDir ( )

Definition at line 122 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::descFileName ( const QString dirName) const

Definition at line 164 of file qgscptcityarchive.cpp.

QgsStringMap QgsCptCityArchive::description ( const QString fileName)

Definition at line 271 of file qgscptcityarchive.cpp.

QString QgsCptCityArchive::findFileName ( const QString target,
const QString startDir,
const QString baseDir 

Definition at line 137 of file qgscptcityarchive.cpp.

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

note not available in python bindings

Definition at line 320 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::initArchive ( QString  archiveName,
QString  archiveBaseDir 

Definition at line 424 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::initArchives ( bool  loadAll = false)

Definition at line 446 of file qgscptcityarchive.cpp.

void QgsCptCityArchive::initDefaultArchive ( )

Definition at line 433 of file qgscptcityarchive.cpp.

bool QgsCptCityArchive::isEmpty ( )

Definition at line 408 of file qgscptcityarchive.cpp.

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

Definition at line 66 of file qgscptcityarchive.h.

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

Definition at line 67 of file qgscptcityarchive.h.

void QgsCptCityArchive::setBaseDir ( QString  dirName)

Definition at line 44 of file qgscptcityarchive.h.

Member Data Documentation

QString QgsCptCityArchive::mArchiveName

Definition at line 71 of file qgscptcityarchive.h.

QMap< QString, QgsCptCityArchive * > QgsCptCityArchive::mArchiveRegistry

Definition at line 74 of file qgscptcityarchive.h.

QString QgsCptCityArchive::mBaseDir

Definition at line 72 of file qgscptcityarchive.h.

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

Definition at line 79 of file qgscptcityarchive.h.

QString QgsCptCityArchive::mDefaultArchiveName

Definition at line 73 of file qgscptcityarchive.h.

QVector< QgsCptCityDataItem* > QgsCptCityArchive::mRootItems

Definition at line 76 of file qgscptcityarchive.h.

QVector<QgsCptCityDataItem*> QgsCptCityArchive::mSelectionItems

Definition at line 77 of file qgscptcityarchive.h.

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