Doxygen
Loading...
Searching...
No Matches
QhpSectionTree::Node Struct Reference
+ Collaboration diagram for QhpSectionTree::Node:

Public Types

enum class  Type { Root , Dir , Section }
 

Public Member Functions

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

Public Attributes

Type type
 
Nodeparent = nullptr
 
QCString title
 
QCString ref
 
std::vector< std::unique_ptr< Node > > children
 

Detailed Description

Definition at line 48 of file qhp.cpp.

Member Enumeration Documentation

◆ Type

enum class QhpSectionTree::Node::Type
strong
Enumerator
Root 
Dir 
Section 

Definition at line 50 of file qhp.cpp.

50{ Root, Dir, Section };

Constructor & Destructor Documentation

◆ Node() [1/3]

QhpSectionTree::Node::Node ( )
inline

Definition at line 52 of file qhp.cpp.

References parent, Root, and type.

Referenced by Node(), and Node().

◆ Node() [2/3]

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

Definition at line 54 of file qhp.cpp.

References Dir, Node(), parent, and type.

◆ Node() [3/3]

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

Definition at line 56 of file qhp.cpp.

57 : type(Type::Section), parent(parent_), title(title_), ref(ref_) {}
QCString title
Definition qhp.cpp:60

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

Member Data Documentation

◆ children

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

Definition at line 62 of file qhp.cpp.

Referenced by QhpSectionTree::traverse().

◆ parent

Node* QhpSectionTree::Node::parent = nullptr

Definition at line 59 of file qhp.cpp.

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: