Logo Search packages:      
Sourcecode: maria version File versions

class Transition* Net::getCallee ( const char *  name,
const class Transition except 
) [inline]

Get a callee

name name of the transition
except do not return this transition, search in parent instead
the transition, or 0 if not found

Definition at line 220 of file Net.h.

References myCalleeMap, myParent, and net.

Referenced by generateSync().

    for (const class Net* net = this;;) {
      TransitionMap::const_iterator i = net->myCalleeMap.find (name);
      if (i != net->myCalleeMap.end () && i->second != except)
      return i->second;
      else if (except && net == this && myParent)
      net = myParent;
    return 0;

Generated by  Doxygen 1.6.0   Back to index