ImagingTools Core SDK
Public Member Functions | List of all members
imtrepo::IRepositoryFileTransformationabstract

#include <IRepositoryFileTransformation.h>

Inherits istd::IPolymorphic.

Inherited by imtrepo::CRepositoryFileTransformationCompBase [virtual].

Public Member Functions

virtual istd::CIntRange GetSupportedRevisionRange () const =0
 
virtual bool TransformFile (const IRepositoryItemInfo &repositoryIteminfo, int fromRevision, int toRevision) const =0
 

Detailed Description

Interface defining the transformation of a file inside of the repository structure during repository conversion procedure.

Definition at line 22 of file IRepositoryFileTransformation.h.

Member Function Documentation

◆ GetSupportedRevisionRange()

virtual istd::CIntRange imtrepo::IRepositoryFileTransformation::GetSupportedRevisionRange ( ) const
pure virtual

Get the revision range supported by the file transformation.

Note
Please note that the upgrade range should be provided.

◆ TransformFile()

virtual bool imtrepo::IRepositoryFileTransformation::TransformFile ( const IRepositoryItemInfo &  repositoryIteminfo,
int  fromRevision,
int  toRevision 
) const
pure virtual

Execute the file transformation for the given revision range.