xml::Optional example added end extended
This commit is contained in:
@@ -37,7 +37,7 @@ class B: public xml::Serialize {
|
|||||||
|
|
||||||
int main(int, char**) {
|
int main(int, char**) {
|
||||||
{ // Serialization as a member
|
{ // Serialization as a member
|
||||||
std::stringstream ss("<B/>");
|
std::stringstream ss("<B><a><txt>Only this text is given</txt></a></B>");
|
||||||
B b;
|
B b;
|
||||||
b.loadXml(ss);
|
b.loadXml(ss);
|
||||||
b.saveXml(std::cout)<<std::endl;
|
b.saveXml(std::cout)<<std::endl;
|
||||||
|
@@ -165,7 +165,7 @@ class MethodTrace {
|
|||||||
- most standard containers, but in their xml-form,
|
- most standard containers, but in their xml-form,
|
||||||
e.g. xml::List instead of @c std::list
|
e.g. xml::List instead of @c std::list
|
||||||
(xml::List inherits @c std::list)
|
(xml::List inherits @c std::list)
|
||||||
- Optional values through xml::Optional
|
- Optional values are supported through xml::Optional
|
||||||
- @c std::bitset, @c std::priority_queue, @c std::queue and
|
- @c std::bitset, @c std::priority_queue, @c std::queue and
|
||||||
@c std::stack are not implemented
|
@c std::stack are not implemented
|
||||||
- Polymorfic serialisation is not yet implemented
|
- Polymorfic serialisation is not yet implemented
|
||||||
@@ -1276,7 +1276,8 @@ namespace xml {
|
|||||||
interfaces to another container and don't allow random access
|
interfaces to another container and don't allow random access
|
||||||
(which is needed to store them).
|
(which is needed to store them).
|
||||||
|
|
||||||
@example list_serialization.cxx */
|
@example list_serialization.cxx
|
||||||
|
@example optional_serialization.cxx */
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
//! @cond INTERNAL
|
//! @cond INTERNAL
|
||||||
|
Reference in New Issue
Block a user