Feature #643
Xmlize default value
| Status: | Approved | Start date: | 01/12/2014 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Iñaki Zabala | % Done: | 0% | |
| Category: | Core | Spent time: | - | |
| Target version: | - |
Description
A possible idea to improve Xmlize/Serialize functions would be to add a default value to be used when no data is found loading the class.
It could be like this
void Xmlize(XmlIO &xml) {
xml
("MyString", myString, "Default value")
("MyDouble", myDouble, 1200.2)
;
}
History
#1 Updated by Miroslav Fidler over 11 years ago
- Status changed from New to Ready for QA
- Assignee changed from Miroslav Fidler to Iñaki Zabala
#2 Updated by Miroslav Fidler over 11 years ago
- Status changed from Ready for QA to Approved