Collapse All

Anypia Programmer's Documentation |  |

FloatAnnual::accumulate Method
FloatAnnual Class FloatAnnual Members FloatAnnual Methods Send Feedback

Accumulates data over a range of years.

C++

    float accumulate(
        int year1,
        int year2,
        float startValue
    ) const;

Parameters

Parameters | Description
int year1 | Year with which to start accumulating (inclusive).
int year2 | Year with which to end accumulating (inclusive).
float startValue | Starting value.

Returns

Total of data in the vector over the specified range.

Remarks

Does not check to be sure range of years is within allowable range, unless in debug mode.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_FLOATANN1 if years are out of range (only in debug mode).

Group

FloatAnnual Methods

Links
FloatAnnual Class, FloatAnnual Members, FloatAnnual Methods

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