1 //------------------------------------------------------------------------------
2 // MessageInt16ItemTest.h
4 //------------------------------------------------------------------------------
6 #ifndef MESSAGEINT16ITEMTEST_H
7 #define MESSAGEINT16ITEMTEST_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::ReplaceInt16
34 struct TInt16InitPolicy
: public ArrayTypeBase
<int16
>
36 inline static int16
Zero() { return 0; }
37 inline static int16
Test1() { return 1234; }
38 inline static int16
Test2() { return 5678; }
39 inline static size_t SizeOf(const int16
&) { return sizeof (int16
); }
40 inline static ArrayType
Array()
50 typedef TMessageItemAssertPolicy
56 typedef TMessageItemTest
64 TMessageInt16ItemTest
;
67 #endif // MESSAGEINT16ITEMTEST_H