Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
WorkerData Members

The following tables list the members exposed by WorkerData.

 
Name 
Description 
 
Type of benefit calculation. 
 
Members of the bitset. 
 
Dimension limits. 
 
Dimension limits. 
 
Name 
Description 
 
Worker additional Medicare earnings, 1937 to last year considered. 
 
Worker earnings, 1937 to last year considered, after any projection of earnings. 
 
Maximum year of projection is 2100, unless changed. 
 
Quarters of coverage are summed before 1978, unless changed. 
 
Type of taxes paid.
See TaxRates::taxrateType for the meaning of each bit. 
 
Name 
Description 
 
Child care years, 1937 to 2100. 
 
Two periods of disability. 
 
Military service dates. 
 
qc 
Quarters of coverage, 1937 to WorkerDataGeneral::maxyear
 
Railroad quarters of coverage and earnings. 
 
ssn 
Social security number of wage earner. 
Name 
Description 
Friend class to allow serialization. 
 
Name 
Description 
 
Destroys this structure. 
 
Returns true if any self-employed taxes. 
 
Checks that date of benefit is in range. 
 
Checks that date of benefit is at or after entitlement. 
 
Checks date of birth in a Statement case. 
 
Checks date of birth in a non-Statement case. 
 
Checks date of prior disability cessation against date of prior onset. 
 
Checks date of prior disability cessation against date of prior onset. 
 
Checks date of disability cessation, using stored values. 
 
Checks date of disability cessation, using passed values.  
 
Checks that date of death is after birth. 
 
Checks date of death (checks in survivor case for death in 1937 or later). 
 
Checks date of death for basic correctness. 
 
Checks that date of death is before entitlement, using passed values. 
 
Initializes all variables to default values. 
 
Deletes date of death. 
 
Deletes date of entitlement. 
 
Clears date of OAB cessation prior to most recent DIB. 
 
Clears date of OAB entitlement prior to most recent DIB entitlement. 
 
Clears date of noncovered pension entitlement. 
 
Checks date of prior disability onset. 
 
Checks date of disability onset against dates of birth, entitlement, and benefit. 
 
Checks date of disability onset. 
 
Checks date of disability onset against date of death. 
 
Checks for no earnings of any type. 
 
Checks that current date of entitlement is within bounds. 
 
Returns first year of Medicare earnings, if any. 
 
Returns date of benefit. 
 
Returns date of birth of worker. 
 
Returns the blind indicator. 
 
Returns date of death. 
 
Returns the deceased OAB indicator. 
 
Returns the deemed insured indicator. 
 
Returns earliest entitlement date on this record. 
 
Returns true if ok to enable earnings entry dialog box. 
 
Returns Medicare earnings for specified year. 
 
Returns Medicare earnings for specified year if there are no OASDI earnings; otherwise return zero. 
 
Returns military service earnings for specified year. 
 
Returns total military service earnings, 1937-50. 
 
Returns OASDI plus Medicare earnings for specified year.  
 
Returns OASDI-covered earnings for the specified year. 
 
Returns railroad earnings for specified year. 
 
Returns total railroad earnings, 1937-50. 
 
Returns date of entitlement. 
 
Returns first year of OASDI earnings (0 if none). 
 
Returns first year of HI earnings (0 if none). 
 
Returns first year of military service (0 if none). 
 
Returns first year of railroad (0 if none). 
 
Returns first year of earnings after any projection. 
 
Returns Social Security number as a number. 
 
Returns Social Security number as a string. 
 
Returns last year of earnings after any projection. 
 
Returns earnings indicator. 
 
Returns military service indicator. 
 
Returns railroad indicator. 
 
Returns type of benefit calculation, including possibly Statement. 
 
Returns last year of OASDI earnings (0 if none). 
 
Returns last year of HI earnings (0 if none). 
 
Returns last year of military service (0 if none). 
 
Returns last year of military service (0 if none). 
 
Returns maximum year allowed. Note that this is a static function. 
 
Returns Medicare-qualified government employment indicator. 
 
Returns one line of number holder's address. 
 
Returns number holder's name. 
 
Returns date of cessation of oab entitlement prior to most recent DIB entitlement. 
 
Returns date of entitlement to oab prior to most recent DIB entitlement. 
 
Returns monthly noncovered pension. 
 
Returns monthly noncovered pension. 
 
Returns monthly noncovered pension after December 1994, after removing reservist pension. 
 
Returns last year of period for which quarters of coverage are entered as a lump sum. 
 
Returns military service quarters of coverage for specified year. 
 
Returns total military service quarters of coverage, 1937-50. 
 
Returns railroad quarters of coverage for specified year. 
 
Returns total railroad quarters of coverage, 1937-50. 
 
