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

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

C++
unsigned accumulate(
    const QtrYear& qtrYear1, 
    const QtrYear& qtrYear2, 
    unsigned startValue
) const;
Parameters 
Description 
const QtrYear& qtrYear1 
First quarter and year to sum. 
const QtrYear& qtrYear2 
Last quarter and 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!