Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

rnaml::Date Class Reference

#include <Date.h>

Inheritance diagram for rnaml::Date:

rnaml::Object List of all members.

Public Methods

 Date ()
 Initializes the object.

 Date (const Date &right)
 Initializes the object with the right's content.

Date * clone () const
 Clones the object.

virtual ~Date ()
 Destroys the object.

Date & operator= (const Date &right)
 Assigns the object with the right's content.

int getDay () const
 Gets the date day.

void setDay (int day)
 Sets the date day.

int getMonth () const
 Gets the date month.

void setMonth (int month)
 Sets the date month.

int getYear () const
 Gets the date year.

void setYear (int year)
 Sets the date year.


Constructor & Destructor Documentation

rnaml::Date::Date   [inline]
 

Initializes the object.

rnaml::Date::Date const Date &    right [inline]
 

Initializes the object with the right's content.

Parameters:
right  the object to copy.

virtual rnaml::Date::~Date   [inline, virtual]
 

Destroys the object.


Member Function Documentation

Date* rnaml::Date::clone   const [inline]
 

Clones the object.

Returns:
a copy of the object.

int rnaml::Date::getDay   const [inline]
 

Gets the date day.

Returns:
the date day.

int rnaml::Date::getMonth   const [inline]
 

Gets the date month.

Returns:
the date month.

int rnaml::Date::getYear   const [inline]
 

Gets the date year.

Returns:
the date year.

Date & rnaml::Date::operator= const Date &    right
 

Assigns the object with the right's content.

Parameters:
right  the object to copy.
Returns:
itself.

void rnaml::Date::setDay int    day [inline]
 

Sets the date day.

Parameters:
day  the date day.

void rnaml::Date::setMonth int    month [inline]
 

Sets the date month.

Parameters:
month  the date month.

void rnaml::Date::setYear int    year [inline]
 

Sets the date year.

Parameters:
year  the date year.


The documentation for this class was generated from the following files:
Generated on Tue Nov 11 14:59:56 2003 for xmlcpg by doxygen1.2.18