3 * @file Options_Parser.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
8 #ifndef TAO_Notify_Tests_OPTIONS_PARSER_H
9 #define TAO_Notify_Tests_OPTIONS_PARSER_H
10 #include /**/ "ace/pre.h"
12 #include "notify_test_export.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "orbsvcs/CosNotificationC.h"
19 #include "ace/Arg_Shifter.h"
22 * @class TAO_Notify_Tests_Options_Parser
24 * @brief Common Options parsing code.
26 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Options_Parser
30 TAO_Notify_Tests_Options_Parser ();
33 ~TAO_Notify_Tests_Options_Parser ();
35 /// Populates <qos> with options apecified in <arg_shifter>
36 void execute (CosNotification::QoSProperties
& qos
, ACE_Arg_Shifter
& arg_shifter
);
38 /// Populates <added> and <removed> with options apecified in <arg_shifter>
39 void execute (CosNotification::EventTypeSeq
& added
, CosNotification::EventTypeSeq
& removed
, ACE_Arg_Shifter
& arg_shifter
);
42 #include /**/ "ace/post.h"
43 #endif /* TAO_Notify_Tests_OPTIONS_PARSER_H */