text: .//============================================================================
  .// $RCSfile: t.smt_sr.multi_many_astob1where.c,v $
  .//
  .// Notice:
  .// (C) Copyright 1998-2013 Mentor Graphics Corporation
  .//     All rights reserved.
  .//
  .// This document contains confidential and proprietary information and
  .// property of Mentor Graphics Corp.  No part of this document may be
  .// reproduced without the express written permission of Mentor Graphics Corp.
  .//============================================================================
  ${ws}{${te_lnk.te_classGeneratedName} * selected = ${te_lnk.left}->${te_lnk.linkage};
  ${ws}if ( ( 0 != selected ) && ${te_select_related.where_clause} ) {
  ${ws}  if ( ! ${te_set.module}${te_set.contains}( (${te_set.scope}${te_set.base_class} *) ${te_select_related.result_var}, selected ) ) {
  ${ws}    ${te_set.module}${te_set.insert_element}( (${te_set.scope}${te_set.base_class} *) ${te_select_related.result_var}, selected );
  ${ws}}}}
  