[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 2c62147 5/5: Shorten an ExcessivelyLongVariab
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 2c62147 5/5: Shorten an ExcessivelyLongVariableName |
Date: |
Wed, 15 Apr 2020 19:26:54 -0400 (EDT) |
branch: master
commit 2c6214745283627b6fe195e38e52583a614d388c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Shorten an ExcessivelyLongVariableName
---
ill_reg_narr_summary.mst | 2 +-
ledger_invariant.cpp | 2 +-
ledger_invariant.hpp | 2 +-
ledger_invariant_init.cpp | 2 +-
product_data.cpp | 7 ++++++-
product_data.hpp | 2 +-
reg_d_indiv_notes1.mst | 2 +-
7 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/ill_reg_narr_summary.mst b/ill_reg_narr_summary.mst
index 0992265..281b7c1 100644
--- a/ill_reg_narr_summary.mst
+++ b/ill_reg_narr_summary.mst
@@ -44,7 +44,7 @@
{{/IsInforce}}
<p>
-{{MonthlyChargesPaymentFootnote}}
+{{FnMonthlyDeductions}}
</p>
<p>
diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index cbf3d58..3b8a95d 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -332,7 +332,7 @@ void LedgerInvariant::Alloc(int len)
Strings["NonGuaranteedFootnote" ] = &NonGuaranteedFootnote
;
Strings["NonGuaranteedFootnote1" ] = &NonGuaranteedFootnote1
;
Strings["NonGuaranteedFootnote1Tx" ] = &NonGuaranteedFootnote1Tx
;
- Strings["MonthlyChargesPaymentFootnote" ] = &MonthlyChargesPaymentFootnote
;
+ Strings["FnMonthlyDeductions" ] = &FnMonthlyDeductions
;
Strings["SurrenderFootnote" ] = &SurrenderFootnote
;
Strings["PortabilityFootnote" ] = &PortabilityFootnote
;
Strings["FundRateFootnote" ] = &FundRateFootnote
;
diff --git a/ledger_invariant.hpp b/ledger_invariant.hpp
index 7b8c2b7..b923285 100644
--- a/ledger_invariant.hpp
+++ b/ledger_invariant.hpp
@@ -342,7 +342,7 @@ class LMI_SO LedgerInvariant final
std::string NonGuaranteedFootnote;
std::string NonGuaranteedFootnote1;
std::string NonGuaranteedFootnote1Tx;
- std::string MonthlyChargesPaymentFootnote;
+ std::string FnMonthlyDeductions;
std::string SurrenderFootnote;
std::string PortabilityFootnote;
std::string FundRateFootnote;
diff --git a/ledger_invariant_init.cpp b/ledger_invariant_init.cpp
index c8afb2b..5717d42 100644
--- a/ledger_invariant_init.cpp
+++ b/ledger_invariant_init.cpp
@@ -469,7 +469,7 @@ void LedgerInvariant::Init(BasicValues const* b)
NonGuaranteedFootnote = p.datum("NonGuaranteedFootnote"
);
NonGuaranteedFootnote1 = p.datum("NonGuaranteedFootnote1"
);
NonGuaranteedFootnote1Tx = p.datum("NonGuaranteedFootnote1Tx"
);
- MonthlyChargesPaymentFootnote =
p.datum("MonthlyChargesPaymentFootnote" );
+ FnMonthlyDeductions = p.datum("FnMonthlyDeductions"
);
SurrenderFootnote = p.datum("SurrenderFootnote"
);
PortabilityFootnote = p.datum("PortabilityFootnote"
);
FundRateFootnote = p.datum("FundRateFootnote"
);
diff --git a/product_data.cpp b/product_data.cpp
index 6c46528..4acd322 100644
--- a/product_data.cpp
+++ b/product_data.cpp
@@ -335,7 +335,7 @@ void product_data::ascribe_members()
ascribe("NonGuaranteedFootnote" ,
&product_data::NonGuaranteedFootnote );
ascribe("NonGuaranteedFootnote1" ,
&product_data::NonGuaranteedFootnote1 );
ascribe("NonGuaranteedFootnote1Tx" ,
&product_data::NonGuaranteedFootnote1Tx );
- ascribe("MonthlyChargesPaymentFootnote" ,
&product_data::MonthlyChargesPaymentFootnote );
+ ascribe("FnMonthlyDeductions" ,
&product_data::FnMonthlyDeductions );
ascribe("SurrenderFootnote" , &product_data::SurrenderFootnote
);
ascribe("PortabilityFootnote" ,
&product_data::PortabilityFootnote );
ascribe("FundRateFootnote" , &product_data::FundRateFootnote
);
@@ -492,6 +492,10 @@ void product_data::redintegrate_ex_post
namespace
{
+static std::string const S_FnMonthlyDeductions =
+ "Monthly charges are deducted from the account value; if it is depleted,"
+ " additional premiums may be required.";
+
// These two certifications are copied verbatim et literatim from the
// illustration reg.
static std::string const S_IllRegCertAgent =
@@ -666,6 +670,7 @@ sample::sample()
item("UwClassStandard") = glossed_string("Standard");
item("UwClassRated") = glossed_string("Rated");
item("UwClassUltra") = glossed_string("Ultrapreferred");
+ item("FnMonthlyDeductions") = S_FnMonthlyDeductions;
item("IllRegCertAgent") = S_IllRegCertAgent;
item("IllRegCertAgentIl") = S_IllRegCertAgent;
item("IllRegCertAgentTx") = S_IllRegCertAgent;
diff --git a/product_data.hpp b/product_data.hpp
index bf6702c..247ca08 100644
--- a/product_data.hpp
+++ b/product_data.hpp
@@ -325,7 +325,7 @@ class LMI_SO product_data
glossed_string NonGuaranteedFootnote;
glossed_string NonGuaranteedFootnote1;
glossed_string NonGuaranteedFootnote1Tx;
- glossed_string MonthlyChargesPaymentFootnote;
+ glossed_string FnMonthlyDeductions;
glossed_string SurrenderFootnote;
glossed_string PortabilityFootnote;
glossed_string FundRateFootnote;
diff --git a/reg_d_indiv_notes1.mst b/reg_d_indiv_notes1.mst
index d9e940e..4da7209 100644
--- a/reg_d_indiv_notes1.mst
+++ b/reg_d_indiv_notes1.mst
@@ -77,7 +77,7 @@ willing to represent as such to {{InsCoShortName}}.
}}
<p>
-<b>Monthly Charges:</b> {{MonthlyChargesPaymentFootnote}}
+<b>Monthly Charges:</b> {{FnMonthlyDeductions}}
</p>
<p>