|
#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/cloning/GroupCloner.h>
Public Member Functions | |
std::optional< StatechartGroupMapping > | cloneGroupsTo (const QVector< QPair< StatechartGroupPtr, QString >> &groupsNames, const QString &packageDir, const StatechartGroupMapping &mapping=StatechartGroupMapping(), bool createNewUUIDs=true) |
QVector< StatechartGroupPtr > | getGroupDependencies (const StatechartGroupPtr &group, bool includeSelf=false) |
QVector< StatechartGroupPtr > | getMappedGroups (const StatechartGroupMapping &mapping) |
GroupCloner (const std::weak_ptr< StateTreeModel > &treeModel, const ArmarXPackageToolInterfacePtr &packageTool) | |
Static Public Member Functions | |
static QVector< StatechartGroupPtr > | GetGroupsFromStates (const StateTreeModelPtr &treeModel, const QVector< statechartmodel::StatePtr > &states) |
template<typename Function > | |
static void | ProcessXMLFile (RapidXmlReaderNode source, RapidXmlWriterNode target, const Function &processorFunction) |
static void | RegexReplaceFile (const QString &srcFilePath, const QString &tgtFilePath, const QVector< QPair< QRegExp, QString >> &replaceList) |
static bool | RemoveDir (const QString &dirName) |
Definition at line 48 of file GroupCloner.h.
GroupCloner | ( | const std::weak_ptr< StateTreeModel > & | treeModel, |
const ArmarXPackageToolInterfacePtr & | packageTool | ||
) |
Definition at line 37 of file GroupCloner.cpp.
std::optional< StatechartGroupMapping > cloneGroupsTo | ( | const QVector< QPair< StatechartGroupPtr, QString >> & | groupsNames, |
const QString & | packageDir, | ||
const StatechartGroupMapping & | mapping = StatechartGroupMapping() , |
||
bool | createNewUUIDs = true |
||
) |
QVector< StatechartGroupPtr > getGroupDependencies | ( | const StatechartGroupPtr & | group, |
bool | includeSelf = false |
||
) |
Definition at line 44 of file GroupCloner.cpp.
|
static |
QVector< StatechartGroupPtr > getMappedGroups | ( | const StatechartGroupMapping & | mapping | ) |
Definition at line 62 of file GroupCloner.cpp.
|
inlinestatic |
|
static |
|
static |
Definition at line 511 of file GroupCloner.cpp.