Returns total railroad quarters of coverage, 1951-77. 
 
Returns quarters of coverage from 1951 to 1977. 
 
Returns quarters of coverage from 1937 to 1977. 
 
Returns recalculation code. 
 
Returns reservist indicator. 
 
Returns the sex of the worker. 
 
Returns type of taxes for specified year. 
 
Returns array of type of taxes. 
 
Returns totalization indicator. 
 
Returns number of periods of disability. 
 
Returns indicator for QCs prior to 1978 by single year. 
 
Checks first year of earnings in a Statement case. 
 
Checks first year of earnings in a non-Statement case. 
 
Checks for first year of earnings within bounds. 
 
Checks last year of earnings. 
 
Returns true if alive at end of year, false otherwise. 
 
Returns true if dead at end of specified date. 
 
Return true if person is Sex::sex_type::FEMALE, false otherwise. 
 
Return true if person is Sex::sex_type::MALE, false otherwise. 
 
Returns primary beneficiary code. 
 
Checks type of benefit. 
 
Returns last year of annual QCs. 
 
Returns true if average wage increase assumptions are needed.  
 
Returns true if wage base assumptions are needed. 
 
Returns true if benefit increase assumptions are needed. 
 
Returns true if date of cessation to disability is needed. 
 
Returns true if quarters of coverage by year from regular earnings are needed, false otherwise. 
 
Checks date of second prior entitlement to disability. 
 
Checks date of prior entitlement to disability. 
 
Checks public pension amount. 
 
Checks public pension entitlement date. 
 
Checks the date of noncovered pension entitlement for consistency with date of birth and date of death. 
 
Checks summary quarters of coverage, 1951 to 1977. 
 
Checks for correct numbers of QC's. 
 
Checks summary quarters of coverage, 1937 to 1977. 
 
Checks quarters of coverage to 1977 for consistency, assuming both qcs for 1937-1977 and qcs for 1951-1977 have been set to reasonable values. 
 
Sets date of benefit. 
 
Sets date of birth. 
 
Sets blind indicator. 
 
Sets date of disability cessation. 
 
Sets mfb at disability cessation. 
 
Sets pia at disability cessation. 
 
Sets date of death. 
 
Sets deceased OAB indicator. 
 
Sets deemed insured indicator. 
 
Sets Medicare earnings for the specified year. 
 
Sets OASDI-covered earnings. 
 
Sets date of entitlement. 
 
Sets first year of earnings, including any projected earnings. Also sets first year of HI earnings (ignored if indicator for HI earnings is not set before attempting to use HI earnings). 
 
Sets last year of earnings, including any projected earnings.  
 
Sets earnings indicator. 
 
Sets railroad indicator. 
 
Sets type of benefit. 
 
Sets maximum year allowed. Note that this is a static function. 
 
Sets mqge indicator. 
 
Sets one line of address. 
 
Sets number holder's name. 
 
Sets date of cessation of oab prior to most recent dib. 
 
Sets date of oab entitlement prior to most recent dib. 
 
Sets date of disability onset. 
 
Initializes some Statement data (no disability and no date of death). 
 
Sets last year of Statement earnings when computation year changes, or after a Statement calculation has been done. 
 
Sets date of entitlement to disability. 
 
Sets date of prior entitlement to disability. 
 
Sets amount of monthly noncovered pension. 
 
Sets date of noncovered pension entitlement. 
 
Sets amount of monthly noncovered pension after December 1994, after removing military reservist pension. 
 
Sets summary quarters of coverage, 1951 to 1977. 
 
Sets last year of period for which quarters of coverage are entered as a lump sum. 
 
Sets indicator for QCs by year prior to 1978. 
 
Sets summary quarters of coverage, 1937 to 1977. 
 
Sets recalculation indicator. 
 
Sets reservist indicator. 
 
Sets the sex of the worker. 
 
Sets type of taxes for the specified year. 
 
Sets totalization indicator. 
 
Sets number of periods of disability. 
 
Sets first month of waiting period. 
 
Checks type of taxes. 
 
Checks number of periods of disability in nondisability case.  
 
Checks number of periods of disability in disability case.  
 
Checks number of periods of disability, using stored value. 
 
Checks first month of prior waiting period. 
 
Checks first month of waiting period. 
 
Initializes all values. 
 
Initializes a WorkerDataGeneral, either with default values or from another WorkerDataGeneral
 
Zeroes out earnings and quarters of coverage before first year and after last year of specified earnings. 
 
Zeroes out HI earnings before first year and after last year of specified earnings. 
 
Zeroes out OASDI earnings before first year and after last year of specified earnings. 
 
Zeroes out the type of benefit. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!