ibondiez / ticpp

Automatically exported from code.google.com/p/ticpp
0 stars 0 forks source link

ticpp::Node::GetValue not working as expected #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. int myval;
2. ticpp::Element::GetValue(&myval); // assume object

What is the expected output? What do you see instead?
Expected: The value (text) gets passed to myval.
What happens: An exception is thrown (cannot convert value).

What version of the product are you using? On what operating system?
r126, compiled with mingw 4.8 (comes with QT), Windows 7 64bit.

Please provide any additional information below.
GetValue gets the name of the Element/node instead of the value.
This works as expected with attributes though.

Original issue reported on code.google.com by wolfwin...@gmail.com on 9 Sep 2013 at 11:15