127 cmp(uint64_t x, uint64_t y)
148 int cmp_lmId = x_dyn->
lmId() - y_dyn->
lmId();
155 if (cmp_ip_real != 0) {
182 os <<
"ANodeSortedIterator: " << endl;
196 return x->
name().compare(y->
name());
226 int cmp_sid =
cmp(x_id, y_id);
232 int cmp_ty = (int)x->
type() - (int)y->
type();
241 if (x_dyn && y_dyn) {
250 int cmp_id = (int)x->
id() - (int)y->
id();
258 if (x_parent != y_parent) {
265 DIAG_Die(
"Prof::CCT::ANodeSortedIterator::cmpByStructureInfo: cannot compare:" 299 if (x_dyn && y_dyn) {
308 int cmp_sid =
cmp(x_id, y_id);
315 int cmp_ty = (int)x->
type() - (int)y->
type();
323 int cmp_id = (int)x->
id() - (int)y->
id();
330 DIAG_Die(
"Prof::CCT::ANodeSortedIterator::cmpByDynInfo: cannot compare:" 356 os <<
"ANodeSortedChildIterator: " << endl;
virtual std::string toStringMe(uint oFlags=0) const
static ANodeTy IntToANodeType(long i)
ANodeSortedChildIterator(const ANode *root, ANodeSortedIterator::cmp_fptr_t compare_fn, const ANodeFilter *filterFunc=NULL)
static const uint Id_NULL
ANodeSortedIterator(const ANode *node, cmp_fptr_t compare_fn, const ANodeFilter *filterFunc=NULL, bool leavesOnly=true)
static int cmpByLine(const void *x, const void *y)
int(* cmp_fptr_t)(const void *x, const void *y)
static int cmp(uint64_t x, uint64_t y)
void dumpAndReset(std::ostream &os=std::cerr)
static int cmpByStructureInfo(const void *x, const void *y)
WordSetSortedIterator * ptrSetIt
virtual const std::string & name() const
static int cmpByDynInfo(const void *x, const void *y)
void dumpAndReset(std::ostream &os=std::cerr)
int ANodeLineComp(ANode *x, ANode *y)
LoadMap::LMId_t lmId() const
void Add(unsigned long entry)
const char * DIAG_UnexpectedInput
static int cmpByDynInfoSpecial(const ADynNode *x_dyn, const ADynNode *y_dyn)
static int cmpByName(const void *x, const void *y)
bool HasANodeTy(const ANode &node, long type)
const ANodeFilter ANodeTyFilter[ANode::TyNUMBER]
static const std::string & ANodeTyToName(ANodeTy tp)