|
#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/model/StateTreeNode.h>
Public Types | |
enum | NodeType { Group, Folder, State } |
enum | Path { Absolute, RelativeToGroup } |
Static Public Member Functions | |
static bool | CheckNodeName (QString name) |
Friends | |
class | StateTreeModel |
Definition at line 40 of file StateTreeNode.h.
enum NodeType |
Enumerator | |
---|---|
Group | |
Folder | |
State |
Definition at line 45 of file StateTreeNode.h.
|
strong |
Enumerator | |
---|---|
Absolute | |
RelativeToGroup |
Definition at line 46 of file StateTreeNode.h.
StateTreeNode | ( | QString | display, |
QString | basename, | ||
NodeType | nodeType, | ||
StateTreeNodePtr | parentNode, | ||
StatechartGroupPtr | parentGroup, | ||
bool | stateIsPublic | ||
) |
~StateTreeNode | ( | ) |
Definition at line 42 of file StateTreeNode.cpp.
void appendChild | ( | StateTreeNodePtr | child | ) |
bool checkCppExists | ( | ) |
Definition at line 217 of file StateTreeNode.cpp.
|
static |
StateTreeNodePtr child | ( | int | row | ) |
Definition at line 93 of file StateTreeNode.cpp.
int childCount | ( | ) | const |
Definition at line 98 of file StateTreeNode.cpp.
int columnCount | ( | ) | const |
Definition at line 103 of file StateTreeNode.cpp.
StateTreeNodePtr findNodeByStateName | ( | QString | name | ) |
Definition at line 285 of file StateTreeNode.cpp.
std::filesystem::path getAbsoluteBoostPath | ( | ) | const |
Definition at line 156 of file StateTreeNode.cpp.
QVector< statechartmodel::StatePtr > getAllStatesRecursively | ( | bool | localOnly | ) | const |
QVector< StateTreeNodePtr > getAllSubNodesRecursively | ( | ) | const |
Definition at line 305 of file StateTreeNode.cpp.
QString getBasename | ( | ) | const |
Definition at line 151 of file StateTreeNode.cpp.
std::filesystem::path getBoostCppFilePath | ( | StateTreeNode::Path | pathType = Path::Absolute | ) | const |
Definition at line 171 of file StateTreeNode.cpp.
std::filesystem::path getBoostGeneratedHFilePath | ( | StateTreeNode::Path | pathType = Path::Absolute | ) | const |
std::filesystem::path getBoostHFilePath | ( | StateTreeNode::Path | pathType = Path::Absolute | ) | const |
std::filesystem::path getBoostPath | ( | std::filesystem::path | parentPath | ) | const |
Definition at line 228 of file StateTreeNode.cpp.
std::filesystem::path getBoostPathRelativeToGroup | ( | ) | const |
Definition at line 233 of file StateTreeNode.cpp.
std::filesystem::path getBoostXmlFilePath | ( | StateTreeNode::Path | pathType = Path::Absolute | ) | const |
QList< StateTreeNodePtr > getChildren | ( | ) | const |
Definition at line 379 of file StateTreeNode.cpp.
StateTreeNodePtr getClosestParentFolderOrGroupNode | ( | ) |
bool getCppExists | ( | ) | const |
Definition at line 207 of file StateTreeNode.cpp.
QString getDisplay | ( | ) | const |
Definition at line 108 of file StateTreeNode.cpp.
StatechartGroupPtr getGroup | ( | ) |
Definition at line 142 of file StateTreeNode.cpp.
int getNestingLevelRelativeToGroup | ( | ) |
StateTreeNode::NodeType getNodeType | ( | ) |
Definition at line 147 of file StateTreeNode.cpp.
StateTreeNodePtr getParent | ( | ) | const |
armarx::statechartmodel::StatePtr getState | ( | ) | const |
Definition at line 246 of file StateTreeNode.cpp.
bool isFolder | ( | ) | const |
bool isFolderOrGroup | ( | ) | const |
Definition at line 257 of file StateTreeNode.cpp.
bool isGroup | ( | ) | const |
Definition at line 262 of file StateTreeNode.cpp.
bool isPublic | ( | ) |
bool isState | ( | ) | const |
void removeChild | ( | StateTreeNodePtr | child | ) |
int row | ( | ) | const |
void setPublic | ( | bool | isPublic | ) |
void sortChildren | ( | ) |
Definition at line 83 of file StateTreeNode.cpp.
|
friend |
Definition at line 43 of file StateTreeNode.h.