HPCToolkit
Prof::CCT::ANodeSortedIterator Class Reference

#include <CCT-TreeIterator.hpp>

Collaboration diagram for Prof::CCT::ANodeSortedIterator:

Public Types

typedef int(* cmp_fptr_t) (const void *x, const void *y)
 

Public Member Functions

 ANodeSortedIterator (const ANode *node, cmp_fptr_t compare_fn, const ANodeFilter *filterFunc=NULL, bool leavesOnly=true)
 
 ~ANodeSortedIterator ()
 
ANodecurrent () const
 
void operator++ (int)
 
void reset ()
 
void dumpAndReset (std::ostream &os=std::cerr)
 

Static Public Member Functions

static int cmpByName (const void *x, const void *y)
 
static int cmpByLine (const void *x, const void *y)
 
static int cmpByStructureInfo (const void *x, const void *y)
 
static int cmpByDynInfo (const void *x, const void *y)
 

Private Attributes

WordSet scopes
 
WordSetSortedIteratorptrSetIt
 

Detailed Description

Definition at line 225 of file CCT-TreeIterator.hpp.

Member Typedef Documentation

◆ cmp_fptr_t

typedef int(* Prof::CCT::ANodeSortedIterator::cmp_fptr_t) (const void *x, const void *y)

Definition at line 228 of file CCT-TreeIterator.hpp.

Constructor & Destructor Documentation

◆ ANodeSortedIterator()

Prof::CCT::ANodeSortedIterator::ANodeSortedIterator ( const ANode node,
ANodeSortedIterator::cmp_fptr_t  compare_fn,
const ANodeFilter filterFunc = NULL,
bool  leavesOnly = true 
)

Definition at line 166 of file CCT-TreeIterator.cpp.

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

◆ ~ANodeSortedIterator()

Prof::CCT::ANodeSortedIterator::~ANodeSortedIterator ( )
inline

Definition at line 248 of file CCT-TreeIterator.hpp.

Member Function Documentation

◆ cmpByDynInfo()

int Prof::CCT::ANodeSortedIterator::cmpByDynInfo ( const void *  x,
const void *  y 
)
static

Definition at line 283 of file CCT-TreeIterator.cpp.

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

◆ cmpByLine()

int Prof::CCT::ANodeSortedIterator::cmpByLine ( const void *  x,
const void *  y 
)
static

Definition at line 201 of file CCT-TreeIterator.cpp.

Here is the call graph for this function:

◆ cmpByName()

int Prof::CCT::ANodeSortedIterator::cmpByName ( const void *  x,
const void *  y 
)
static

Definition at line 192 of file CCT-TreeIterator.cpp.

Here is the call graph for this function:

◆ cmpByStructureInfo()

int Prof::CCT::ANodeSortedIterator::cmpByStructureInfo ( const void *  x,
const void *  y 
)
static

Definition at line 210 of file CCT-TreeIterator.cpp.

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

◆ current()

ANode* Prof::CCT::ANodeSortedIterator::current ( ) const
inline

Definition at line 254 of file CCT-TreeIterator.hpp.

Here is the caller graph for this function:

◆ dumpAndReset()

void Prof::CCT::ANodeSortedIterator::dumpAndReset ( std::ostream &  os = std::cerr)
Here is the caller graph for this function:

◆ operator++()

void Prof::CCT::ANodeSortedIterator::operator++ ( int  )
inline

Definition at line 264 of file CCT-TreeIterator.hpp.

◆ reset()

void Prof::CCT::ANodeSortedIterator::reset ( )
inline

Definition at line 270 of file CCT-TreeIterator.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ ptrSetIt

WordSetSortedIterator* Prof::CCT::ANodeSortedIterator::ptrSetIt
private

Definition at line 280 of file CCT-TreeIterator.hpp.

◆ scopes

WordSet Prof::CCT::ANodeSortedIterator::scopes
private

Definition at line 279 of file CCT-TreeIterator.hpp.


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