Skip to main content

The Node Struct Reference

Declaration

struct QhpSectionTree::Node { ... }

Enumerations Index

enum classType { ... }

Public Constructors Index

Node ()
Node (Node *parent_)
Node (Node *parent_, const QCString &title_, const QCString &ref_)

Public Member Attributes Index

Typetype
Node *parent = nullptr
QCStringtitle
QCStringref
std::vector< std::unique_ptr< Node > >children

Definition at line 48 of file qhp.cpp.

Enumerations

Type

enum class QhpSectionTree::Node::Type
strong
Enumeration values
Root
Dir
Section

Definition at line 50 of file qhp.cpp.

50 enum class Type { Root, Dir, Section };

Public Constructors

Node()

QhpSectionTree::Node::Node ()
inline

Definition at line 52 of file qhp.cpp.

52 Node() : type(Type::Root), parent(nullptr) {}

References parent, Root and type.

Referenced by Node and Node.

Node()

QhpSectionTree::Node::Node (Node * parent_)
inline

Definition at line 54 of file qhp.cpp.

54 Node(Node *parent_) : type(Type::Dir), parent(parent_) {}

References Dir, Node, parent and type.

Node()

QhpSectionTree::Node::Node (Node * parent_, const QCString & title_, const QCString & ref_)
inline

Definition at line 56 of file qhp.cpp.

56 Node(Node *parent_, const QCString &title_,const QCString &ref_)
57 : type(Type::Section), parent(parent_), title(title_), ref(ref_) {}

References Node, parent, ref, Section, title and type.

Public Member Attributes

children

std::vector<std::unique_ptr<Node> > QhpSectionTree::Node::children

Definition at line 62 of file qhp.cpp.

62 std::vector<std::unique_ptr<Node>> children;

Referenced by QhpSectionTree::traverse.

parent

Node* QhpSectionTree::Node::parent = nullptr

Definition at line 59 of file qhp.cpp.

59 Node *parent = nullptr;

Referenced by Node, Node and Node.

ref

QCString QhpSectionTree::Node::ref

Definition at line 61 of file qhp.cpp.

Referenced by Node.

title

QCString QhpSectionTree::Node::title

Definition at line 60 of file qhp.cpp.

Referenced by Node.

type

Type QhpSectionTree::Node::type

Definition at line 58 of file qhp.cpp.

Referenced by Node, Node and Node.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus by Doxygen 1.14.0.