xml::Optional example added end extended

This commit is contained in:
Marc Wäckerlin
2009-05-06 07:22:21 +00:00
parent 2860cdf5ec
commit 5b541b72a8
2 changed files with 4 additions and 3 deletions

View File

@@ -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;

View File

@@ -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