Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
LawChangeCOLACHANGE::read Method

Reads the one line required for this law-change.

C++
void read(
    std::istream& infile
);
Parameters 
Description 
std::istream& infile 
Open input stream. 

It reads the first and last years, and either the percentage increase or decrease in COLA (for type 1), or the pia percentile (for type 2).

Exceptions 
Description 
PiaException of type PIA_IDS_LAWCHG6 if there are not enough entries on the first line for first year, last year, phase-in type, and a percentage increase or decrease in COLA (for type 1), or the pia percentile (for type 2).  
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!