#include <CdbBdbPrintObjectTreeUserAction.hh>
Public Types | |
| enum | ActionType { ACTION_PROCEED, ACTION_STOP, ACTION_ERROR } |
| These values will be used to indicate the user's response. More... | |
Public Member Functions | |
| CdbBdbPrintObjectTreeUserAction (bool verboseMode=false, bool debugMode=false) | |
| The constructor. | |
| virtual | ~CdbBdbPrintObjectTreeUserAction () |
| The destructor. | |
| ActionType | action (const ooHandle(ooObj)&theInputH) |
| Let a user to make a decision on what has to be done next. | |
Protected Member Functions | |
| virtual ActionType | userAction (const ooHandle(ooObj)&theInputH) |
| Let a user to make a decision on what has to be done next (ACTUAL USER ACTION). | |
This base class has to implemented by users willing to control the "print object children" navigation in complex graphs.
IMPLEMENTATION NOTES:
(1) This class violates CDB API convention on the inclusion of "CdbBase/CdbCommon.hh" header file to avoid STD namespace conflicts of the kind described above.
Definition at line 22 of file CdbBdbPrintObjectTreeUserAction.hh.
|
|
These values will be used to indicate the user's response.
Definition at line 28 of file CdbBdbPrintObjectTreeUserAction.hh. |
|
||||||||||||
|
The constructor. Inityialize's the object's parameters. Definition at line 13 of file CdbBdbPrintObjectTreeUserAction.cc. |
|
|
The destructor. Moe details... Definition at line 19 of file CdbBdbPrintObjectTreeUserAction.cc. |
|
|
Let a user to make a decision on what has to be done next. This wrapper method takes the "about-to-be-printed" link on the input. Ths link is evaluated by the method to report what's the next action should be. The second parameter passed town to the operation is the current context description in which the link has to be evaluated. Here is the explanation of possible responses: ACTION_PROCEED : a caller has to proceed and print this node. ACTION_STOP : a caller should stop and not to propagate along this link. ACTION_ERROR : an error has happened inside the method. Normally the caller should stop printing any further links. HOW IT WORKS:
Definition at line 23 of file CdbBdbPrintObjectTreeUserAction.cc. References ACTION_ERROR, and userAction(). |
|
|
Let a user to make a decision on what has to be done next (ACTUAL USER ACTION). This method gets called only for valid objects. IMPLEMENTATION NOTE: In its default implementation this method would always return ACTION_PROCEED. This behaviour can be overriten by specific subclasses.
Definition at line 35 of file CdbBdbPrintObjectTreeUserAction.cc. References ACTION_PROCEED. Referenced by action(). |
1.3-rc3