Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
PiaData Library

The piadata library part of the oactobjs library.

Name 
Description 
The following table lists classes in this documentation. 
The following table lists functions in this documentation. 
The following table lists types in this documentation. 
The following table lists variables in this documentation. 
The following table lists files in this documentation. 
 
Name 
Description 
 
Parent of classes that manage the average wage and benefit increase assumptions. 
 
Reads the average wage and benefit increase parameters from disk storage. 
 
Contains the average wage and benefit increase assumptions (it does not read from disk). 
 
The assumption types (about future average wage and benefit increases) allowed in the piadata library. 
 
Manages an array of average wage indexing amounts, or any other earnings series. 
 
Manages the historical Social Security parameters. 
 
Manages the historical Social Security parameters stored in a file. 
 
Manages the historical Social Security parameters stored in arrays in the code. 
 
Manages an array of projected average wage increases. 
 
Abstract parent of classes that manage the file of projected average wage increases. 
 
Manages the file of projected average wage increases stored on disk. 
 
Manages the file of projected average wage increases stored in static arrays. 
 
The wage base change types allowed in the piadata library.  
 
Parent of classes that manage the computation year for a pia program. 
 
Manages the computation year for a pia program where it is gotten from disk. 
 
Manages the computation year for a pia program where it is stored with the code. 
 
Static functions to handle bend points used in the PIA or MFB formula. 
 
Represents a benefit amount for one year. 
 
Manages an array of BenefitAmount's. 
 
Bic 
Represents one 2-character bic (Beneficiary Identification code) code. 
 
Abstract parent of classes that manage the file of projected benefit increases. 
 
Manages the file of projected benefit increases stored on disk.  
 
Manages the file of projected benefit increases stored in arrays.  
 
Manages the array of mfb formula bend points. 
 
Manages the array of pia formula bend points. 
 
Manages the catch-up benefit increases required to calculate a Social Security benefit. 
 
Abstract parent of classes that manage a file of catch-up benefit increases. 
 
Manages a file of catch-up benefit increases stored on disk.  
 
Manages the catch-up benefit increases for one year of eligibility. 
 
Manages a file of catch-up benefit increases stored in arrays.  
 
Manages the functions required for calculation of a wage indexed Social Security benefit using childcare dropout years. 
 
Manages the functions required for calculation of a wage indexed Social Security benefit using childcare dropout years, with law changes.  
 
Manages the number of elapsed years, dropout years, and computation years. 
 
Parent of classes that manage the configuration information used by the PIA calculation program. 
 
Manages the configuration information used by the PIA calculation program, stored in a file. 
 
Manages the configuration information used by the PIA calculation program, stored with the code. 
 
Manages the functions required for calculation of a disability guarantee Social Security benefit. 
 
Manages the functions required for calculation of a disability guarantee Social Security benefit with law changes. 
 
Manages a period of disability. 
 
Represents one disability insured status code. 
 
Manages an array of annual DisInsCode's. 
 
Manages an array of earnings, with forward and backward projections and specified levels of earnings. 
 
Parent of classes that manage the name and address of the field office. 
 
Reads and writes field office information from and to a file.  
 
Manages field office information not stored in a file (but its data may be saved in an .ini file). 
 
Manages the years in a freeze period. The years may be wholly or partially within a freeze period. 
 
Manages the functions required for calculation of a frozen minimum Social Security benefit. 
 
Represents one insured status code. 
 
Manages an array of annual insured status codes. 
 
The basic class that manages all of the extra data and functions required for one change in law concerning benefit calculations. 
 
Parameters for a proposal to increase the number of elapsed years in a pia calculation. 
 
Parameters for a proposal to use all years of earnings in an AIME calculation. 
 
Manages an array of LawChange's. 
 
Parameters for a proposal to increase the bend points in the benefit formula by a fraction of average wage growth. 
 
Parameters for a proposal to increase the bend points in the benefit formula by the growth in wages minus a specified rate. 
 
Parameters for a proposal to increase the bend points in the benefit formula by a specified growth rate. 
 
Parameters for a proposal to provide child care credits. 
 
Parameters for a proposal to provide child care dropout years. 
 
Parameters for a proposal to change the cost-of-living benefit increases. 
 
Parameters for a proposal to decrease the benefit formula percentages by a constant rate. 
 
