34 void set_code(
const string &code) { _code = code; }
85 void set_encoding(
const string &encoding) { _encoding = encoding; }
97 void set_data(
const string &data) { _data = data; }
166 if (value ==
"sunrise") {
169 }
else if (value ==
"landrush") {
172 }
else if (value ==
"claims") {
175 }
else if (value ==
"open") {
178 }
else if (value ==
"custom") {
227 void set_name(
const string &name) { _name = name; }
252 #endif // __LAUNCH_H__
LaunchPhase(const Value phase)
Constructor used when the phase is not CUSTOM.
Definition: Launch.H:195
void set_phase(const Value phase)
Sets the launch phase.
Definition: Launch.H:215
EPP CodeMark Class.
Definition: Launch.H:21
EPP EncodedSignedMark Class.
Definition: Launch.H:72
void reset()
Reset object attributes.
Definition: SMD.H:1314
EPP Launch Phase Class.
Definition: Launch.H:121
EPP SMDMark Class.
Definition: SMD.H:1244
void set_mark(const SMDMark &mark)
Sets the mark information.
Definition: Launch.H:46
void reset()
Reset object attributes.
Definition: Launch.H:106
void set_data(const string &data)
Sets the signed mark encoded data.
Definition: Launch.H:97
SMDMark get_mark() const
Returns the mark information.
Definition: Launch.H:52
EncodedSignedMark()
Default constructor.
Definition: Launch.H:76
static string toStr(const Value value)
Convert phase to text format.
Definition: Launch.H:139
Value
Possible phase values.
Definition: Launch.H:125
void reset()
Reset object attributes.
Definition: Launch.H:236
LaunchPhase(const string &name)
Constructor used when the phase is CUSTOM.
Definition: Launch.H:205
Value get_phase() const
Returns the launch phase.
Definition: Launch.H:221
void set_name(const string &name)
Sets the launch phase name when the phase is CUSTOM.
Definition: Launch.H:227
string get_name() const
Returns the launch phase name when the phase is CUSTOM.
Definition: Launch.H:233
void set_code(const string &code)
Sets the code used to validate the information.
Definition: Launch.H:34
string get_code() const
Returns the code used to validate the information.
Definition: Launch.H:40
string get_data() const
Returns the signed mark encoded data.
Definition: Launch.H:103
void set_encoding(const string &encoding)
Sets the encoding of the data.
Definition: Launch.H:85
LaunchPhase()
Default constructor.
Definition: Launch.H:186
static Value fromStr(const string &value)
Convert text phase to value.
Definition: Launch.H:164
CodeMark()
Default constructor.
Definition: Launch.H:25
void reset()
Reset object attributes.
Definition: Launch.H:55
string get_encoding() const
Returns the encoding of the data.
Definition: Launch.H:91