Go to the documentation of this file.
29 #include "../../StatechartViewerPlugin/model/State.h"
41 :
public std::enable_shared_from_this<StateTreeNode>
72 std::filesystem::path
getBoostPath(std::filesystem::path parentPath)
const;
100 static int NodeTypeToSortIndex(
NodeType nodeType);
102 void GetAllSubstatesRecursively(
const statechartmodel::StatePtr& state, QVector<statechartmodel::StatePtr>& result,
bool localOnly)
const;
104 QList<StateTreeNodePtr> children;
105 QList<QVariant> itemData;
106 std::weak_ptr<StateTreeNode> parentNode;
107 std::weak_ptr<StatechartGroup> parentGroup;
QVector< statechartmodel::StatePtr > getAllStatesRecursively(bool localOnly) const
bool isFolderOrGroup() const
std::shared_ptr< StateTreeNode > StateTreeNodePtr
std::filesystem::path getBoostXmlFilePath(Path pathType=Path::Absolute) const
StateTreeNodePtr findNodeByStateName(QString name)
StatechartGroupPtr getGroup()
QString getBasename() const
std::filesystem::path getBoostPathRelativeToGroup() const
void appendChild(StateTreeNodePtr child)
std::filesystem::path getBoostPath(std::filesystem::path parentPath) const
std::filesystem::path getAbsoluteBoostPath() const
armarx::statechartmodel::StatePtr getState() const
double a(double t, double a0, double j)
std::filesystem::path getBoostHFilePath(Path pathType=Path::Absolute) const
StateTreeNodePtr getClosestParentFolderOrGroupNode()
std::filesystem::path getBoostGeneratedHFilePath(Path pathType=Path::Absolute) const
void setPublic(bool isPublic)
StateTreeNodePtr child(int row)
static bool CheckNodeName(QString name)
bool getCppExists() const
void removeChild(StateTreeNodePtr child)
std::shared_ptr< StatechartGroup > StatechartGroupPtr
StateTreeNode(QString display, QString basename, NodeType nodeType, StateTreeNodePtr parentNode, StatechartGroupPtr parentGroup, bool stateIsPublic)
QVector< StateTreeNodePtr > getAllSubNodesRecursively() const
QList< StateTreeNodePtr > getChildren() const
QString getDisplay() const
StateTreeNodePtr getParent() const
std::shared_ptr< State > StatePtr
int getNestingLevelRelativeToGroup()
std::filesystem::path getBoostCppFilePath(Path pathType=Path::Absolute) const
This file offers overloads of toIce() and fromIce() functions for STL container types.