Parameters for a proposal to reduce the number of dropout years in a pia calculation. 
 
Parameters for a proposal to change the length of marriage requirement for divorced spouse benefits. 
 
Parameters for a proposal to change the pia formula bend points and/or percentages. 
 
Parameters for a proposal to change the special minimum pia calculation. 
 
Parameters for a proposal to change the full retirement age.  
 
Manages the printout for changes in law concerning benefit calculations. 
 
Parameters for a proposal to introduce individual accounts.  
 
Reads a LawChangeArray stored in a file. 
 
Parameters for a proposal to change the taxation of benefits.  
 
Parameters for a proposal to change the OASDI tax rates. 
 
Parameters for a proposal to change the OASDI and/or old-law wage bases. 
 
Parameters for a proposal to change the factor for an aged widow(er) benefit. 
 
Parameters for a proposal to change the factor for an aged spouse benefit. 
 
Writes a LawChangeArray to a file. 
 
Manages one period of military service dates. 
 
Manages all the military service dates records for one ssn.  
 
Parent of all methods using pia tables in the calculation of a Social Security benefit. 
 
Manages the functions required for calculation of an old start Social Security benefit. 
 
Manages the functions required for calculation of an old start Social Security benefit with law changes. 
 
Pebs 
Manages most of the data required to prepare and print out the results of a Statement calculation. 
 
Manages the array of pia formula percentages, projected for all years. 
 
Parent of all classes that manage the functions required for calculation of a Social Security benefit. 
 
Manages the additional functions required for calculation of a Social Security benefit in the Anypia program. 
 
Manages all of the law-change functions required for calculation of a Social Security benefit. 
 
Manages all of the present law functions required for calculation of a Social Security benefit. 
 
Manages all of the worker-specific amounts calculated in preparation for and during the calculation of a Social Security benefit.  
 
Manages an array of PiaData's. 
 
Parent of the various methods required for calculation of a Social Security benefit. 
 
Abstract parent of classes to manage the Social Security parameters required to calculate a Social Security benefit. 
 
Manages the additional Social Security parameters required to calculate Social Security benefits in the Anypia program. 
 
Manages the changed law Social Security parameters required to calculate Social Security benefits. 
 
Manages the changed law Social Security parameters, already projected based on a Trustees Report assumption. 
 
Manages the present law Social Security parameters required to calculate Social Security benefits. 
 
Manages the present law Social Security parameters required to calculate Social Security benefits, with projected values set to Trustees Report assumptions. 
 
Reads the basic data required to calculate a Social Security benefit. 
 
Reads the data required to calculate a Social Security benefit for the Anypia program. 
 
Manages the functions required for calculation of a Pia Table Social Security benefit. 
 
Manages the functions required for calculation of a Pia Table Social Security benefit, including changes from present law. 
 
Writes out the basic data required to calculate a Social Security benefit. 
 
Writes out the data required to calculate a Social Security benefit for the Anypia program. 
 
Manages the 1950 pib-mfb conversion figures. 
 
Manages the 1950 pib-pia conversion figures. 
 
Manages the 1952 pib-ame conversion figures. 
 
Manages the 1952 pib-mfb conversion figures. 
 
Manages the 1954 pib-ame conversion figures. 
 
Manages the 1954 pib-mfb conversion figures. 
 
Manages the 1954 pib-pia conversion figures. 
 
Manages the 1958 pib-ame conversion figures. 
 
Manages the 1958 pib-pia conversion figures. 
 
Pifc 
Represents a pia factor code (type of Social Security pia).  
 
Manages an array of present value factors. 
 
Psa 
Manages the (theoretical) PSA accounts. 
 
Qc 
Handles calculations with quarters of coverage for one year.  
 
Manages an array of quarter of coverage amounts. 
 
Manages an array of annual quarters of coverage. 
 
Holds 8 annual quarters of coverage amounts in one word (4 bytes). Each value is in 4 bits, and can take values from 0 to 4. 
 
Manages the railroad data for one worker. 
 
Manages the functions required for calculation of a reindexed widow(er) Social Security benefit. 
 
Manages the functions required for calculation of a reindexed widow(er) Social Security benefit with law changes. 
 
Contains all of the retirement test exempt amounts and functions to use them. 
 
