| 20 | explicit cmArchiveWriteOptional(T val) { this->Set(val); } |
| 21 | |
| 22 | void Set(T val) |
| 23 | { |
| 24 | this->IsValueSet = true; |
| 25 | this->Value = val; |
| 26 | } |
| 27 | void Clear() { this->IsValueSet = false; } |
| 28 | bool IsSet() const { return this->IsValueSet; } |
| 29 | T Get() const { return this->Value; } |
no outgoing calls
no test coverage detected