lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 87fd04e 2/5: Elaborate partial-mortality foot


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 87fd04e 2/5: Elaborate partial-mortality footnote
Date: Fri, 17 Apr 2020 15:01:34 -0400 (EDT)

branch: master
commit 87fd04e1c131cc0ea075466316fdce30c7628235
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Elaborate partial-mortality footnote
---
 product_data.cpp | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/product_data.cpp b/product_data.cpp
index 4c603ec..84d2f1a 100644
--- a/product_data.cpp
+++ b/product_data.cpp
@@ -508,9 +508,22 @@ static std::string const S_IllRegCertClient =
 
 static std::string const S_FnMaturityAge =
   "Maturity age: {{EndtAge}}.";
+
 static std::string const S_FnPartialMortality =
-  "Columns reflect mortality, initially {{PartMortTableMult[0]}}"
-  " of the {{PartMortTableName}} table.";
+  "Columns reflect mortality, beginning at {{PartMortTableMult[0]}}"
+  " of the {{PartMortTableName}} table,"
+  " with all deaths at the end of each year"
+  "{{#SurviveToExpectancy}}"
+  " and survival limited to life expectancy"
+  "{{/SurviveToExpectancy}}"
+  "{{#SurviveToYear}}"
+  " and survival limited to {{SurvivalMaxYear}} years"
+  "{{/SurviveToYear}}"
+  "{{#SurviveToAge}}"
+  " and survival limited to age {{SurvivalMaxAge}}"
+  "{{/SurviveToAge}}"
+  ".";
+
 static std::string const S_FnProspectus =
   "Must be preceded or accompanied by a prospectus.";
 static std::string const S_FnInitialSpecAmt =
@@ -903,6 +916,8 @@ sample2ipp::sample2ipp()
 sample2xyz::sample2xyz()
 {
     item("DatabaseFilename")           = glossed_string("sample2xyz.database");
+    // Exotica.
+    item("FnPartialMortality")         = S_FnPartialMortality;
 }
 } // Unnamed namespace.
 



reply via email to

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