Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __BARRY_RECORD_PIN_MESSAGE_H__
00024 #define __BARRY_RECORD_PIN_MESSAGE_H__
00025
00026 #include "dll.h"
00027 #include "r_message_base.h"
00028
00029 namespace Barry {
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 class BXEXPORT PINMessage : public MessageBase
00040 {
00041 public:
00042 void Clear()
00043 {
00044 MessageBase::Clear();
00045
00046 RecType = GetDefaultRecType();
00047 RecordId = 0;
00048 }
00049
00050
00051 static const char * GetDBName() { return "PIN Messages"; }
00052 static uint8_t GetDefaultRecType() { return 0; }
00053 };
00054
00055 BXEXPORT inline std::ostream& operator<<(std::ostream &os, const PINMessage &msg) {
00056 msg.Dump(os);
00057 return os;
00058 }
00059
00060
00061
00062 }
00063
00064 #endif // __BARRY_RECORD_PIN_MESSAGE_H__
00065
00066