|
#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 51 of file StateTreeNode.h.
StateTreeNode | ( | QString | display, |
QString | basename, | ||
NodeType | nodeType, | ||
StateTreeNodePtr | parentNode, | ||
StatechartGroupPtr | parentGroup, | ||
bool | stateIsPublic | ||
) |
~StateTreeNode | ( | ) |
Definition at line 47 of file StateTreeNode.cpp.
void appendChild | ( | StateTreeNodePtr | child | ) |
bool checkCppExists | ( | ) |
Definition at line 247 of file StateTreeNode.cpp.
|
static |
StateTreeNodePtr child | ( | int | row | ) |
Definition at line 104 of file StateTreeNode.cpp.
int childCount | ( | ) | const |
Definition at line 110 of file StateTreeNode.cpp.
int columnCount | ( | ) | const |
Definition at line 116 of file StateTreeNode.cpp.
StateTreeNodePtr findNodeByStateName | ( | QString | name | ) |
Definition at line 324 of file StateTreeNode.cpp.
std::filesystem::path getAbsoluteBoostPath | ( | ) | const |
Definition at line 177 of file StateTreeNode.cpp.
QVector< statechartmodel::StatePtr > getAllStatesRecursively | ( | bool | localOnly | ) | const |
QVector< StateTreeNodePtr > getAllSubNodesRecursively | ( | ) | const |
QString getBasename | ( | ) | const |
Definition at line 171 of file StateTreeNode.cpp.
std::filesystem::path getBoostCppFilePath | ( | StateTreeNode::Path | pathType = Path::Absolute | ) | const |
Definition at line 194 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 259 of file StateTreeNode.cpp.
std::filesystem::path getBoostPathRelativeToGroup | ( | ) | const |
Definition at line 265 of file StateTreeNode.cpp.
std::filesystem::path getBoostXmlFilePath | ( | StateTreeNode::Path | pathType = Path::Absolute | ) | const |
QList< StateTreeNodePtr > getChildren | ( | ) | const |
Definition at line 424 of file StateTreeNode.cpp.
StateTreeNodePtr getClosestParentFolderOrGroupNode | ( | ) |
bool getCppExists | ( | ) | const |
Definition at line 236 of file StateTreeNode.cpp.
QString getDisplay | ( | ) | const |
Definition at line 122 of file StateTreeNode.cpp.
StatechartGroupPtr getGroup | ( | ) |
Definition at line 159 of file StateTreeNode.cpp.
int getNestingLevelRelativeToGroup | ( | ) |
StateTreeNode::NodeType getNodeType | ( | ) |
Definition at line 165 of file StateTreeNode.cpp.
StateTreeNodePtr getParent | ( | ) | const |
armarx::statechartmodel::StatePtr getState | ( | ) | const |
Definition at line 280 of file StateTreeNode.cpp.
bool isFolder | ( | ) | const |
bool isFolderOrGroup | ( | ) | const |
Definition at line 292 of file StateTreeNode.cpp.
bool isGroup | ( | ) | const |
Definition at line 298 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 92 of file StateTreeNode.cpp.
|
friend |
Definition at line 42 of file StateTreeNode.h.