Commit bd3fe95d authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix issue for SSC Mode

parent 999c11f0
......@@ -43,6 +43,10 @@ void SscMode::validate() {
// TODO: implement validation
}
void SscMode::set_value(std::string value) { this->value = value; }
void SscMode::get_value(std::string &value) const { value = this->value; }
std::string SscMode::get_value() const { return value; }
void to_json(nlohmann::json &j, const SscMode &o) { j = o.get_value(); }
void from_json(const nlohmann::json &j, SscMode &o) {
......
......@@ -52,6 +52,9 @@ class SscMode {
virtual ~SscMode();
void validate();
void set_value(std::string value);
void get_value(std::string &value) const;
std::string get_value() const;
/////////////////////////////////////////////
/// SscMode members
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment