lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 53201ac 6/6: Add new database entities to gov


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 53201ac 6/6: Add new database entities to govern death benefit option changes
Date: Thu, 8 Nov 2018 17:45:07 -0500 (EST)

branch: master
commit 53201acd62d22ba1621dfa364fa59fb702d6f0f7
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Add new database entities to govern death benefit option changes
---
 dbdict.cpp  | 16 ++++++++++++++++
 dbdict.hpp  |  8 ++++++++
 dbnames.hpp | 10 ++++++++++
 dbnames.xpp |  8 ++++++++
 4 files changed, 42 insertions(+)

diff --git a/dbdict.cpp b/dbdict.cpp
index 9083c63..6aa4ed9 100644
--- a/dbdict.cpp
+++ b/dbdict.cpp
@@ -274,6 +274,14 @@ void DBDictionary::ascribe_members()
     ascribe("AllowDboInc"         , &DBDictionary::AllowDboInc         );
     ascribe("AllowDboRop"         , &DBDictionary::AllowDboRop         );
     ascribe("AllowDboMdb"         , &DBDictionary::AllowDboMdb         );
+    ascribe("DboLvlChangeToWhat"  , &DBDictionary::DboLvlChangeToWhat  );
+    ascribe("DboLvlChangeMethod"  , &DBDictionary::DboLvlChangeMethod  );
+    ascribe("DboIncChangeToWhat"  , &DBDictionary::DboIncChangeToWhat  );
+    ascribe("DboIncChangeMethod"  , &DBDictionary::DboIncChangeMethod  );
+    ascribe("DboRopChangeToWhat"  , &DBDictionary::DboRopChangeToWhat  );
+    ascribe("DboRopChangeMethod"  , &DBDictionary::DboRopChangeMethod  );
+    ascribe("DboMdbChangeToWhat"  , &DBDictionary::DboMdbChangeToWhat  );
+    ascribe("DboMdbChangeMethod"  , &DBDictionary::DboMdbChangeMethod  );
     ascribe("AllowChangeToDbo2"   , &DBDictionary::AllowChangeToDbo2   );
     ascribe("DboChgCanIncrSpecAmt", &DBDictionary::DboChgCanIncrSpecAmt);
     ascribe("DboChgCanDecrSpecAmt", &DBDictionary::DboChgCanDecrSpecAmt);
@@ -737,6 +745,14 @@ void DBDictionary::write_database_files()
     z.Add(database_entity(DB_AllowDboInc         , true));
     z.Add(database_entity(DB_AllowDboRop         , true));
     z.Add(database_entity(DB_AllowDboMdb         , true));
+    z.Add(database_entity(DB_DboLvlChangeToWhat  , 0b1111));
+    z.Add(database_entity(DB_DboLvlChangeMethod  , 0b1111));
+    z.Add(database_entity(DB_DboIncChangeToWhat  , 0b1111));
+    z.Add(database_entity(DB_DboIncChangeMethod  , 0b1111));
+    z.Add(database_entity(DB_DboRopChangeToWhat  , 0b1111));
+    z.Add(database_entity(DB_DboRopChangeMethod  , 0b1111));
+    z.Add(database_entity(DB_DboMdbChangeToWhat  , 0b1111));
+    z.Add(database_entity(DB_DboMdbChangeMethod  , 0b1111));
     z.Add(database_entity(DB_DboChgCanIncrSpecAmt, true));
     z.Add(database_entity(DB_DboChgCanDecrSpecAmt, true));
     z.Add(database_entity(DB_SnflQTable          , 0.0));
diff --git a/dbdict.hpp b/dbdict.hpp
index 9508c02..2b3f950 100644
--- a/dbdict.hpp
+++ b/dbdict.hpp
@@ -258,6 +258,14 @@ class LMI_SO DBDictionary final
     database_entity AllowDboInc         ;
     database_entity AllowDboRop         ;
     database_entity AllowDboMdb         ;
+    database_entity DboLvlChangeToWhat  ;
+    database_entity DboLvlChangeMethod  ;
+    database_entity DboIncChangeToWhat  ;
+    database_entity DboIncChangeMethod  ;
+    database_entity DboRopChangeToWhat  ;
+    database_entity DboRopChangeMethod  ;
+    database_entity DboMdbChangeToWhat  ;
+    database_entity DboMdbChangeMethod  ;
     database_entity AllowChangeToDbo2   ;
     database_entity DboChgCanIncrSpecAmt;
     database_entity DboChgCanDecrSpecAmt;
