SpikeStream Library  0.2
ArchiveInfo.h
Go to the documentation of this file.
00001 #ifndef ARCHIVEINFO_H
00002 #define ARCHIVEINFO_H
00003 
00004 //Qt includes
00005 #include <QString>
00006 #include <QDateTime>
00007 
00008 namespace spikestream {
00009 
00011     class ArchiveInfo {
00012                 public:
00013                         ArchiveInfo();
00014                         ArchiveInfo(unsigned int id, unsigned int networkID, unsigned int unixTimestamp, const QString& description);
00015                         ArchiveInfo(const ArchiveInfo& archInfo);
00016                         ~ArchiveInfo();
00017                         ArchiveInfo& operator=(const ArchiveInfo& rhs);
00018 
00019                         unsigned int getID() { return id; }
00020                         unsigned int getNetworkID() { return networkID; }
00021                         QDateTime getDateTime() { return startDateTime; }
00022                         QString getDescription() { return description; }
00023                         void reset();
00024                         void setDateTime(const QDateTime& dateTime) { this->startDateTime = dateTime; }
00025                         void setDescription(const QString& description) { this->description = description; }
00026                         void setID(unsigned int id) { this->id = id; }
00027                         void setNetworkID(unsigned int netID) { this->networkID = netID; }
00028 
00029                 private:
00030                         //=========================  VARIABLES  ===========================
00032                         unsigned int id;
00033                         unsigned int networkID;
00034                         QDateTime startDateTime;
00035                         QString description;
00036 
00037                 };
00038 
00039 }
00040 
00041 #endif//ARCHIVEINFO_H
00042 
00043 
 All Classes Files Functions Variables Typedefs Defines