#30 <data/> and return boolean result as integer

open
nobody
None
5
2011-10-27
2011-10-27
navigator
No

i have just add support to <data/> only, the others I will try to do it later.

Discussion

  • navigator

    navigator - 2011-10-27

    for boolean part

    --- XmlRpcValue_org.h 2003-03-06 10:23:34.000000000 +0800
    +++ XmlRpcValue.h 2011-10-27 09:31:42.000000000 +0800
    @@ -77,6 +77,7 @@

    // Operators
    XmlRpcValue& operator=(XmlRpcValue const& rhs);
    + XmlRpcValue& operator=(bool const& rhs) { return operator=(XmlRpcValue(rhs)); }
    XmlRpcValue& operator=(int const& rhs) { return operator=(XmlRpcValue(rhs)); }
    XmlRpcValue& operator=(double const& rhs) { return operator=(XmlRpcValue(rhs)); }
    XmlRpcValue& operator=(const char* rhs) { return operator=(XmlRpcValue(std::string(rhs))); }

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks