Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

CDBtime Class Reference

Abstract reprsenetation of a simple calender date. More...

#include <CDB.h>

Public Member Functions

 CDBtime (const struct tm &t)
 CDBtime (const CDBtime &c)
 CDBtime ()
CDBtimeoperator= (const struct tm &t)
CDBtimeoperator= (const CDBtime &c)
int operator== (const CDBtime &c)

Static Public Member Functions

static CDBtime now ()
 Get current time.

Data Fields

int hour
int minute
int msecond
int second

Detailed Description

Abstract reprsenetation of a simple calender date.

This class defines a abstract type for simple time. It has a resolution up to seconds.

Constructor & Destructor Documentation

CDBtime  )  [inline]

CDBtime const CDBtime c  )  [inline]

CDBtime const struct tm &  t  )  [inline]

Member Function Documentation

static CDBtime now  )  [inline, static]

Get current time.

This method returns a CDBtime object with the current time.

CDBtime& operator= const struct tm &  t  )  [inline]

CDBtime& operator= const CDBtime c  )  [inline]

int operator== const CDBtime c  )  [inline]

Field Documentation

int hour

int minute

int msecond

int second

Generated on Mon Feb 6 00:30:32 2006 for CDB by  doxygen 1.4.4