Main Page ? Class Hierarchy ? Compound List ? File List ? Compound Members ? File Members ?

FirstChoiceSelector Class Reference

Inheritance diagram for FirstChoiceSelector:

[legend]
Collaboration diagram for FirstChoiceSelector:

[legend]
List of all members.

Public Methods

Use *? operate (Use *ref_use, Use *new_use)

Member Function Documentation

Use * FirstChoiceSelector::operate (? Use *? ? ref_use,
Use *? ? new_use
)? [virtual]
?

Reimplemented from VersionSelector.

Definition at line 4286 of file cmt_use.cxx.

References Use::discard(), Use::done, and Use::undiscard().

04287 {
04288   ref_use->undiscard ();
04289   new_use->undiscard ();
04290 
04291   new_use->done = false; // Will read the new requirements
04292   if (ref_use != new_use) new_use->discard ();
04293   return (ref_use);
04294 }

The documentation for this class was generated from the following file:
Generated on Wed Jun 30 17:07:06 2004 for CMT by 1.2.18