libepp_nicbr
LaunchInfoCmd.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id$ */
7 #ifndef __LAUNCH_INFO_CMD_H__
8 #define __LAUNCH_INFO_CMD_H__
9 
10 #include <string>
11 
12 #include "Launch.H"
13 
14 using std::string;
15 
16 LIBEPP_NICBR_NS_BEGIN
17 
20 {
21 public:
22  // Default constructor
24  {
25  reset();
26  }
27 
29 
32  void set_includeMark(const bool includeMark) { _includeMark = includeMark; }
33 
35 
38  bool is_markIncluded() const { return _includeMark; }
39 
41 
44  void set_phase(const LaunchPhase &phase) { _phase = phase; }
45 
47 
50  LaunchPhase get_phase() const { return _phase; }
51 
53 
56  void set_applicationId(const string &applicationId) { _applicationId = applicationId; }
57 
59 
62  string get_applicationId() const { return _applicationId; }
63 
65  void reset()
66  {
67  _includeMark = false;
68  _phase.reset();
69  _applicationId.clear();
70  }
71 
72 private:
74  bool _includeMark;
75 
77  LaunchPhase _phase;
78 
80  string _applicationId;
81 };
82 
83 LIBEPP_NICBR_NS_END
84 
85 #endif // __LAUNCH_INFO_CMD_H__
EPP Launch Phase Class.
Definition: Launch.H:121
LaunchPhase get_phase() const
Returns the phase of the launch.
Definition: LaunchInfoCmd.H:50
void reset()
Reset object attributes.
Definition: LaunchInfoCmd.H:65
void set_phase(const LaunchPhase &phase)
Sets the phase of the launch.
Definition: LaunchInfoCmd.H:44
void reset()
Reset object attributes.
Definition: Launch.H:236
EPP LaunchInfoCmd Class.
Definition: LaunchInfoCmd.H:19
void set_applicationId(const string &applicationId)
Sets the application identifier of the Launch Application.
Definition: LaunchInfoCmd.H:56
bool is_markIncluded() const
Returns whether or not to include the mark in the response.
Definition: LaunchInfoCmd.H:38
void set_includeMark(const bool includeMark)
Sets whether or not to include the mark in the response.
Definition: LaunchInfoCmd.H:32
string get_applicationId() const
Returns the application identifier of the Launch Application.
Definition: LaunchInfoCmd.H:62
EPP Launch Phase.