Collapse All

Anypia Programmer's Documentation |  |

BitAnnual::BitAnnual Constructor (int, int)
BitAnnual Class BitAnnual Members BitAnnual Constructor Send Feedback

Initializes the first and last years and sets all data values to false.

C++

    BitAnnual(
        int newBaseYear,
        int newLastYear
    );

Parameters

Parameters | Description
int newBaseYear | New base year.
int newLastYear | New last year.

Remarks

On the linux system, data is a vector of BitPacked's -- so the constructor needs to know how many to create. On other systems (which conform to the standard and have a std::bitset class built in), data is a std::bitset and doesn't need any parameters because the default constructor initializes all of the bits to zero.

Group

BitAnnual Constructor

Links
BitAnnual Class, BitAnnual Members, BitAnnual Constructor

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