HPCToolkit
NonUniformDegreeTreeNode Class Reference

#include <NonUniformDegreeTree.hpp>

Inheritance diagram for NonUniformDegreeTreeNode:
Collaboration diagram for NonUniformDegreeTreeNode:

Public Member Functions

 NonUniformDegreeTreeNode (NonUniformDegreeTreeNode *parent=0)
 
 NonUniformDegreeTreeNode (const NonUniformDegreeTreeNode &other)
 
NonUniformDegreeTreeNodeoperator= (const NonUniformDegreeTreeNode &other)
 
virtual ~NonUniformDegreeTreeNode ()
 
void link (NonUniformDegreeTreeNode *parent)
 
void linkBefore (NonUniformDegreeTreeNode *sibling)
 
void linkAfter (NonUniformDegreeTreeNode *sibling)
 
void unlink ()
 
uint ancestorCount () const
 
uint childCount () const
 
bool isLeaf () const
 
uint maxDepth ()
 
uint maxDepth (uint parentDepth)
 
virtual std::string toString (uint oFlags=0, const char *pfx="") const
 
NonUniformDegreeTreeNodeParent () const
 
NonUniformDegreeTreeNodeNextSibling () const
 
NonUniformDegreeTreeNodePrevSibling () const
 
NonUniformDegreeTreeNodeFirstChild () const
 
NonUniformDegreeTreeNodeLastChild () const
 

Protected Member Functions

void zeroLinks ()
 

Protected Attributes

NonUniformDegreeTreeNodem_parent
 
NonUniformDegreeTreeNodem_children
 
NonUniformDegreeTreeNodem_next_sibling
 
NonUniformDegreeTreeNodem_prev_sibling
 
uint m_child_count
 

Friends

class NonUniformDegreeTreeNodeChildIterator
 
class NonUniformDegreeTreeIterator
 

Detailed Description

Definition at line 96 of file NonUniformDegreeTree.hpp.

Constructor & Destructor Documentation

◆ NonUniformDegreeTreeNode() [1/2]

NonUniformDegreeTreeNode::NonUniformDegreeTreeNode ( NonUniformDegreeTreeNode parent = 0)
inline

Definition at line 103 of file NonUniformDegreeTree.hpp.

Here is the call graph for this function:

◆ NonUniformDegreeTreeNode() [2/2]

NonUniformDegreeTreeNode::NonUniformDegreeTreeNode ( const NonUniformDegreeTreeNode other)
inline

Definition at line 109 of file NonUniformDegreeTree.hpp.

◆ ~NonUniformDegreeTreeNode()

virtual NonUniformDegreeTreeNode::~NonUniformDegreeTreeNode ( )
inlinevirtual

Definition at line 132 of file NonUniformDegreeTree.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ ancestorCount()

uint NonUniformDegreeTreeNode::ancestorCount ( ) const

Definition at line 183 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ childCount()

uint NonUniformDegreeTreeNode::childCount ( ) const
inline

Definition at line 163 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ FirstChild()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::FirstChild ( ) const
inline

Definition at line 197 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ isLeaf()

bool NonUniformDegreeTreeNode::isLeaf ( ) const
inline

Definition at line 167 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ LastChild()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::LastChild ( ) const
inline

Definition at line 201 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ link()

void NonUniformDegreeTreeNode::link ( NonUniformDegreeTreeNode parent)

Definition at line 97 of file NonUniformDegreeTree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ linkAfter()

void NonUniformDegreeTreeNode::linkAfter ( NonUniformDegreeTreeNode sibling)

Definition at line 117 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ linkBefore()

void NonUniformDegreeTreeNode::linkBefore ( NonUniformDegreeTreeNode sibling)

Definition at line 138 of file NonUniformDegreeTree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ maxDepth() [1/2]

uint NonUniformDegreeTreeNode::maxDepth ( )
inline

Definition at line 172 of file NonUniformDegreeTree.hpp.

Here is the call graph for this function:

◆ maxDepth() [2/2]

uint NonUniformDegreeTreeNode::maxDepth ( uint  parentDepth)

Definition at line 196 of file NonUniformDegreeTree.cpp.

Here is the call graph for this function:

◆ NextSibling()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::NextSibling ( ) const
inline

Definition at line 189 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ operator=()

NonUniformDegreeTreeNode& NonUniformDegreeTreeNode::operator= ( const NonUniformDegreeTreeNode other)
inline

Definition at line 115 of file NonUniformDegreeTree.hpp.

◆ Parent()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::Parent ( ) const
inline

Definition at line 185 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ PrevSibling()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::PrevSibling ( ) const
inline

Definition at line 193 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ toString()

std::string NonUniformDegreeTreeNode::toString ( uint  oFlags = 0,
const char *  pfx = "" 
) const
virtual

Reimplemented in Prof::Struct::ANode.

Definition at line 216 of file NonUniformDegreeTree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unlink()

void NonUniformDegreeTreeNode::unlink ( )

Definition at line 152 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ zeroLinks()

void NonUniformDegreeTreeNode::zeroLinks ( )
inlineprotected

Definition at line 207 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ NonUniformDegreeTreeIterator

friend class NonUniformDegreeTreeIterator
friend

Definition at line 228 of file NonUniformDegreeTree.hpp.

◆ NonUniformDegreeTreeNodeChildIterator

Definition at line 227 of file NonUniformDegreeTree.hpp.

Member Data Documentation

◆ m_child_count

uint NonUniformDegreeTreeNode::m_child_count
protected

Definition at line 225 of file NonUniformDegreeTree.hpp.

◆ m_children

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_children
protected

Definition at line 222 of file NonUniformDegreeTree.hpp.

◆ m_next_sibling

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_next_sibling
protected

Definition at line 223 of file NonUniformDegreeTree.hpp.

◆ m_parent

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_parent
protected

Definition at line 221 of file NonUniformDegreeTree.hpp.

◆ m_prev_sibling

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_prev_sibling
protected

Definition at line 224 of file NonUniformDegreeTree.hpp.


The documentation for this class was generated from the following files: