Class: QgsCptCityArchive

class qgis.core.QgsCptCityArchive(archiveName: str = '', baseDir: str = '')

Bases: sip.wrapper

Methods

archiveName

rtype

str

archiveRegistry

rtype

object

baseDir

rtype

str

clearArchives

copyingFileName

param dirName

copyingInfo

param fileName

defaultArchive

rtype

QgsCptCityArchive

defaultBaseDir

rtype

str

descFileName

param dirName

description

param fileName

findFileName

param target

initArchive

param archiveName

initArchives

param loadAll

initDefaultArchive

isEmpty

rtype

bool

rootItems

rtype

List[QgsCptCityDataItem]

selectionItems

rtype

List[QgsCptCityDataItem]

setBaseDir

param dirName

archiveName(self) str
Return type

str

archiveRegistry() object
Return type

object

baseDir(self) str
baseDir(archiveName: str) str
Return type

str

clearArchives()
copyingFileName(self, dirName: str) str
Parameters

dirName (str) –

Return type

str

copyingInfo(fileName: str) Dict[str, str]
Parameters

fileName (str) –

Return type

Dict[str, str]

defaultArchive() QgsCptCityArchive
Return type

QgsCptCityArchive

defaultBaseDir() str
Return type

str

descFileName(self, dirName: str) str
Parameters

dirName (str) –

Return type

str

description(fileName: str) Dict[str, str]
Parameters

fileName (str) –

Return type

Dict[str, str]

findFileName(target: str, startDir: str, baseDir: str) str
Parameters
  • target (str) –

  • startDir (str) –

  • baseDir (str) –

Return type

str

initArchive(archiveName: str, archiveBaseDir: str)
Parameters
  • archiveName (str) –

  • archiveBaseDir (str) –

initArchives(loadAll: bool = False)
Parameters

loadAll (bool = False) –

initDefaultArchive()
isEmpty(self) bool
Return type

bool

rootItems(self) List[QgsCptCityDataItem]
Return type

List[QgsCptCityDataItem]

selectionItems(self) List[QgsCptCityDataItem]
Return type

List[QgsCptCityDataItem]

setBaseDir(self, dirName: str)
Parameters

dirName (str) –