CppParser
Loading...
Searching...
No Matches
cpptypetree.h File Reference
#include "cppast.h"
#include <map>
#include <set>
Include dependency graph for cpptypetree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CppObjSetCmp
 
struct  CppTypeTreeNode
 A node in a CppTypeTree. More...
 

Typedefs

using CppTypeTree = std::map< std::string, CppTypeTreeNode >
 Represents the tree of types in a C++ program. More...
 
using CppObjSet = std::set< const CppObj *, CppObjSetCmp >
 

Typedef Documentation

◆ CppObjSet

using CppObjSet = std::set<const CppObj*, CppObjSetCmp>

Definition at line 55 of file cpptypetree.h.

◆ CppTypeTree

using CppTypeTree = std::map<std::string, CppTypeTreeNode>

Represents the tree of types in a C++ program.

All C++ types of a program can be arranged in form of a tree. The root of the tree is the global namespace which contains other compound objects like namespace, class, struct, etc. And each of those compound object can form another branch of tree.

Note
This tree has no relation with inheritance hierarchy.

Definition at line 41 of file cpptypetree.h.