Home » Community » Newbie corner » xmlize (xmlize 3 tag problem in 8148)
Re: xmlize [message #44949 is a reply to message #44948] |
Tue, 28 July 2015 15:18 |
|
deep
Messages: 263 Registered: July 2011 Location: Bangalore
|
Experienced Member |
|
|
In new version of "Xmlize.h" I see missing
template <class T> XmlIO operator()(const char *tag, const char *itemtag, T& var);
I am not sure from which version this change is there. In 8227 also it is List in place of operator()
template <class T> XmlIO operator()(const char *tag, const char *itemtag, T& var);
there is "List" in place of operator()
template <class T> XmlIO List(const char *tag, const char *itemtag, T& var);
With following changes to "Xmlize.h" one can get same functionality as per this thread
http:// www.ultimatepp.org/forums/index.php?t=msg&th=6032&go to=32484&#msg_32484
in class XmlIO
template <class T> XmlIO operator()(const char *tag, const char *itemtag, T& var);
In file
template <class T> XmlIO XmlIO::operator()(const char *tag, const char *itemtag, T& var) {
XmlIO n(*this, tag);
Xmlize(n, itemtag, var);
return *this;
}
Above lines are from Xmlize.h file from link.
Probably XmlIO List may be doing same thing. But don't know how to use it.
Warm Regards
Deepak
[Updated on: Tue, 28 July 2015 15:22] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu May 09 03:32:00 CEST 2024
Total time taken to generate the page: 0.01940 seconds
|