Collapse All

Anypia Programmer's Documentation |  |

RailRoadData::parseEarnings Method
RailRoadData Class RailRoadData Members RailRoadData Methods Send Feedback

Parses one line of earnings.

C++

    void parseEarnings(
        int decade,
        const std::string& line,
        int width
    );

Parameters

Parameters | Description
int decade | Decade to use.
const std::string& line | Line to parse.
int width | Width of each earnings field.

Remarks

The decade indicator can be one of the following:

0 | first 10 years.
1 | second 10 years.
etc. | up to eighth 10 years.

Group

RailRoadData Methods

Links
RailRoadData Class, RailRoadData Members, RailRoadData Methods

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