Collapse All

Anypia Programmer's Documentation |  |

Age Members
Age Class Legend Public Friends Public Methods Public Operators Send Feedback

The following tables list the members exposed by Age.

Class

Age Class

Public Friends

Name | Description
class boost::serialization::access | Friend class to allow serialization.

Public Methods

| Name | Description
| ~Age | Destructor.
| Age | Initializes an Age, either as default or from an existing Age instance or integers.
| deleteContents | Zeroes years and months.
| getMonths | Returns months of age.
| getYears | Returns years of age.
| monthsCheck | Checks for months in bounds.
| toMonths | Returns the age converted to months.
| toString | Returns string with age as years and months.

Public Operators

| Name | Description
| - | Calculates a number of months by subtracting argument age from this one.
| < | Compares (years,months) ages.
| = | Copies from another Age.
| == | Compares (years,months) ages for equality.

Links
Age Class, Legend, Public Friends, Public Methods, Public Operators

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