QElectroTech  0.70
Public Member Functions | Private Member Functions | List of all members
ECHSFileToFile Class Reference

The ECHSFileToFile class Manage the copy of directory or element from a file system collection to another file system collection. More...

#include <elementcollectionhandler.h>

Public Member Functions

 ECHSFileToFile (ElementsLocation &source, ElementsLocation &destination)
 
ElementsLocation copy () override
 
- Public Member Functions inherited from ECHStrategy
 ECHStrategy (ElementsLocation &source, ElementsLocation &destination)
 
virtual ~ECHStrategy ()
 

Private Member Functions

ElementsLocation copyDirectory (ElementsLocation &source, ElementsLocation &destination, const QString &rename=QString())
 
ElementsLocation copyElement (ElementsLocation &source, ElementsLocation &destination, const QString &rename=QString())
 

Additional Inherited Members

- Public Attributes inherited from ECHStrategy
ElementsLocation m_source
 
ElementsLocation m_destination
 

Detailed Description

The ECHSFileToFile class Manage the copy of directory or element from a file system collection to another file system collection.

Definition at line 44 of file elementcollectionhandler.h.

Constructor & Destructor Documentation

◆ ECHSFileToFile()

ECHSFileToFile::ECHSFileToFile ( ElementsLocation source,
ElementsLocation destination 
)

Definition at line 37 of file elementcollectionhandler.cpp.

Member Function Documentation

◆ copy()

ElementsLocation ECHSFileToFile::copy ( )
overridevirtual

◆ copyDirectory()

ElementsLocation ECHSFileToFile::copyDirectory ( ElementsLocation source,
ElementsLocation destination,
const QString &  rename = QString() 
)
private

Definition at line 79 of file elementcollectionhandler.cpp.

References copyElement(), and ElementsLocation::fileSystemPath().

Referenced by copy().

◆ copyElement()

ElementsLocation ECHSFileToFile::copyElement ( ElementsLocation source,
ElementsLocation destination,
const QString &  rename = QString() 
)
private

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