Collapse All

Anypia Programmer's Documentation |  |

EarnProject::project Method
EarnProject Class EarnProject Members EarnProject Methods Send Feedback

Projects OASDI-covered earnings for the specified worker.

C++

    bool project(
        WorkerDataGeneral& workerData,
        const Awinc& fqinc
    ) const;

Parameters

Parameters | Description
WorkerDataGeneral& workerData | Worker basic data.
const Awinc& fqinc | Average wage increases.

Returns

True if any earnings go over the maximum allowed, false otherwise.

Remarks

First sets all the earnings in the WorkerDataGeneral for the period within the non-projected period. Then projects backwards, if the trigger is not earn_proj_type::NO_PROJ. The projection goes backwards from the beginning of the non-projected period, using annual factors that depend on the type of projection. Then projects forwards, in a similar fashion.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_EARNPROJ if projection year is out of range (only in debug mode).

Group

EarnProject Methods

Links
EarnProject Class, EarnProject Members, EarnProject Methods

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