[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5048] Rename a function in anticipation of refactoring
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5048] Rename a function in anticipation of refactoring |
Date: |
Wed, 21 Jul 2010 16:12:56 +0000 |
Revision: 5048
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5048
Author: chicares
Date: 2010-07-21 16:12:56 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
Rename a function in anticipation of refactoring
Modified Paths:
--------------
lmi/trunk/basic_values.hpp
lmi/trunk/ihs_basicval.cpp
Modified: lmi/trunk/basic_values.hpp
===================================================================
--- lmi/trunk/basic_values.hpp 2010-07-21 14:02:31 UTC (rev 5047)
+++ lmi/trunk/basic_values.hpp 2010-07-21 16:12:56 UTC (rev 5048)
@@ -302,7 +302,6 @@
// Invariant data.
void SetPermanentInvariants();
- void SetLowestPremiumTaxLoad();
void TestPremiumTaxLoadConsistency();
void SetMaxSurvivalDur();
double MaxSurvivalDur;
@@ -375,6 +374,8 @@
bool PremiumTaxLoadIsTieredInPremiumTaxState_;
private:
+ void SetPremiumTaxParameters();
+
double GetModalPrem
(int a_year
,mcenum_mode a_mode
Modified: lmi/trunk/ihs_basicval.cpp
===================================================================
--- lmi/trunk/ihs_basicval.cpp 2010-07-21 14:02:31 UTC (rev 5047)
+++ lmi/trunk/ihs_basicval.cpp 2010-07-21 16:12:56 UTC (rev 5048)
@@ -247,7 +247,7 @@
DeathBfts_ .reset(new death_benefits (GetLength(), yare_input_));
// Outlay requires only input; it might someday use interest rates.
Outlay_ .reset(new modal_outlay (yare_input_));
- SetLowestPremiumTaxLoad();
+ SetPremiumTaxParameters();
Loads_ .reset(new Loads (*this));
// The target premium can't be ascertained yet if specamt is
@@ -323,7 +323,7 @@
// DeathBfts_ .reset(new death_benefits (GetLength(), yare_input_));
// Outlay requires only input; it might someday use interest rates.
// Outlay_ .reset(new modal_outlay (yare_input_));
- SetLowestPremiumTaxLoad();
+ SetPremiumTaxParameters();
Loads_ .reset(new Loads (*this));
SetPermanentInvariants();
@@ -843,8 +843,11 @@
set_rounding_rule(round_interest_rate_7702_,
RoundingRules_->datum("RoundIntRate7702"));
}
-//============================================================================
-void BasicValues::SetLowestPremiumTaxLoad()
+/// Set all parameters that depend on premium-tax state.
+///
+/// (For the nonce, state of jurisdiction is used instead.)
+
+void BasicValues::SetPremiumTaxParameters()
{
LMI_ASSERT(Database_ .get());
LMI_ASSERT(StratifiedCharges_.get());
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5048] Rename a function in anticipation of refactoring,
Greg Chicares <=