[Echempp-devel] Experiment/ExcitationFunction excitationFunction.hpp, 1.35, 1.36
Status: Beta
Brought to you by:
berndspeiser
|
From: Bernd S. <ber...@us...> - 2007-05-14 15:38:29
|
Update of /cvsroot/echempp/Experiment/ExcitationFunction
In directory sc8-pr-cvs17:/tmp/cvs-serv31228/Experiment/ExcitationFunction
Modified Files:
excitationFunction.hpp
Log Message:
testing xml input failure
Index: excitationFunction.hpp
===================================================================
RCS file: /cvsroot/echempp/Experiment/ExcitationFunction/excitationFunction.hpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** excitationFunction.hpp 11 May 2007 14:50:50 -0000 1.35
--- excitationFunction.hpp 14 May 2007 15:38:19 -0000 1.36
***************
*** 276,280 ****
void save (BSUtilities::xmlw::XmlStream &os) const
{
! os << BSUtilities::xmlw::tag (TAG)
<< BSUtilities::xmlw::attr ("segmentNumber")
<< (_segments.size());
--- 276,280 ----
void save (BSUtilities::xmlw::XmlStream &os) const
{
! os << BSUtilities::xmlw::tag (ExcitationFunction::TAG)
<< BSUtilities::xmlw::attr ("segmentNumber")
<< (_segments.size());
***************
*** 283,287 ****
_segments[i]->save (os);
! os << BSUtilities::xmlw::endtag (TAG);
}
--- 283,287 ----
_segments[i]->save (os);
! os << BSUtilities::xmlw::endtag (ExcitationFunction::TAG);
}
***************
*** 330,337 ****
TiXmlElement *element = node.Element();
! std::cout << " Tag zum Vergleich: `" << TAG << "'" << std::endl;
std::cout << " in ef load, TAG: `" << element->ValueStr () << std::endl;
! if (element && (element->ValueStr() == TAG))
{
TiXmlNode *child = 0;
--- 330,337 ----
TiXmlElement *element = node.Element();
! std::cout << " Tag zum Vergleich: `" << ExcitationFunction::TAG << "'" << std::endl;
std::cout << " in ef load, TAG: `" << element->ValueStr () << std::endl;
! if (element && (element->ValueStr() == ExcitationFunction::TAG))
{
TiXmlNode *child = 0;
***************
*** 884,887 ****
--- 884,889 ----
TiXmlElement *element = node.Element();
+ std::cout << " Tag zum Vergleich: `" << ExcitationFunction::TAG << "'" << std::endl;
+ //std::cout << " in sd_ef load, TAG: `" << element->ValueStr () << std::endl;
if (element && (element->ValueStr() == Segments::Segment::TAG))
{
|