Collapse All

Anypia Programmer's Documentation |  |

QcArray::accumulate Method (int, int, unsigned)
QcArray Class QcArray Members accumulate Method Send Feedback

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

C++

    unsigned accumulate(
        int firstyr,
        int lastyr,
        unsigned startValue
    ) const;

Parameters

Parameters | Description
int firstyr | First year to sum.
int lastyr | Last year to sum.
unsigned startValue | Starting value.

Returns

Sum of quarters of coverage.

Exceptions

Exceptions | Description
PiaException | 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).

Group

accumulate Method

Links
QcArray Class, QcArray Members, accumulate Method

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