Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
QcArray::accumulate Method (int, int, unsigned)

Sums quarters of coverage over a period of years or quarters.

C++
unsigned accumulate(
    int firstyr, 
    int lastyr, 
    unsigned startValue
) const;
Parameters 
Description 
int firstyr 
First year to sum. 
int lastyr 
Last year to sum. 
unsigned startValue 
Starting value. 

Sum of quarters of coverage.

Exceptions 
Description 
PiaException of type PIA_IDS_QCARRAY3 if years are out of range (only in debug mode); of type PIA_IDS_QCARRAY4 if quarters are out of range (only in debug mode). 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!