Manages the annual retirement test exempt amount projections under full retirement age. 
 
Manages the monthly retirement test exempt amount projections under full retirement age. 
 
Manages the annual retirement test exempt amount projections over full retirement age. 
 
Manages the monthly retirement test exempt amount projections over full retirement age. 
 
Manages the upper annual retirement test exempt amounts when there were two tiers. 
 
Parent of classes to manage the retirement test exempt amount projections. 
 
Manages scaled earner amounts. 
 
Contains the information about a secondary benefit. 
 
Manages an array of Secondary's. 
 
Sga 
Contains all of the SGA amounts and functions to use them.  
 
Manages the annual SGA amounts (historical and projected) for blind beneficiaries. 
 
Manages the monthly SGA amounts (historical and projected) for blind beneficiaries (as of December). 
 
Parent of classes to manage the SGA (Substantial Gainful Activity) amounts (historical and projected). 
 
Manages the annual SGA maximum amounts(historical and projected) for non-blind beneficiaries. 
 
Manages the monthly SGA maximum amounts (historical and projected) for non-blind beneficiaries (as of December). 
 
Manages the annual SGA minimum amounts (historical and projected) for non-blind beneficiaries. 
 
Manages the monthly SGA minimum amounts (historical and projected) for non-blind beneficiaries (as of December). 
 
Manages the functions required for calculation of a special minimum Social Security benefit. 
 
Manages the functions required for calculation of a special minimum Social Security benefit, including changes from present law.  
 
Contains the functions required to calculate the tax on a Social Security benefit. 
 
Contains the functions required to calculate the tax on a Social Security benefit with law changes. 
 
Manages the Social Security payroll and self-employed taxes paid by a worker. 
 
Abstract parent of classes that manage the Social Security payroll and self-employed tax rates. 
 
Manages the Social Security payroll and self-employed tax rates, with changes from present law. 
 
Manages the present law Social Security payroll and self-employed tax rates. 
 
Manages the functions required for calculation of a transitional guarantee Social Security benefit. 
 
Manages the functions required for calculation of a transitional guarantee Social Security benefit, with changes from present law. 
 
Manages all the assumptions about future average wage increases, wage bases, benefit increases, and catch-up benefit increases that a user might specify. 
 
Manages the OASDI wage base projections. 
 
Ancestor of the classes that manage the wage base projections.  
 
Manages the HI wage base projections. 
 
Manages the OASDI wage base projection with law changes. 
 
Manages the old-law OASDI wage base projections. 
 
Manages the old-law OASDI wage base projection with law changes. 
 
Manages the functions required for calculation of a wage indexed Social Security benefit. 
 
Parent of all classes that manage the functions required for calculation of a wage indexed Social Security benefit. 
 
Manages the functions required for calculation of a wage indexed Social Security benefit, with changes from present law. 
 
Manages the basic data required to calculate a Social Security benefit. 
 
Manages an array of WorkerData's. 
 
The abstract parent of all classes that manage the basic data required to calculate a Social Security benefit. 
Name 
Description 
 
Declarations needed for Assumptions class. 
Functions needed for AssumptionsFile class. 
Declarations needed for AssumptionsFile class. 
 
 
 
 
Functions needed for AverageWage class to manage array of average wages. 
Declarations needed for AverageWage class to manage array of average wages. 
 
 
 
 
 
 
 
 
 
Declarations needed for AwincDoc class to manage average wage increases. 
Declarations needed for AwincFile class to manage average wage increases stored on disk. 
Functions needed for AwincFile class to manage average wage increases stored on disk. 
 
 
 
 
 
 
 
 
 
 
Functions needed for BendPoints class to handle PIA and MFB formula bend points. 
 
 
Declarations needed for BenefitAmount class to handle Social Security benefit amount. 
Functions needed to handle a BenefitAmountArray class of an array of Social Security benefit amounts. 
 
 
 
Functions to handle the Biproj class of projected benefit increases. 
 
Declarations needed for the BiprojFile class to manage projected benefit increases stored on disk. 
 
 
 
 
 
 
 
 
 
 
 
 
 
