Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
using_Hg.h
Go to the documentation of this file.
1 /// @file using_Hg.h
2 ///
3 /// Implements message parsing by using Hg.
4 ///
5 /// The MIT License(MIT)
6 /// @copyright 2014 Paul M Watt
7 // ****************************************************************************
8 #ifndef USING_HG_H_INCLUDED
9 #define USING_HG_H_INCLUDED
10 // Includes *******************************************************************
11 #include <benchmark_util.h>
12 #include <benchmark_formats.h>
13 
14 namespace alchemy
15 {
16 namespace benchmark
17 {
18 
19 struct UsingHg
20 {
21  static
22  void test_no_conversion(DataBuffer &data,
23  DataBuffer &out);
24 
25  static
26  void test_basic(DataBuffer &data,
27  DataBuffer &out);
28 
29  static
30  void test_packed_bits(DataBuffer &data,
31  DataBuffer &out);
32 
33  static
34  void test_unaligned(DataBuffer &data,
35  DataBuffer &out);
36 
37  static
38  void test_complex(DataBuffer &data,
39  DataBuffer &out);
40 
41  static
42  void test_array(DataBuffer &data,
43  DataBuffer &out);
44 
45 };
46 
47 } // benchmark
48 } // alchemy
49 
50 
51 #endif