Collapse All

Anypia Programmer's Documentation |  |

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

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

C++

    unsigned accumulate(
        const QtrYear& qtrYear1,
        const QtrYear& qtrYear2,
        unsigned startValue
    ) const;

Parameters

Parameters | Description
const QtrYear& qtrYear1 | First quarter and year to sum.
const QtrYear& qtrYear2 | Last quarter and 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!