Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
ScaledEarnFactors::setHighEarnings Method

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 
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. 

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

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