MeVisLab Scripting Reference
MLMultiFileVolumeListWrapperBase Class Referenceabstract

#include <mlMultiFileVolumeListWrapperBase.h>

Inherits QObject.

Inherited by MLDirectDicomImportWrapper, MLMultiFileVolumeListBaseOutputWrapper, and MLMultiFileVolumeListWrapper.

Public Slots

Access functions for the wrapped MultiFileVolumeList object.


QList< MLMultiFileVolumeWrapper * > getMultiFileVolumeList ()
 
QList< MLMultiFileVolumeWrapper * > getCurrentMultiFileVolumeList ()
 
MLMultiFileVolumeWrappergetMultiFileVolumeAt (size_t index)
 
void clearVolumeReferences ()
 
void clearMultiFileVolumes ()
 
int writeCache (const QString &cacheDirectory, const QString &cacheFilename) const
 
QString getCacheString (const QString &cacheDirectory) const
 
int writeCacheFor (unsigned int index, const QString &cacheDirectory, const QString &cacheFilename)
 
QString getCacheStringFor (unsigned int index, const QString &cacheDirectory)
 
QList< MLMultiFileVolumeWrapper * > getVolumeReferenceList ()
 
MLMultiFileVolumeWrappergetVolumeReferenceAt (size_t index)
 

Detailed Description

This class is a base class for object wrappers for sources of MultiFileVolumeList instances for Python.

Member Function Documentation

◆ clearMultiFileVolumes

void MLMultiFileVolumeListWrapperBase::clearMultiFileVolumes ( )
slot

Removes the temporarily created wrappers of MultiFileVolumes if there are any, not the MultiFileVolumeList itself or the MultFileVolumes themselves.

◆ clearVolumeReferences

void MLMultiFileVolumeListWrapperBase::clearVolumeReferences ( )
slot

Deprecated, use clearMultFileVolumes() instead; see clearMultiFileVolumes() for documentation.

◆ getCacheString

QString MLMultiFileVolumeListWrapperBase::getCacheString ( const QString & cacheDirectory) const
slot

Returns the volume list persistently written into the string cacheDirectory.

◆ getCacheStringFor

QString MLMultiFileVolumeListWrapperBase::getCacheStringFor ( unsigned int index,
const QString & cacheDirectory )
slot

Returns the volume at index index persistently written into the string cacheDirectory.

◆ getCurrentMultiFileVolumeList

QList< MLMultiFileVolumeWrapper * > MLMultiFileVolumeListWrapperBase::getCurrentMultiFileVolumeList ( )
slot

Returns the current list of MultiFileVolume wrappers without (re)creating it.

◆ getMultiFileVolumeAt

MLMultiFileVolumeWrapper * MLMultiFileVolumeListWrapperBase::getMultiFileVolumeAt ( size_t index)
slot

Creates and returns the wrapper for the MultiFileVolume at index; this call does not create a wrapper for the list.

◆ getMultiFileVolumeList

QList< MLMultiFileVolumeWrapper * > MLMultiFileVolumeListWrapperBase::getMultiFileVolumeList ( )
slot

Creates and return the list of wrappers of MultiFileVolumes.

◆ getVolumeReferenceAt

MLMultiFileVolumeWrapper * MLMultiFileVolumeListWrapperBase::getVolumeReferenceAt ( size_t index)
slot

Deprecated, use getMultiFileVolumeAt(unsigned int index), see getMultiFileVolumeAt(unsigned int index) for documentation.

◆ getVolumeReferenceList

QList< MLMultiFileVolumeWrapper * > MLMultiFileVolumeListWrapperBase::getVolumeReferenceList ( )
slot

Deprecated, use getMultiFileVolumeList() instead; see getMultiFileVolumeList() for documentation.

◆ writeCache

int MLMultiFileVolumeListWrapperBase::writeCache ( const QString & cacheDirectory,
const QString & cacheFilename ) const
slot

Writes the volume list persistently into file cacheDirectory+cacheFilename.

◆ writeCacheFor

int MLMultiFileVolumeListWrapperBase::writeCacheFor ( unsigned int index,
const QString & cacheDirectory,
const QString & cacheFilename )
slot

Writes the volume at index index persistently into file cacheDirectory+cacheFilename.