ImagingTools Core SDK
Protected Member Functions | List of all members
imtrepo::CFileCollectionComp

#include <CFileCollectionComp.h>

Inheritance diagram for imtrepo::CFileCollectionComp:
imtbase::IRevisionController

Protected Member Functions

virtual bool UpdateRepositoryFormat ()
 
- Protected Member Functions inherited from imtbase::IRevisionController
virtual int BackupRevision (const IObjectCollection &collection, const ICollectionInfo::Id &objectId, const QString &userComment=QString()) const =0
 
virtual bool RestoreRevision (IObjectCollection &collection, const ICollectionInfo::Id &objectId, int revision) const =0
 
virtual bool ExportRevision (const IObjectCollection &collection, const ICollectionInfo::Id &objectId, int revision, const QString &filePath) const =0
 
virtual bool DeleteRevision (IObjectCollection &collection, const ICollectionInfo::Id &objectId, int revision) const =0
 

Detailed Description

Implementation of a file-based data object collection. Each object will be placed in the file system according to the configured settings: Plain:In this mode the data file and related description files will be simply placed into the file collection folder. Subfolder: Each file will be placed into a separate folder. This folder contains the data file itself, file collection description file, and the meta-info file.

Definition at line 26 of file CFileCollectionComp.h.

Member Function Documentation

◆ UpdateRepositoryFormat()

virtual bool imtrepo::CFileCollectionComp::UpdateRepositoryFormat ( )
protectedvirtual

Update the version of the repository if necessary.

Returns
true if the revision was changed, or false otherwise.