diff --git a/dbnames.hpp b/dbnames.hpp
index da5bab7..a8eff0a 100644
--- a/dbnames.hpp
+++ b/dbnames.hpp
@@ -342,6 +342,16 @@ enum e_database_key
         ,DB_AllowDboInc
         ,DB_AllowDboRop
         ,DB_AllowDboMdb
+
+        ,DB_DboLvlChangeToWhat
+        ,DB_DboLvlChangeMethod
+        ,DB_DboIncChangeToWhat
+        ,DB_DboIncChangeMethod
+        ,DB_DboRopChangeToWhat
+        ,DB_DboRopChangeMethod
+        ,DB_DboMdbChangeToWhat
+        ,DB_DboMdbChangeMethod
+
         ,DB_AllowChangeToDbo2
         ,DB_DboChgCanIncrSpecAmt
         ,DB_DboChgCanDecrSpecAmt
diff --git a/dbnames.xpp b/dbnames.xpp
index 6596ead..b0e5399 100644
--- a/dbnames.xpp
+++ b/dbnames.xpp
@@ -210,6 +210,14 @@
 {DB_AllowDboInc,DB_Topic_DeathBenefits,"AllowDboInc","Allow increasing 
death-benefit option: 0=no, 1=yes",}, \
 {DB_AllowDboRop,DB_Topic_DeathBenefits,"AllowDboRop","Allow return-of-premium 
death-benefit option: 0=no, 1=yes",}, \
 {DB_AllowDboMdb,DB_Topic_DeathBenefits,"AllowDboMdb","Allow 
minimum-death-benefit death-benefit option: 0=no, 1=yes",}, \
+{DB_DboLvlChangeToWhat,DB_Topic_DeathBenefits,"DboLvlChangeToWhat","DBO change 
from level: new DBOs allowed [bitfield--not yet implemented]",}, \
+{DB_DboLvlChangeMethod,DB_Topic_DeathBenefits,"DboLvlChangeMethod","DBO change 
from level: preserves NAAR or specamt [bitfield--not yet implemented]",}, \
+{DB_DboIncChangeToWhat,DB_Topic_DeathBenefits,"DboIncChangeToWhat","DBO change 
from level: new DBOs allowed [bitfield--not yet implemented]",}, \
+{DB_DboIncChangeMethod,DB_Topic_DeathBenefits,"DboIncChangeMethod","DBO change 
from level: preserves NAAR or specamt [bitfield--not yet implemented]",}, \
+{DB_DboRopChangeToWhat,DB_Topic_DeathBenefits,"DboRopChangeToWhat","DBO change 
from level: new DBOs allowed [bitfield--not yet implemented]",}, \
+{DB_DboRopChangeMethod,DB_Topic_DeathBenefits,"DboRopChangeMethod","DBO change 
from level: preserves NAAR or specamt [bitfield--not yet implemented]",}, \
+{DB_DboMdbChangeToWhat,DB_Topic_DeathBenefits,"DboMdbChangeToWhat","DBO change 
from level: new DBOs allowed [bitfield--not yet implemented]",}, \
+{DB_DboMdbChangeMethod,DB_Topic_DeathBenefits,"DboMdbChangeMethod","DBO change 
from level: preserves NAAR or specamt [bitfield--not yet implemented]",}, \
 {DB_AllowChangeToDbo2,DB_Topic_DeathBenefits,"AllowChangeToDbo2","Allow change 
to increasing death benefit option: 0=no, 1=yes [obsolescent]",}, \
 {DB_DboChgCanIncrSpecAmt,DB_Topic_DeathBenefits,"DboChgCanIncrSpecAmt","Option 
changes can increase specified amount to preserve net amount at risk 
[obsolescent]",}, \
 {DB_DboChgCanDecrSpecAmt,DB_Topic_DeathBenefits,"DboChgCanDecrSpecAmt","Option 
changes can decrease specified amount to preserve net amount at risk 
[obsolescent]",}, \



reply via email to

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