|
QElectroTech
0.70
|
The ECHSXmlToFile class Manage the copy of a directory or element from an xml collection to a file. More...
#include <elementcollectionhandler.h>
Public Member Functions | |
| ECHSXmlToFile (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 |
The ECHSXmlToFile class Manage the copy of a directory or element from an xml collection to a file.
Definition at line 59 of file elementcollectionhandler.h.
| ECHSXmlToFile::ECHSXmlToFile | ( | ElementsLocation & | source, |
| ElementsLocation & | destination | ||
| ) |
Definition at line 162 of file elementcollectionhandler.cpp.
|
overridevirtual |
Implements ECHStrategy.
Definition at line 166 of file elementcollectionhandler.cpp.
References copyDirectory(), copyElement(), QET::Erase, ElementsLocation::fileName(), ElementsLocation::fileSystemPath(), ElementsLocation::isElement(), ECHStrategy::m_destination, ECHStrategy::m_source, RenameDialog::newName(), and QET::Rename.
|
private |
Definition at line 204 of file elementcollectionhandler.cpp.
References ElementsLocation::collectionPath(), copyElement(), XmlElementCollection::directoriesNames(), XmlElementCollection::directory(), XmlElementCollection::elementsNames(), ElementsLocation::exist(), ElementsLocation::fileName(), ElementsLocation::fileSystemPath(), ElementsLocation::nameList(), ElementsLocation::projectCollection(), ElementsLocation::projectCollectionPath(), NamesList::toXml(), and QET::writeXmlFile().
Referenced by copy().
|
private |
Definition at line 251 of file elementcollectionhandler.cpp.
References ElementsLocation::exist(), ElementsLocation::fileName(), ElementsLocation::fileSystemPath(), QET::writeXmlFile(), and ElementsLocation::xml().
Referenced by copy(), and copyDirectory().
1.8.15