1 //------------------------------------------------------------------------------
2 // MessageInt64ItemTest.h
4 //------------------------------------------------------------------------------
6 #ifndef MESSAGEINT64ITEMTEST_H
7 #define MESSAGEINT64ITEMTEST_H
9 // Standard Includes -----------------------------------------------------------
11 // System Includes -------------------------------------------------------------
13 // Project Includes ------------------------------------------------------------
15 // Local Includes --------------------------------------------------------------
16 #include "MessageItemTest.h"
18 // Local Defines ---------------------------------------------------------------
20 // Globals ---------------------------------------------------------------------
22 typedef TMessageItemFuncPolicy
30 &BMessage::ReplaceInt64
34 struct TInt64InitPolicy
: public ArrayTypeBase
<int64
>
36 inline static int64
Zero() { return 0; }
37 inline static int64
Test1() { return 1234; }
38 inline static int64
Test2() { return 5678; }
39 inline static size_t SizeOf(const int64
&) { return sizeof (int64
); }
40 inline static ArrayType
Array()
50 typedef TMessageItemAssertPolicy
56 typedef TMessageItemTest
64 TMessageInt64ItemTest
;
66 #endif // MESSAGEINT64ITEMTEST_H