Bazaar/PolyXML : updated test app

git-svn-id: svn://ultimatepp.org/upp/trunk@2872 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2010-11-27 16:20:05 +00:00
parent 4670c7a99e
commit 7ed1ac9106

View file

@ -72,7 +72,7 @@ void DumpArray(PolyXMLArray<Base> &polyArray)
Cerr() << " AnotherData = '" << ((OneMore &)polyArray[i]).AnotherData << "'\n";
Cerr() << " OneMoreData = '" << ((OneMore &)polyArray[i]).OneMoreData << "'\n";
}
else if(polyArray[i].IsA() == POLYXMLUNKNOWN)
else if(polyArray[i].IsA() == "*UNKNOWN*")
Cerr() << " Original class is '" << ((PolyXMLUnknown<Base> &)polyArray[i]).GetUnknownClassName() << "' -- STREAMED IN AS RAW XML\n";
else
Cerr() << "oops... known class, but I don't know how to handle it\n";