cpptcl.cc
// helper for finding call policies - returns true when found
helper for finding call policies - returns true when found
helper for finding call policies - returns true when found
bool find_policies(Tcl_Interp *interp, string const &cmdName,
     policies_interp_map::iterator &piti)
{
     policies_map::iterator pit = gdb_->call_policies.find(interp);
     if (pit == gdb_->call_policies.end())
     {
          return false;
     }
     piti = pit->second.find(cmdName);
     return piti != pit->second.end();
}
bool find_policies ( Tcl_Interp * interp , string const & cmdName , policies_interp_map :: iterator & piti ) { policies_map :: iterator pit = gdb_ -> call_policies . find ( interp ) ; if ( pit == gdb_ -> call_policies . end ( ) ) { return false ; } piti = pit -> second . find ( cmdName ) ; return piti != pit -> second . end ( ) ; }
helper for finding call policies - returns true when found
helper for finding call policies - returns true when found