Timestamp.h

Go to the documentation of this file.
00001 /*
00002  * $Id: Timestamp.h 562 2007-12-02 08:04:16Z mindstorm2600 $
00003  *
00004  * X-VR2 
00005  * 
00006  * Copyright (C) Juan V. Guerrero 2007
00007  * 
00008  * Juan V. Guerrero <mindstorm2600@users.sourceforge.net>
00009  * 
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License Version 2. See the LICENSE file
00012  * at the top of the source tree.
00013  */
00014 #ifndef __XVR2_TIMESTAMP_H__
00015 #define __XVR2_TIMESTAMP_H__
00016 
00017 #include<xvr2/Time.h>
00018 #include<xvr2/CoreExceptions.h>
00019 
00020 namespace xvr2{
00021 
00026         class Timestamp:public Date{
00027                 public:
00028                         Timestamp();
00029                         Timestamp(const Timestamp *t);
00030                         Timestamp(const Timestamp &t);
00031                         Timestamp(const char *f, const char *t);
00032                         Timestamp(UInt32 tstamp);
00033                         Timestamp &operator=(const Timestamp &t);
00034                         ~Timestamp();
00036                         int Hour();
00038                         int Minute();
00040                         int Second();
00042                         UInt32 timestamp();
00043                         //const std::string &toString();
00044         };
00045 }
00046 
00047 #endif

Generated on Fri Jun 20 22:55:47 2008 for X-VR2 SDK by  doxygen 1.5.5