QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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 baseDir () const
 
void setBaseDir (QString dirName)
 
QString copyingFileName (const QString &dirName) const
 
QString descFileName (const QString &dirName) const
 
bool isEmpty ()
 
QString archiveName () const
 
QVector< QgsCptCityDataItem * > rootItems () const
 
QVector< QgsCptCityDataItem * > selectionItems () const
 

Static Public Member Functions

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

Protected Attributes

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

Static Protected Attributes

static QString mDefaultArchiveName
 
static QMap< QString,
QgsCptCityArchive * > 
mArchiveRegistry
 
static QMap< QString, QMap
< QString, QString > > 
mCopyingInfoMap
 

Constructor & Destructor Documentation

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

Member Function Documentation

QString QgsCptCityArchive::archiveName ( ) const
inline
QMap< QString, QgsCptCityArchive * > QgsCptCityArchive::archiveRegistry ( )
static
QString QgsCptCityArchive::baseDir ( ) const
QString QgsCptCityArchive::baseDir ( QString  archiveName)
static
void QgsCptCityArchive::clearArchives ( )
static
QString QgsCptCityArchive::copyingFileName ( const QString &  dirName) const
QgsStringMap QgsCptCityArchive::copyingInfo ( const QString &  fileName)
static
QgsCptCityArchive * QgsCptCityArchive::defaultArchive ( )
static
QString QgsCptCityArchive::defaultBaseDir ( )
static
QString QgsCptCityArchive::descFileName ( const QString &  dirName) const
QgsStringMap QgsCptCityArchive::description ( const QString &  fileName)
static
QString QgsCptCityArchive::findFileName ( const QString &  target,
const QString &  startDir,
const QString &  baseDir 
)
static
QMap< double, QPair< QColor, QColor > > QgsCptCityArchive::gradientColorMap ( const QString &  fileName)
static

note not available in python bindings

void QgsCptCityArchive::initArchive ( QString  archiveName,
QString  archiveBaseDir 
)
static
void QgsCptCityArchive::initArchives ( bool  loadAll = false)
static
void QgsCptCityArchive::initDefaultArchive ( )
static
bool QgsCptCityArchive::isEmpty ( )
QVector< QgsCptCityDataItem* > QgsCptCityArchive::rootItems ( ) const
inline
QVector< QgsCptCityDataItem* > QgsCptCityArchive::selectionItems ( ) const
inline
void QgsCptCityArchive::setBaseDir ( QString  dirName)
inline

Member Data Documentation

QString QgsCptCityArchive::mArchiveName
protected
QMap< QString, QgsCptCityArchive * > QgsCptCityArchive::mArchiveRegistry
staticprotected
QString QgsCptCityArchive::mBaseDir
protected
QMap< QString, QMap< QString, QString > > QgsCptCityArchive::mCopyingInfoMap
staticprotected
QString QgsCptCityArchive::mDefaultArchiveName
staticprotected
QVector< QgsCptCityDataItem* > QgsCptCityArchive::mRootItems
protected
QVector<QgsCptCityDataItem*> QgsCptCityArchive::mSelectionItems
protected

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