lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5301] Move a field to reflect an ancient change


From: Greg Chicares
Subject: [lmi-commits] [5301] Move a field to reflect an ancient change
Date: Fri, 21 Oct 2011 16:51:39 +0000

Revision: 5301
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5301
Author:   chicares
Date:     2011-10-21 16:51:38 +0000 (Fri, 21 Oct 2011)
Log Message:
-----------
Move a field to reflect an ancient change

Modified Paths:
--------------
    lmi/trunk/ihs_server7702io.cpp
    lmi/trunk/ihs_server7702io.hpp

Modified: lmi/trunk/ihs_server7702io.cpp
===================================================================
--- lmi/trunk/ihs_server7702io.cpp      2011-10-21 16:50:16 UTC (rev 5300)
+++ lmi/trunk/ihs_server7702io.cpp      2011-10-21 16:51:38 UTC (rev 5301)
@@ -124,6 +124,7 @@
     is >> z.OldTemporaryFlatDuration1;
     is >> z.NewTemporaryFlatDuration2;
     is >> z.OldTemporaryFlatDuration2;
+
     is >> z.TargetPremium; // Apparently this came at the end long ago.
 
     return is;
@@ -145,7 +146,6 @@
     os << ' ' << z.PremTaxLoadRate;
     os << ' ' << z.TieredAssetChargeRate;
     os << ' ' << z.LeastBenefitAmountEver;
-    os << ' ' << z.TargetPremium;
     os << ' ' << z.OldGuidelineLevelPremium;
     os << ' ' << z.OldGuidelineSinglePremium;
     os << ' ' << z.NewIssueAge;
@@ -202,6 +202,8 @@
     os << ' ' << z.NewTemporaryFlatDuration2;
     os << ' ' << z.OldTemporaryFlatDuration2;
 
+    os << ' ' << z.TargetPremium;
+
     os << std::endl;
     return os;
 }

Modified: lmi/trunk/ihs_server7702io.hpp
===================================================================
--- lmi/trunk/ihs_server7702io.hpp      2011-10-21 16:50:16 UTC (rev 5300)
+++ lmi/trunk/ihs_server7702io.hpp      2011-10-21 16:51:38 UTC (rev 5301)
@@ -45,7 +45,6 @@
     double           PremTaxLoadRate; // the rate actually charged as a 
premium load. Example: 0.02 means a 2% load. Used to determine whether any load 
reflected in \xA77702 calculations has changed.
     double           TieredAssetChargeRate; // the tiered rate actually 
charged against assets, reflecting the current tier. Example: 0.0050 means 
fifty basis points. Used to determine whether any load reflected in \xA77702 
calculations has changed.
     double           LeastBenefitAmountEver; // the lowest face amount ever 
used in \xA77702 calculations since the contract was issued; equal at issue to 
DB. The server will always calculate this but never store it. The client will 
always store it but never calculate it, except to set it equal to DB at issue.
-    double           TargetPremium; // the target premium. The client will 
always calculate and store it.
 
     // The names of the next several parameters begin with the prefix "Old" to 
indicate that they are evaluated before the day's transactions. Should an 
adjustable event occur, they describe the state of the contract before any 
transaction that might have caused the adjustable event. At issue, "Old" values 
are the contract's issue parameters.
     double           OldGuidelineLevelPremium; // as previously calculated by 
the server; 0.0 at issue.
@@ -109,6 +108,8 @@
     int              OldTemporaryFlatDuration1;
     int              NewTemporaryFlatDuration2;
     int              OldTemporaryFlatDuration2;
+
+    double           TargetPremium; // the target premium. The client will 
always calculate and store it.
 };
 
 std::istream& operator>> (std::istream& is, Server7702Input& z);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]