Declarations needed for CatchupFile class to manage file of catch-up benefit increases. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Functions needed for DisabPeriod class to manage a period of disability. 
Declarations needed for DisabPeriod class to manage a period of disability. 
 
 
Functions for the EarnProject class to handle an array of earnings, with forward and backward projections and specified levels of earnings. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Functions needed for LawChangeBPSPECRATE class to manage parameters for a proposal to increase the bend points in the benefit formula by a specified growth rate. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Functions needed for LawChangeNRACHANGE class to manage parameters for a proposal to change the full retirement age. 
Declarations needed for LawChangeNRACHANGE class to manage parameters for a proposal to change the full retirement age. 
 
 
 
 
 
Declarations needed for LawChangeRead class to read law changes from a file. 
 
 
 
 
 
 
Functions needed for LawChangeWIDFACTOR class to manage parameters for a proposal to change the factor for an aged widow(er) benefit. 
Declarations needed for LawChangeWIDFACTOR class to manage parameters for a proposal to change the factor for an aged widow(er) benefit. 
Functions needed for LawChangeWIFEFACTOR class to manage parameters for a proposal to change the factor for an aged spouse benefit. 
Declarations needed for LawChangeWIFEFACTOR class to manage parameters for a proposal to change the factor for an aged spouse benefit. 
 
Declarations needed for LawChangeWrite class to write law changes to a file. 
Declarations needed for MilServDatesVec class to manage an array of military service dates records. 
Functions needed for MilServDates class to manage one military service dates record. 
Declarations needed for MilServDates class to manage one military service dates record. 
 
 
 
 
 
 
 
 
Functions needed for Pebs class to handle Social Security Statement data. 
Declarations needed for Pebs class to handle Social Security Statement data. 
 
 
 
 
Functions needed for PiaCalAny class to manage pia calculation functions used in Anypia. 
Declarations needed for PiaCalAny class to manage pia calculation functions used in Anypia. 
 
 
 
 
Functions needed for the PiaData class to set up data to calculate and print out a PIA. 
Declarations needed for the PiaData class to set up data to calculate and print out a PIA. 
 
 
Functions needed for PiaMethod class to manage generic pia calculation functions. 
Declarations needed for PiaMethod class to manage generic pia calculation functions. 
 
 
Functions needed for PiaParamsTR class of pia calculation parameters using present law only, with projected values set to Trustees Report assumptions. 
Declarations needed for PiaParamsTR class of pia calculation parameters using present law only, with projected values set to Trustees Report assumptions. 
Functions needed for the PiaParams class to handle PIA calculation parameters. 
Declarations needed for the PiaParams class to handle PIA calculation parameters. 
 
 
Functions needed for PiaParamsLC class to handle changed law PIA parameters. 
Declarations needed for class PiaParamsLC to handle changed law PIA parameters. 
Functions needed for PiaParamsPL class of pia calculation parameters using present law only. 
Declarations needed for PiaParamsPL class of pia calculation parameters using present law only. 
Functions needed for the PiaRead class to read a file of worker data from disk. 
Declarations needed for the PiaRead class to read a file of worker data from disk. 
Functions needed for the PiaReadAny class to read worker data for Anypia. 
Declarations needed for the PiaReadAny class to read worker data for Anypia. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Functions for Psa class to manage PSA accounts. 
Declarations for Psa class to manage PSA accounts. 
 
qc.h 
 
 
 
Functions needed for the QcArray class to handle an array of annual number of quarters of coverage. 
Declarations needed for the QcArray class to handle an array of annual number of quarters of coverage. 
Functions needed for the QcPacked class to hold 8 quarters of coverage amounts in one word. 
Definition of the QcPacked class to hold 8 quarters of coverage amounts in one word. 
Functions needed for RailRoadData class to manage edited railroad record. 
Declarations needed for RailRoadData class to manage edited railroad record. 
Functions needed for the ReindWid class to calculate a reindexed widow PIA. 
 
Functions needed for ReindWidLC class to manage reindexed widow(er) pia calculation with law changes. 
Declarations needed for ReindWidLC class to manage reindexed widow(er) pia calculation with law changes. 
Functions for the RetireTest class to manage retirement test calculations. 
 
Functions needed for RtGeneral class to manage retirement test projections. 
Declarations needed for RtGeneral class to manage retirement test projections. 
Functions needed for ScaledEarnFactors class of scaled earnings factors. 
Declarations needed for ScaledEarnFactors class of scaled earnings factors. 
 
 
 
 
Functions needed for the Sga class to manage SGA amounts. 
Declarations needed for the Sga class to manage SGA amounts. 
 
