Collapse All

Anypia Programmer's Documentation |  |

ScaledEarnFactors::setAverageEarnings Method
ScaledEarnFactors Class ScaledEarnFactors Members ScaledEarnFactors Methods Send Feedback

Sets earnings in an EarnProject to average earnings between two ages.

C++

    void setAverageEarnings(
        EarnProject& earnProject,
        const AverageWage& averageWage,
        int birthYear,
        int ageStart,
        int ageEnd
    );

Parameters

Parameters | Description
EarnProject& earnProject | Place to set earnings.
const AverageWage& averageWage | The average wage index.
int birthYear | Worker's year of birth.
int ageStart | First year of average earnings.
int ageEnd | Last year of average earnings.

Remarks

For each year, sets earnings equal to averageFactors times the average wage.

Group

ScaledEarnFactors Methods

Links
ScaledEarnFactors Class, ScaledEarnFactors Members, ScaledEarnFactors Methods

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