CppParser
Loading...
Searching...
No Matches
CppTypeTreeNode Struct Reference

A node in a CppTypeTree. More...

#include <cpptypetree.h>

Collaboration diagram for CppTypeTreeNode:
Collaboration graph

Public Member Functions

 CppTypeTreeNode ()
 
bool has (const CppObj *cppObj) const
 
const CppObjgetObjInSet (CppObjType objType) const
 

Public Attributes

CppObjSet cppObjSet
 This needs to be a set because same namespace can be defined multiple times. More...
 
CppTypeTree children
 
CppTypeTreeNodeparent
 

Detailed Description

A node in a CppTypeTree.

Definition at line 59 of file cpptypetree.h.

Constructor & Destructor Documentation

◆ CppTypeTreeNode()

CppTypeTreeNode::CppTypeTreeNode ( )
inline

Definition at line 70 of file cpptypetree.h.

Member Function Documentation

◆ getObjInSet()

const CppObj * CppTypeTreeNode::getObjInSet ( CppObjType  objType) const
inline

Definition at line 87 of file cpptypetree.h.

Here is the call graph for this function:

◆ has()

bool CppTypeTreeNode::has ( const CppObj cppObj) const
inline

Definition at line 75 of file cpptypetree.h.

Member Data Documentation

◆ children

CppTypeTree CppTypeTreeNode::children

Definition at line 67 of file cpptypetree.h.

◆ cppObjSet

CppObjSet CppTypeTreeNode::cppObjSet

This needs to be a set because same namespace can be defined multiple times.

But members of all those definition will belong to single namespace. Also, a class can be forward declared before full definition.

Definition at line 66 of file cpptypetree.h.

◆ parent

CppTypeTreeNode* CppTypeTreeNode::parent

Definition at line 68 of file cpptypetree.h.


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