Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » XmlNode Copy Constructor
Re: XmlNode Copy Constructor [message #10347 is a reply to message #10343] Tue, 03 July 2007 12:51 Go to previous messageGo to previous message
h3l1 is currently offline  h3l1
Messages: 28
Registered: August 2006
Location: Innsbruck, Austria
Promising Member
Sorry for my ignorance, but I don't actually know what a pick constructor is.

I tried to add a xmlnode to an arraymap with add. With mingw it works, but the ms compiler complains about it doesn't find a matching DeepCopyNew method.

I did the following:
loading an xmlfile and parsing it
  root=ParseXml(text);
  const XmlNode &node = root[TAG_NAME];
  for (int i = 0; i < node.GetCount(); i++)
    arraymap.add(node[i].GetTag(), node[i]);


Could you please provide an example how to use a pick constructor.
Edit: As far as I read in the manual the pick constructor delivers only an empty and fresh initialized object.

Thanks
Heli

[Updated on: Tue, 03 July 2007 13:11]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Make TimeStop "Moveable"?
Next Topic: inline UPP::int64 abs(UPP::int64 x)
Goto Forum:
  


Current Time: Fri Jul 18 13:26:12 CEST 2025

Total time taken to generate the page: 0.03990 seconds