[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6313] Rearrange members to match order in class product_d
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6313] Rearrange members to match order in class product_data |
Date: |
Thu, 01 Oct 2015 17:06:37 +0000 |
Revision: 6313
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6313
Author: chicares
Date: 2015-10-01 17:06:36 +0000 (Thu, 01 Oct 2015)
Log Message:
-----------
Rearrange members to match order in class product_data
Modified Paths:
--------------
lmi/trunk/ledger_invariant.cpp
lmi/trunk/ledger_invariant.hpp
Modified: lmi/trunk/ledger_invariant.cpp
===================================================================
--- lmi/trunk/ledger_invariant.cpp 2015-10-01 17:04:53 UTC (rev 6312)
+++ lmi/trunk/ledger_invariant.cpp 2015-10-01 17:06:36 UTC (rev 6313)
@@ -194,7 +194,6 @@
Strings ["PolicyMktgName" ] = &PolicyMktgName ;
Strings ["PolicyLegalName" ] = &PolicyLegalName ;
- Strings ["ProductName" ] = &ProductName ;
Strings ["PolicyForm" ] = &PolicyForm ;
Strings ["InsCoShortName" ] = &InsCoShortName ;
Strings ["InsCoName" ] = &InsCoName ;
@@ -210,8 +209,6 @@
Strings ["CsvName" ] = &CsvName ;
Strings ["CsvHeaderName" ] = &CsvHeaderName ;
Strings ["NoLapseProvisionName" ] = &NoLapseProvisionName ;
- Strings ["InterestDisclaimer" ] = &InterestDisclaimer ;
- Strings ["GuarMortalityFootnote" ] = &GuarMortalityFootnote ;
Strings ["AccountValueFootnote" ] = &AccountValueFootnote ;
Strings ["AttainedAgeFootnote" ] = &AttainedAgeFootnote ;
@@ -230,6 +227,8 @@
Strings ["MinimumPremiumFootnote" ] =
&MinimumPremiumFootnote ;
Strings ["PremAllocationFootnote" ] =
&PremAllocationFootnote ;
+ Strings ["InterestDisclaimer" ] = &InterestDisclaimer
;
+ Strings ["GuarMortalityFootnote" ] =
&GuarMortalityFootnote ;
Strings ["ProductDescription" ] = &ProductDescription
;
Strings ["StableValueFootnote" ] = &StableValueFootnote
;
Strings ["NoVanishPremiumFootnote" ] =
&NoVanishPremiumFootnote ;
@@ -282,6 +281,7 @@
Strings ["PlacementAgentFootnote" ] =
&PlacementAgentFootnote ;
Strings ["MarketingNameFootnote" ] =
&MarketingNameFootnote ;
+ Strings ["ProductName" ] = &ProductName ;
Strings ["ProducerName" ] = &ProducerName ;
Strings ["ProducerStreet" ] = &ProducerStreet ;
Strings ["ProducerCity" ] = &ProducerCity ;
@@ -623,7 +623,6 @@
if(b->ProductData_)
{
product_data const& p = *b->ProductData_;
- ProductName = b->yare_input_.ProductName
;
// Accommodate one alternative policy-form name.
// DATABASE !! It would be much better, of course, to let all
// strings in class product_data vary across the same axes as
@@ -646,8 +645,6 @@
CsvName = p.datum("CsvName"
);
CsvHeaderName = p.datum("CsvHeaderName"
);
NoLapseProvisionName = p.datum("NoLapseProvisionName"
);
- InterestDisclaimer = p.datum("InterestDisclaimer"
);
- GuarMortalityFootnote = p.datum("GuarMortalityFootnote"
);
AccountValueFootnote = p.datum("AccountValueFootnote"
);
AttainedAgeFootnote = p.datum("AttainedAgeFootnote"
);
@@ -667,6 +664,8 @@
MinimumPremiumFootnote = p.datum("MinimumPremiumFootnote"
);
PremAllocationFootnote = p.datum("PremAllocationFootnote"
);
+ InterestDisclaimer = p.datum("InterestDisclaimer"
);
+ GuarMortalityFootnote = p.datum("GuarMortalityFootnote"
);
ProductDescription = p.datum("ProductDescription"
);
StableValueFootnote = p.datum("StableValueFootnote"
);
NoVanishPremiumFootnote = p.datum("NoVanishPremiumFootnote"
);
@@ -720,6 +719,7 @@
MarketingNameFootnote = p.datum("MarketingNameFootnote"
);
}
+ ProductName = b->yare_input_.ProductName;
ProducerName = b->yare_input_.AgentName;
std::string agent_city = b->yare_input_.AgentCity;
@@ -900,13 +900,13 @@
// TODO ?? Probably we should assert that these don't vary by life.
CorpName = a_Addend.CorpName;
MasterContractNumber = a_Addend.MasterContractNumber;
+ ProductName = a_Addend.ProductName;
ProducerName = a_Addend.ProducerName;
ProducerStreet = a_Addend.ProducerStreet;
ProducerCity = a_Addend.ProducerCity;
// This would necessarily vary by life:
// ContractNumber = "";
- ProductName = a_Addend.ProductName;
PolicyForm = a_Addend.PolicyForm;
PolicyMktgName = a_Addend.PolicyMktgName;
PolicyLegalName = a_Addend.PolicyLegalName;
@@ -924,8 +924,6 @@
CsvName = a_Addend.CsvName;
CsvHeaderName = a_Addend.CsvHeaderName;
NoLapseProvisionName = a_Addend.NoLapseProvisionName;
- InterestDisclaimer = a_Addend.InterestDisclaimer;
- GuarMortalityFootnote = a_Addend.GuarMortalityFootnote;
AccountValueFootnote = a_Addend.AccountValueFootnote;
AttainedAgeFootnote = a_Addend.AttainedAgeFootnote;
@@ -945,6 +943,8 @@
MinimumPremiumFootnote = a_Addend.MinimumPremiumFootnote;
PremAllocationFootnote = a_Addend.PremAllocationFootnote;
+ InterestDisclaimer = a_Addend.InterestDisclaimer;
+ GuarMortalityFootnote = a_Addend.GuarMortalityFootnote;
ProductDescription = a_Addend.ProductDescription;
StableValueFootnote = a_Addend.StableValueFootnote;
NoVanishPremiumFootnote = a_Addend.NoVanishPremiumFootnote;
Modified: lmi/trunk/ledger_invariant.hpp
===================================================================
--- lmi/trunk/ledger_invariant.hpp 2015-10-01 17:04:53 UTC (rev 6312)
+++ lmi/trunk/ledger_invariant.hpp 2015-10-01 17:06:36 UTC (rev 6313)
@@ -207,7 +207,6 @@
double GenAcctAllocation;
double SupplementalReport;
- std::string ProductName;
std::string PolicyForm;
std::string PolicyMktgName;
std::string PolicyLegalName;
@@ -224,8 +223,6 @@
std::string CsvName;
std::string CsvHeaderName;
std::string NoLapseProvisionName;
- std::string InterestDisclaimer;
- std::string GuarMortalityFootnote;
// Ledger column definitions.
std::string AccountValueFootnote;
@@ -248,6 +245,8 @@
std::string MinimumPremiumFootnote;
std::string PremAllocationFootnote;
+ std::string InterestDisclaimer;
+ std::string GuarMortalityFootnote;
std::string ProductDescription;
std::string StableValueFootnote;
std::string NoVanishPremiumFootnote;
@@ -300,6 +299,7 @@
std::string PlacementAgentFootnote;
std::string MarketingNameFootnote;
+ std::string ProductName;
std::string ProducerName;
std::string ProducerStreet;
std::string ProducerCity;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6313] Rearrange members to match order in class product_data,
Greg Chicares <=