TimehaspTime Class Reference

#include <Timehasp.h>

List of all members.

Public Types

enum  { Default = -1, Now = 0 }

Public Member Functions

HASP_EXPORT TimehaspTime (time_t aTime=Default)
HASP_EXPORT TimehaspTime (int hh, int mm, int ss)
bool Valid () const
int Hour () const
int Minute () const
int Second () const

Private Member Functions

void Init (time_t aTime)
void Check ()

Private Attributes

int hour
int minute
int second
bool valid

Friends

class TimeHasp


Detailed Description

Definition at line 180 of file Timehasp.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
Default 
Now 

Definition at line 187 of file Timehasp.h.


Constructor & Destructor Documentation

HASP_EXPORT TimehaspTime::TimehaspTime time_t  aTime = Default  )  [explicit]
 

HASP_EXPORT TimehaspTime::TimehaspTime int  hh,
int  mm,
int  ss
 


Member Function Documentation

void TimehaspTime::Check  )  [private]
 

int TimehaspTime::Hour  )  const [inline]
 

Definition at line 196 of file Timehasp.h.

References hour.

void TimehaspTime::Init time_t  aTime  )  [private]
 

int TimehaspTime::Minute  )  const [inline]
 

Definition at line 197 of file Timehasp.h.

References minute.

int TimehaspTime::Second  )  const [inline]
 

Definition at line 198 of file Timehasp.h.

References second.

bool TimehaspTime::Valid  )  const [inline]
 

Definition at line 195 of file Timehasp.h.

References valid.


Friends And Related Function Documentation

friend class TimeHasp [friend]
 

Definition at line 182 of file Timehasp.h.


Member Data Documentation

int TimehaspTime::hour [private]
 

Definition at line 204 of file Timehasp.h.

Referenced by Hour().

int TimehaspTime::minute [private]
 

Definition at line 205 of file Timehasp.h.

Referenced by Minute().

int TimehaspTime::second [private]
 

Definition at line 206 of file Timehasp.h.

Referenced by Second().

bool TimehaspTime::valid [private]
 

Definition at line 207 of file Timehasp.h.

Referenced by Valid().


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:47:04 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001