Declarations for the SgaBlindA, SgaBlindM, SgaMinA, SgaMinM, SgaMaxA, and SgaMaxM classes (derived classes of the SgaGeneral class). 
Functions for the SgaGeneral class to handle historical and projected SGA (Substantial Gainful Activity) amounts, stored in arrays. 
 
Functions needed for the SpecMin class to calculate a special minimum PIA. 
 
 
 
Functions needed for TaxBenefits class to manage tax on benefits functions. 
Declarations needed for TaxBenefits class to manage tax on benefits functions. 
Functions needed for TaxBenefitsLC class to manage tax on benefits functions with law changes. 
Declarations needed for TaxBenefitsLC class to manage tax on benefits functions with law changes. 
 
 
Functions for TaxRates class to manage OASDHI tax rates. 
Declarations for TaxRates class to manage OASDHI tax rates. 
The TaxRatesLC class to manage the Social Security payroll and self-employed tax rates, with changes from present law. 
Declarations for the TaxRatesLC class to manage the Social Security payroll and self-employed tax rates, with changes from present law. 
The TaxRatesPL class to manage the Social Security payroll and self-employed tax rates. 
Declarations for the TaxRatesPL class to manage the Social Security payroll and self-employed tax rates. 
 
 
 
 
Functions for the UserAssumptions class to handle user-specified assumptions. 
 
Functions needed for WageBase, WageBaseHI, and WageBaseOldLaw classes to manage wage base projections. 
Declarations needed for WageBase, WageBaseHI, and WageBaseOldLaw classes to manage wage base projections. 
Functions needed for the WageInd class to calculate a wage-indexed PIA. 
Declarations needed for WageInd class to manage wage-indexed pia calculation functions. 
Functions needed for WageIndGeneral parent of classes to manage wage-indexed pia calculation functions. 
Declarations needed for WageIndGeneral parent of classes to manage wage-indexed pia calculation functions. 
Functions needed for WageIndLC class to manage wage-indexed pia calculation, with law change parameters. 
Declarations needed for WageIndLC class to manage wage-indexed pia calculation, with law change parameters. 
Functions needed for WageBaseGeneral class to manage wage base projections. 
Declarations needed for WageBaseGeneral class to manage wage base projections. 
Functions needed for WageBaseLC and WageBaseOldLawLC classes to manage wage base projections with law changes. 
Declarations needed for WageBaseLC and WageBaseOldLawLC classes to manage wage base projections with law changes. 
Functions needed for WorkerDataArray class to manage array of WorkerData's. 
Declarations needed for WorkerDataArray class to manage array of WorkerData's. 
Functions needed for WorkerDataGeneral parent class to manage worker data. 
Declarations needed for WorkerDataGeneral parent class to manage worker data. 
Functions needed for WorkerData class to manage worker data. 
Declarations needed for WorkerData class to manage worker data. 
 
Name 
Description 
 
Returns true if the argument person ID is the debug ID, or if debug information is printed out for all persons. 
Name 
Description 
Manages the array of bend points used in the MFB formula.  
Manages the array of bend points used in the PIA formula.  
Manages the array of percentages used in the MFB formula. 
Manages the array of percentages used in the PIA formula. 
Name 
Description 
Base year for trust fund projection arrays on January 1 basis.  
Base year for trust fund projection arrays on during-year basis. 
The ID for which to print out calculation details. 
The special identifier denoting that calculation details should be printed out for all persons. 
Last year of short-range period. 
Maximum annual earnings allowed. 
Maximum number of years of earnings for one individual. 
Number of years of data in trust fund projections, January 1 basis. 
Number of years of data in trust fund projections, during-year basis. 
Base year for ORS trust fund projection data. 
Last possible year of projection. 
Last possible year of projection. 
Last possible year of projection. 
Last possible year of projection. 
Year before first year of Social Security. 
Base year for many data arrays. 
Year before first year of major revisions to Social Security.  
First year of major revisions to Social Security. 
First year of many OACT projection arrays. 
First year of many OACT projection arrays. 
First year of many OACT projection arrays. 
First year of many OACT projection arrays. 
First year of bend points. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!