lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6300] Rename certain members


From: Greg Chicares
Subject: [lmi-commits] [6300] Rename certain members
Date: Fri, 25 Sep 2015 02:37:17 +0000

Revision: 6300
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6300
Author:   chicares
Date:     2015-09-25 02:37:16 +0000 (Fri, 25 Sep 2015)
Log Message:
-----------
Rename certain members

Modified Paths:
--------------
    lmi/trunk/accountvalue.cpp
    lmi/trunk/basic_values.hpp
    lmi/trunk/basicvalues.cpp
    lmi/trunk/ihs_acctval.cpp
    lmi/trunk/ihs_basicval.cpp

Modified: lmi/trunk/accountvalue.cpp
===================================================================
--- lmi/trunk/accountvalue.cpp  2015-09-25 02:21:13 UTC (rev 6299)
+++ lmi/trunk/accountvalue.cpp  2015-09-25 02:37:16 UTC (rev 6300)
@@ -118,7 +118,7 @@
 AccountValue::AccountValue(Input const& input)
     :BasicValues       (Input::magically_rectify(input))
     ,DebugFilename     ("anonymous.monthly_trace")
-    ,ledger_(new Ledger(BasicValues::GetLedgerType(), 
BasicValues::GetLength()))
+    ,ledger_(new Ledger(BasicValues::ledger_type(), BasicValues::GetLength()))
     ,ledger_invariant_ (new LedgerInvariant(BasicValues::GetLength()))
     ,ledger_variant_   (new LedgerVariant  (BasicValues::GetLength()))
     ,RunBasis_         (mce_run_gen_curr_sep_full)

Modified: lmi/trunk/basic_values.hpp
===================================================================
--- lmi/trunk/basic_values.hpp  2015-09-25 02:21:13 UTC (rev 6299)
+++ lmi/trunk/basic_values.hpp  2015-09-25 02:37:16 UTC (rev 6300)
@@ -107,7 +107,7 @@
     int                   GetLength()                  const;
     int                   GetIssueAge()                const;
     int                   GetRetAge()                  const;
-    mcenum_ledger_type    GetLedgerType()              const;
+    mcenum_ledger_type    ledger_type               () const;
     mcenum_state          GetStateOfJurisdiction()     const;
     mcenum_state          GetStateOfDomicile()         const;
     mcenum_state          GetPremiumTaxState()         const;
@@ -417,7 +417,7 @@
         ,mcenum_smoking     smoking
         ) const;
 
-    mcenum_ledger_type  LedgerType_;
+    mcenum_ledger_type  ledger_type_;
     bool                IsSubjectToIllustrationReg_;
     mcenum_state        StateOfJurisdiction_;
     mcenum_state        StateOfDomicile_;
@@ -473,9 +473,9 @@
     return RetAge;
 }
 
-inline mcenum_ledger_type BasicValues::GetLedgerType() const
+inline mcenum_ledger_type BasicValues::ledger_type() const
 {
-    return LedgerType_;
+    return ledger_type_;
 }
 
 inline mcenum_state BasicValues::GetStateOfJurisdiction() const

Modified: lmi/trunk/basicvalues.cpp
===================================================================
--- lmi/trunk/basicvalues.cpp   2015-09-25 02:21:13 UTC (rev 6299)
+++ lmi/trunk/basicvalues.cpp   2015-09-25 02:37:16 UTC (rev 6300)
@@ -113,13 +113,13 @@
     EndtAge = static_cast<int>(Database_->Query(DB_MaturityAge));
     Length = EndtAge - IssueAge;
 
-    LedgerType_ =
+    ledger_type_ =
         static_cast<mcenum_ledger_type>
             (static_cast<int>
                 (Database_->Query(DB_LedgerType))
             )
         ;
-    IsSubjectToIllustrationReg_ = is_subject_to_ill_reg(GetLedgerType());
+    IsSubjectToIllustrationReg_ = is_subject_to_ill_reg(ledger_type());
 
     // IHS !! Just a dummy initialization here--implemented in lmi.
     SpreadFor7702_.assign(Length, 0.0);

Modified: lmi/trunk/ihs_acctval.cpp
===================================================================
--- lmi/trunk/ihs_acctval.cpp   2015-09-25 02:21:13 UTC (rev 6299)
+++ lmi/trunk/ihs_acctval.cpp   2015-09-25 02:37:16 UTC (rev 6300)
@@ -98,7 +98,7 @@
     ,Solving               (mce_solve_none != 
BasicValues::yare_input_.SolveType)
     ,SolvingForGuarPremium (false)
     ,ItLapsed              (false)
-    ,ledger_(new Ledger(BasicValues::GetLedgerType(), 
BasicValues::GetLength()))
+    ,ledger_(new Ledger(BasicValues::ledger_type(), BasicValues::GetLength()))
     ,ledger_invariant_     (new LedgerInvariant(BasicValues::GetLength()))
     ,ledger_variant_       (new LedgerVariant  (BasicValues::GetLength()))
     ,SolveGenBasis_        (mce_gen_curr)

Modified: lmi/trunk/ihs_basicval.cpp
===================================================================
--- lmi/trunk/ihs_basicval.cpp  2015-09-25 02:21:13 UTC (rev 6299)
+++ lmi/trunk/ihs_basicval.cpp  2015-09-25 02:37:16 UTC (rev 6300)
@@ -178,13 +178,13 @@
     EndtAge = static_cast<int>(Database_->Query(DB_MaturityAge));
     Length = EndtAge - IssueAge;
 
-    LedgerType_ =
+    ledger_type_ =
         static_cast<mcenum_ledger_type>
             (static_cast<int>
                 (Database_->Query(DB_LedgerType))
             )
         ;
-    IsSubjectToIllustrationReg_ = is_subject_to_ill_reg(GetLedgerType());
+    IsSubjectToIllustrationReg_ = is_subject_to_ill_reg(ledger_type());
 
     if(IssueAge < Database_->Query(DB_MinIssAge))
         {
@@ -280,13 +280,13 @@
     yare_input_.DeathBenefitOption        .assign(Length, 
yare_input_.DeathBenefitOption[0]);
     yare_input_.FlatExtra                 .resize(Length);
 
-    LedgerType_ =
+    ledger_type_ =
         static_cast<mcenum_ledger_type>
             (static_cast<int>
                 (Database_->Query(DB_LedgerType))
             )
         ;
-    IsSubjectToIllustrationReg_ = is_subject_to_ill_reg(GetLedgerType());
+    IsSubjectToIllustrationReg_ = is_subject_to_ill_reg(ledger_type());
 
     if(IssueAge < Database_->Query(DB_MinIssAge))
         {




reply via email to

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