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

FirstChoiceSelector Class Reference

Inheritance diagram for FirstChoiceSelector

Inheritance graph
[legend]
Collaboration diagram for FirstChoiceSelector:

Collaboration graph
[legend]
List of all members.

Public Methods

Useoperate (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 2487 of file cmt_use.cxx.

02488 {
02489   ref_use->undiscard ();
02490   new_use->undiscard ();
02491 
02492   new_use->done = false; // Will read the new requirements
02493   if (ref_use != new_use) new_use->discard ();
02494   return (ref_use);
02495 }


The documentation for this class was generated from the following file:
Generated at Thu May 16 16:27:49 2002 for CMT by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000