Collapse All

Anypia Programmer's Documentation |  |

PiaCal::disInsCal Method
PiaCal Class PiaCal Members PiaCal Methods Send Feedback

Calculates the disability insured status code for one year.

C++

    static DisInsCode::DisInsCodeType disInsCal(
        const WorkerDataGeneral& workerData,
        PiaData& piaData,
        const DateMoyr& dateMoyr,
        int iswasPrimary
    );

Parameters

Parameters | Description
const WorkerDataGeneral& workerData | Worker's basic data.
PiaData& piaData | Benefit calculation data.
const DateMoyr& dateMoyr | The date for which insured status code is required.
int iswasPrimary | Worker's primary beneficiary status.

Returns

The disability insured status code.

Remarks

Note that this is a static function.

The iswasPrimary argument has the following possible values:

0 | never a primary beneficiary.
1 | is a primary beneficiary.
2 | is a deceased primary beneficiary.

Group

PiaCal Methods

Links
PiaCal Class, PiaCal Members, PiaCal Methods

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!