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

osg::Date Class Reference

Date & Time. More...

#include <OSGDate.h>

List of all members.

Public Methods

Constructors
 Date (void)
 Date (const Date &obj)
Destructors
virtual ~Date (void)
Access
void setSecond (unsigned int second)
unsigned int getSecond (void)
void setMinute (unsigned int minute)
unsigned int getMinute (void)
unsigned int getHour (void)
void setHour (unsigned int hour)
unsigned int getDay (void)
void setDay (unsigned int day)
int getYear (void)
void setYear (int year)
void clear (void)
void setSystemDate (void)
 public *

void set (const char *string)
bool isLeapYear (void)
bool valid (void)
void set (unsigned int day, unsigned int month, int year, unsigned int hour=0, unsigned int minute=0, unsigned int second=0)
 Class methodes *.


Private Attributes

unsigned int _second
unsigned int _minute
unsigned int _hour
unsigned int _day
unsigned int _month
unsigned int _year

Friends

Operators
bool operator== (const Date &v1, const Date &v2)
bool operator< (const Date &v1, const Date &v2)
ostream & operator<< (ostream &os, const Date &obj)
istream & operator>> (istream &is, Date &obj)


Detailed Description

Date & Time.

@autor jBehr, Wed Oct 27 13:16:07


Constructor & Destructor Documentation

Date::Date void   
 

Date::Date const Date &    obj
 

Date::~Date void    [virtual]
 


Member Function Documentation

void osg::Date::setSecond unsigned int    second [inline]
 

unsigned int osg::Date::getSecond void    [inline]
 

void osg::Date::setMinute unsigned int    minute [inline]
 

unsigned int osg::Date::getMinute void    [inline]
 

unsigned int osg::Date::getHour void    [inline]
 

void osg::Date::setHour unsigned int    hour [inline]
 

unsigned int osg::Date::getDay void    [inline]
 

void osg::Date::setDay unsigned int    day [inline]
 

int osg::Date::getYear void    [inline]
 

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

void osg::Date::clear void   
 

void Date::setSystemDate void   
 

public *

void Date::set const char *    string
 

bool Date::isLeapYear void   
 

bool Date::valid void   
 

void Date::set unsigned int    day,
unsigned int    month,
int    year,
unsigned int    hour = 0,
unsigned int    minute = 0,
unsigned int    sec = 0
 

Class methodes *.


Friends And Related Function Documentation

bool operator== const Date &    v1,
const Date &    v2
[friend]
 

bool operator< const Date &    v1,
const Date &    v2
[friend]
 

ostream& operator<< ostream &    os,
const Date &    obj
[friend]
 

istream& operator>> istream &    is,
Date &    obj
[friend]
 


Member Data Documentation

unsigned int osg::Date::_second [private]
 

unsigned int osg::Date::_minute [private]
 

unsigned int osg::Date::_hour [private]
 

unsigned int osg::Date::_day [private]
 

unsigned int osg::Date::_month [private]
 

unsigned int osg::Date::_year [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:23:32 2002 for OpenSG by doxygen1.2.16