Collapse All

Anypia Programmer's Documentation |  |

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

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

C++

    void setHighEarnings(
        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 high earnings.
int ageEnd | Last year of high earnings.

Remarks

For each year, sets earnings equal to highFactors 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!