Template Class Tree

Nested Relationships

Nested Types

Class Documentation

template<typename T>
class systemc_clang::Tree

Public Types

typedef TreeNode<T> *TreeNodePtr
typedef std::vector<TreeNodePtr> VectorTreePtr

Public Functions

inline Tree()
inline Tree(const Tree &from)
inline ~Tree()
inline void dump()
inline std::size_t size() const
inline void setRoot(const TreeNodePtr from)
inline const TreeNodePtr getRoot() const
inline bool foundNode(TreeNodePtr node) const
inline bool hasChildren(TreeNodePtr node)
inline const VectorTreePtr &getChildren(TreeNodePtr node)
inline TreeNodePtr addNode(T data)
inline void addEdge(const TreeNodePtr from, const TreeNodePtr to)
inline void resetDiscovered()
inline std::string bft(TreeNodePtr root)
inline std::string dft(TreeNodePtr root = nullptr)
inline const_dft_iterator begin() const
inline const_dft_iterator end() const
inline dft_iterator begin()
inline dft_iterator end()
class const_dft_iterator

Public Types

typedef std::vector<TreeNodePtr> *TreeDFTPtr

Public Functions

inline const_dft_iterator(Tree<T> *tree, std::size_t pos)
inline const TreeNodePtr &operator*()
inline const_dft_iterator &operator++()
inline const_dft_iterator begin()
inline const_dft_iterator end()
inline bool operator!=(const const_dft_iterator &it)
class dft_iterator

Public Types

typedef std::vector<TreeNodePtr> *TreeDFTPtr

Public Functions

inline dft_iterator(Tree<T> *tree, std::size_t pos)
inline TreeNodePtr &operator*()
inline dft_iterator &operator++()
inline dft_iterator begin()
inline dft_iterator end()
inline bool operator!=(const dft_iterator &it)