HPCToolkit
Prof::Struct::ANodeSortedIterator Class Reference

#include <Struct-TreeIterator.hpp>

Collaboration diagram for Prof::Struct::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 cmpById (const void *x, const void *y)
 
static cmp_fptr_t cmpByMetric (uint mId)
 
static int cmpByMetric_fn (const void *x, const void *y)
 

Static Public Attributes

static int cmpByMetric_mId = -1
 

Private Attributes

WordSet scopes
 
WordSetSortedIteratorptrSetIt
 

Detailed Description

Definition at line 240 of file Struct-TreeIterator.hpp.

Member Typedef Documentation

◆ cmp_fptr_t

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

Definition at line 243 of file Struct-TreeIterator.hpp.

Constructor & Destructor Documentation

◆ ANodeSortedIterator()

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

Definition at line 134 of file Struct-TreeIterator.cpp.

Here is the call graph for this function:

◆ ~ANodeSortedIterator()

Prof::Struct::ANodeSortedIterator::~ANodeSortedIterator ( )
inline

Definition at line 265 of file Struct-TreeIterator.hpp.

Member Function Documentation

◆ cmpById()

int Prof::Struct::ANodeSortedIterator::cmpById ( const void *  x,
const void *  y 
)
static

Definition at line 179 of file Struct-TreeIterator.cpp.

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

◆ cmpByLine()

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

Definition at line 169 of file Struct-TreeIterator.cpp.

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

◆ cmpByMetric()

static cmp_fptr_t Prof::Struct::ANodeSortedIterator::cmpByMetric ( uint  mId)
inlinestatic

Definition at line 250 of file Struct-TreeIterator.hpp.

◆ cmpByMetric_fn()

int Prof::Struct::ANodeSortedIterator::cmpByMetric_fn ( const void *  x,
const void *  y 
)
static

Definition at line 190 of file Struct-TreeIterator.cpp.

Here is the call graph for this function:

◆ cmpByName()

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

Definition at line 160 of file Struct-TreeIterator.cpp.

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

◆ current()

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

Definition at line 271 of file Struct-TreeIterator.hpp.

Here is the caller graph for this function:

◆ dumpAndReset()

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

◆ operator++()

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

Definition at line 281 of file Struct-TreeIterator.hpp.

◆ reset()

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

Definition at line 287 of file Struct-TreeIterator.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ cmpByMetric_mId

int Prof::Struct::ANodeSortedIterator::cmpByMetric_mId = -1
static

Definition at line 256 of file Struct-TreeIterator.hpp.

◆ ptrSetIt

WordSetSortedIterator* Prof::Struct::ANodeSortedIterator::ptrSetIt
private

Definition at line 297 of file Struct-TreeIterator.hpp.

◆ scopes

WordSet Prof::Struct::ANodeSortedIterator::scopes
private

Definition at line 296 of file Struct-TreeIterator.hpp.


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