[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5505] Expunge a disused member function
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5505] Expunge a disused member function |
Date: |
Sat, 23 Jun 2012 12:15:48 +0000 |
Revision: 5505
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5505
Author: chicares
Date: 2012-06-23 12:15:43 +0000 (Sat, 23 Jun 2012)
Log Message:
-----------
Expunge a disused member function
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/input.cpp
lmi/trunk/input.hpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2012-06-19 07:13:40 UTC (rev 5504)
+++ lmi/trunk/ChangeLog 2012-06-23 12:15:43 UTC (rev 5505)
@@ -30348,3 +30348,10 @@
version.hpp
Designate release candidate.
+20120623T1215Z <address@hidden> [578]
+
+ input.cpp
+ input.hpp
+Expunge a disused member function: xml input, unlike binary, is easily
+differenced with external tools.
+
Modified: lmi/trunk/input.cpp
===================================================================
--- lmi/trunk/input.cpp 2012-06-19 07:13:40 UTC (rev 5504)
+++ lmi/trunk/input.cpp 2012-06-23 12:15:43 UTC (rev 5505)
@@ -317,30 +317,6 @@
int Input::inforce_year () const {return InforceYear .value();}
int Input::effective_year () const {return EffectiveDate.value().year();}
-std::string Input::differing_fields(Input const& z) const
-{
- std::ostringstream oss;
- oss << "Fields that differ:\n";
- std::vector<std::string>::const_iterator i;
- for(i = member_names().begin(); i != member_names().end(); ++i)
- {
- std::string const s0 = operator[](*i).str();
- std::string const s1 = z[*i].str();
- if(s0 != s1)
- {
- oss
- << " name " << *i
- << ": '" << s0
- << "[" << s0.size() << "]"
- << "' versus '" << s1
- << "[" << s1.size() << "]"
- << "'\n"
- ;
- }
- }
- return oss.str();
-}
-
void Input::AscribeMembers()
{
ascribe("IssueAge" , &Input::IssueAge
);
Modified: lmi/trunk/input.hpp
===================================================================
--- lmi/trunk/input.hpp 2012-06-19 07:13:40 UTC (rev 5504)
+++ lmi/trunk/input.hpp 2012-06-23 12:15:43 UTC (rev 5505)
@@ -148,8 +148,6 @@
std::vector<std::string> RealizeAllSequenceInput(bool report_errors =
true);
- std::string differing_fields(Input const&) const;
-
static Input magically_rectify(Input const&);
private:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5505] Expunge a disused member function,
Greg Chicares <=