Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / lib / Options_Parser.h
blobecc83844eb01c9cbf7456aeb017fc8953d471873
1 /* -*- C++ -*- */
2 /**
3 * @file Options_Parser.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
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)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "orbsvcs/CosNotificationC.h"
19 #include "ace/Arg_Shifter.h"
21 /**
22 * @class TAO_Notify_Tests_Options_Parser
24 * @brief Common Options parsing code.
26 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Options_Parser
28 public:
29 /// Constructor
30 TAO_Notify_Tests_Options_Parser ();
32 /// Destructor
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 */