Lines 1-4
Link Here
|
1 |
#include <iostream> |
|
|
2 |
/***************************************************************************** |
1 |
/***************************************************************************** |
3 |
value.cpp |
2 |
value.cpp |
4 |
****************************************************************************** |
3 |
****************************************************************************** |
Lines 622-634
Link Here
|
622 |
|
621 |
|
623 |
switch (nlCode) { |
622 |
switch (nlCode) { |
624 |
case value_string::nlCode_all: |
623 |
case value_string::nlCode_all: |
625 |
cerr << "Going to call xmlrpc_string_new_lp" << endl; |
|
|
626 |
cerr << "length = " << cppvalue.length() << ", value = " |
627 |
<< cppvalue.c_str() << endl; |
628 |
this->valueP = xmlrpc_string_new_lp(&env.env_c, |
624 |
this->valueP = xmlrpc_string_new_lp(&env.env_c, |
629 |
cppvalue.length(), |
625 |
cppvalue.length(), |
630 |
cppvalue.c_str()); |
626 |
cppvalue.c_str()); |
631 |
cerr << "Back from xmlrpc_string_new_lp" << endl; |
|
|
632 |
break; |
627 |
break; |
633 |
case value_string::nlCode_lf: |
628 |
case value_string::nlCode_lf: |
634 |
this->valueP = xmlrpc_string_new_lp_cr(&env.env_c, |
629 |
this->valueP = xmlrpc_string_new_lp_cr(&env.env_c, |
Lines 661-672
Link Here
|
661 |
|
656 |
|
662 |
value_string::value_string(std::string const& cppvalue) { |
657 |
value_string::value_string(std::string const& cppvalue) { |
663 |
|
658 |
|
664 |
cerr << "value_string constructor entered" << endl; |
|
|
665 |
cNewStringWrapper wrapper(cppvalue, nlCode_all); |
659 |
cNewStringWrapper wrapper(cppvalue, nlCode_all); |
666 |
cerr << "wrapper constructed" << endl; |
|
|
667 |
|
660 |
|
668 |
this->instantiate(wrapper.valueP); |
661 |
this->instantiate(wrapper.valueP); |
669 |
cerr << "value_string constructor exiting" << endl; |
|
|
670 |
} |
662 |
} |
671 |
|
663 |
|
672 |
|
664 |
|