summaryrefslogtreecommitdiffstats
path: root/nsframework/framework_unified/client/include/native_service/ns__CWORD77__data_pool_table.h
blob: 73f6a2034634d46db158c79cedec9ae2b3dcb4b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
/*
 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

////////////////////////////////////////////////////////////////////////////////
/// \ingroup  tag_HMI_CWORD77_Controller
/// \brief
///
////////////////////////////////////////////////////////////////////////////////
//@{
/**
 * @file ns__CWORD77__data_pool_table.h
 * @brief \~english This file provides API for convert and C_CWORD77_DataPool class
 *
 */
/** @addtogroup BaseSystem
 *  @{
 */
/** @addtogroup native_service
 *  @ingroup BaseSystem
 *  @{
 */
/** @addtogroup framework_unified
 *  @ingroup native_service
 *  @{
 */
/** @addtogroup _CWORD77_
 *  @ingroup framework_unified
 *  @{
 */
#ifndef _CWORD77__DATA_POOL_TABLE_H_  // NOLINT  (build/header_guard)
#define _CWORD77__DATA_POOL_TABLE_H_

#include <native_service/ns__CWORD77__common.h>
#include <sstream>
#include <map>
#include <string>
#include <vector>

/// Enumeration for Type of Table
typedef enum _ETableType {
  REQUEST_TABLE = 1,
  RESPONSE_TABLE
} ETableType, *PETableType;

/// Enumeration for Data Type
typedef enum _EDataType {
  UNKNOWNTYPE = -1,
  SIGNEDINT,
  UNSIGNEDINT,
  FLOAT,
  DOUBLE,
  CHARACTER,
  BOOLEAN,
  STRING,
} EDataType, *PEDataType;

/// _CWORD77_ Data structure
typedef struct __CWORD77_Data {
  EDataType DataType;
  std::string DataValue;
} _CWORD77_Data, *P_CWORD77_Data;

typedef std::map< _CWORD77_DataPoolKey, std::vector< CHAR > > T_CWORD77_DataPool;


////////////////////////////////////////////////////////////////////////////////////////////
///   NoOfElementsinData
/// Function to get number of elements for given string
///
/// \param  [in] Input
///     string - string
///
/// \return UI_32 - Number of elements
///
////////////////////////////////////////////////////////////////////////////////////////////
UI_32 NoOfElementsinData(std::string Input);

/// Template to Convert Number to String

template <typename T>
std::string NumberToString(T Number) {
  std::ostringstream ss;
  ss << Number;
  return ss.str();
}

/// Template to convert String to Number

template <typename T>
T StringToNumber(const std::string &Text) {
  std::istringstream ss(Text);
  T result;
  ss >> result;
  return result;
}

/// Template to Convert an Array To String

template<class T>
std::string ConvertArrayToString(T *Array, int Arraysize) {
  int length = 0;
  std::string Result = "";
  while (length < Arraysize) {
    Result.append(NumberToString<T>(Array[length]));
    Result.append(",");
    length++;
  }
  Result.append("");
  return Result;
}

/// Template to Convert String To Array
template<class T>
void ConvertStringToArray(std::string Input, std::vector<T> &Array, UI_32 &Arraysize) {  // NOLINT  (readability/nolint)
  int i = 0;
  std::string first = "";
  std::istringstream ss(Input);
  int Size = NoOfElementsinData(Input);
  // T Arr[Size];
  while (!ss.eof()) {
    getline(ss, first, ',');
    if (first != "") {
      Array[i] = StringToNumber<T>(first);
      i++;
    }
  }
  Arraysize = i;
  // memcpy(Array,(void *)Arr,Arraysize*sizeof(T));
}

////////////////////////////////////////////////////////////////////////////////////////////
///   ConvertArrayStringsToString
/// Function to convert array of strings to string
///
/// \param  [in] strArr
///     string * - pointer to array of strings
/// \param  [in] Size
///     SI_32 - Number of strings
///
/// \return string
///
////////////////////////////////////////////////////////////////////////////////////////////
std::string ConvertArrayStringsToString(std::string *strArr, SI_32 Size);


////////////////////////////////////////////////////////////////////////////////////////////
///   ConvertArrayStringsToString
/// Function to convert string to array of strings
///
/// \param  [in] Input
///     string - string contains array of strings
/// \param  [out] strArr
///     string * - Pointer to Array of strings
/// \param  [out] ArraySize
///     UI_32 - No of elements in Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
void ConvertStringToArrString(std::string Input, std::string *strArr, UI_32 &ArraySize);  // NOLINT  (readability/nolint)

///////////////////////////////////////////////////////////////////////////
/// class: C_CWORD77_DataPool
/// Description: This is interface class to _CWORD77_ Data base.
/// It provides APIs to set and get data from _CWORD77_ Data base
///
////////////////////////////////////////////////////////////////////////////
class C_CWORD77_DataPool {
 private:
  std::map<UI_32, _CWORD77_Data> m__CWORD77_DataRequestTable;   ///< Request Data Table
  std::map<UI_32, _CWORD77_Data> m__CWORD77_DataResponseTable;  ///< Response Data Table

  static C_CWORD77_DataPool *m_p_CWORD77_DataPoolInstance;  ///< Static instance to C_CWORD77_DataPool

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetData
  /// Templatized Function to get data from _CWORD77_ Data base
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     string  - Variable Name or key value
  /// \param  [out] Array
  ///     T * - Pointer to an array of given type
  /// \param  [out] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////

  template<class T>
  void GetData(ETableType TableType, UI_32 VarName, T *Array, UI_32 &ArraySize) {  // NOLINT  (readability/nolint)
    EDataType DataType = SIGNEDINT;
    std::string DataValue;
    GetValueFromMap(TableType, VarName, DataType, DataValue);
    UI_32 Num = NoOfElementsinData(DataValue);
    std::vector<T> Temp;
    Temp.resize(Num);
    ConvertStringToArray<T>(DataValue, Temp, ArraySize);
    for (unsigned int i = 0; i < Num; i++) {
      Array[i] = Temp[i];
    }
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetData
  /// Templatized Function to set data into _CWORD77_ Data base
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     string  - Variable Name or key value
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] Array
  ///     T * - Pointer to an array of given type
  /// \param  [in] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void SetData(ETableType TableType, UI_32 VarName, EDataType DataType, T *Array, UI_32 ArraySize) {
    std::string Result = ConvertArrayToString(Array, ArraySize);
    SetValueinMap(TableType, VarName, DataType, Result);
  }

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetValueFromMap
  /// Function to get data from _CWORD77_ map
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     string  - Variable Name or key value
  /// \param  [out] DataType
  ///     EDataType  - Data Type of key
  /// \param  [out] Strvalue
  ///     string - Output in the form of string
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void GetValueFromMap(ETableType TableType, UI_32 VarName, EDataType &DataType, std::string &Strvalue);  // NOLINT  (readability/nolint)

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetValueinMap
  /// Function to set data in _CWORD77_ map
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     string  - Variable Name or key value
  /// \param  [in] VarType
  ///     EDataType  - Data Type of key
  /// \param  [in] Result
  ///     string - input in the form of string
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void SetValueinMap(ETableType TableType, UI_32 VarName, EDataType VarType, std::string Result);

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetArrayStringData
  /// Function to set string data in _CWORD77_ map
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     string  - Variable Name or key value
  /// \param  [in] VarType
  ///     EDataType  - Data Type of key
  /// \param  [in] DataValue
  ///     string [] - Array of strings
  /// \param  [in] Size
  ///     UI_32  - No of elements in Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void SetArrayStringData(ETableType TableType,
                          UI_32 VarName,
                          EDataType VarType,
                          std::string DataValue[],
                          UI_32 size);
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetArrayStringData
  /// Function to get string data in _CWORD77_ map
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [out] DataValue
  ///     string [] - Array of strings
  /// \param  [out] Size
  ///     UI_32  - No of elements in Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void GetArrayStringData(ETableType TableType, UI_32 VarName, std::string DataValue[], UI_32 &size);  // NOLINT  (readability/nolint)

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetNoofElementsofData
  /// Function to get Number of elements in data item
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     UI_32  - key

  ///
  /// \return UI_32 - Number of elements
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  UI_32 GetNoofElementsofData(ETableType TableType, UI_32 Key);
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetDataType
  /// Function to get data type of given key Name
  ///
  /// \param  [in] TableType
  ///     ETableType - Table Type (Request or Response)
  /// \param  [in] VarName
  ///     UI_32  - key

  ///
  /// \return EDataType - Data type of variable
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////

  EDataType GetDataType(ETableType TableType, UI_32 Key);

 public:
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   C_CWORD77_DataPool
  /// Constructor for C_CWORD77_DataPool
  /// \param  None
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  C_CWORD77_DataPool();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   ~C_CWORD77_DataPool
  /// Destructor for C_CWORD77_DataPool
  /// \param  None
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  ~C_CWORD77_DataPool();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetInstance
  /// API to get single instance of C_CWORD77_DataPool
  /// \param  None
  /// \return Pointer to single instance of C_CWORD77_Controller
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  static C_CWORD77_DataPool *GetInstance();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   DeleteInstance
  /// API to delete single instance of C_CWORD77_DataPool
  /// \param  None
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  static void DeleteInstance();

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestArrayData
  /// Templatized Function to set array data into Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] Array
  ///     T * - Pointer to an array of given type
  /// \param  [in] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void SetReqArrayData(UI_32 VarName, EDataType DataType, T *Array, UI_32 ArraySize) {
    SetData<T>(REQUEST_TABLE, VarName, DataType, Array, ArraySize);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestArrayData
  /// Templatized Function to set array data into Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] Array
  ///     T * - Pointer to an array of given type
  /// \param  [in] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void SetRespArrayData(UI_32 VarName, EDataType DataType, T *Array, UI_32 ArraySize) {
    SetData<T>(RESPONSE_TABLE, VarName, DataType, Array, ArraySize);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRequestArrayData
  /// Templatized Function to get array data from Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [out] Array
  ///     T * - Pointer to an array of given type
  /// \param  [out] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void GetReqArrayData(UI_32 VarName, T *Array, UI_32 &ArraySize) {  // NOLINT  (readability/nolint)
    GetData<T>(REQUEST_TABLE, VarName, Array, ArraySize);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRequestArrayData
  /// Templatized Function to get array data from Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [out] Array
  ///     T * - Pointer to an array of given type
  /// \param  [out] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void GetRespArrayData(UI_32 VarName, T *Array, UI_32 &ArraySize) {  // NOLINT  (readability/nolint)
    GetData<T>(RESPONSE_TABLE, VarName, Array, ArraySize);
  }

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestData
  /// Templatized Function to set data into Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] Array
  ///     T  - Data type of key
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void SetReqData(UI_32 VarName, EDataType DataType, T Array) {
    SetData<T>(REQUEST_TABLE, VarName, DataType, &Array, 1);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestData
  /// Templatized Function to set data into Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] Array
  ///     T  - Data type of key
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  void SetRespData(UI_32 VarName, EDataType DataType, T Array) {
    SetData<T>(RESPONSE_TABLE, VarName, DataType, &Array, 1);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRequestData
  /// Templatized Function to get data from Resquest _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return T - value belong to type T
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  T GetReqData(UI_32 VarName) {
    T Data;
    UI_32 ArraySize = 0;
    GetData<T>(REQUEST_TABLE, VarName, &Data, ArraySize);
    return Data;
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetResponseData
  /// Templatized Function to get data from Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return T - value belong to type T
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  template<class T>
  T GetRespData(UI_32 VarName) {
    T Data;
    UI_32 ArraySize = 0;
    GetData<T>(RESPONSE_TABLE, VarName, &Data, ArraySize);
    return Data;
  }

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestArrayStringData
  /// API to set array of string data into Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] DataValue
  ///     string [] - array of strings
  /// \param  [in] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////

  void SetReqArrayStringData(UI_32 VarName, EDataType VarType,  std::string DataValue[], UI_32 size) {
    SetArrayStringData(REQUEST_TABLE, VarName, VarType,  DataValue, size);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestArrayStringData
  /// API to set array of string data into Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] DataValue
  ///     string [] - array of strings
  /// \param  [in] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void SetRespArrayStringData(UI_32 VarName, EDataType VarType,  std::string DataValue[], UI_32 size) {
    SetArrayStringData(RESPONSE_TABLE, VarName, VarType,  DataValue, size);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRequestArrayStringData
  /// API to get array of string data from Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [out] DataValue
  ///     string [] - array of strings
  /// \param  [out] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////

  void GetReqArrayStringData(UI_32 VarName, std::string DataValue[], UI_32 &size) {  // NOLINT  (readability/nolint)
    GetArrayStringData(REQUEST_TABLE, VarName, DataValue, size);
  }

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetResponseArrayStringData
  /// API to get array of string data from Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [out] DataValue
  ///     string [] - array of strings
  /// \param  [out] ArraySize
  ///     UI_32 - No of elements of Array
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void GetRespArrayStringData(UI_32 VarName, std::string DataValue[], UI_32 &size) {  // NOLINT  (readability/nolint)
    GetArrayStringData(RESPONSE_TABLE, VarName, DataValue, size);
  }


  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRequestStringData
  /// API to set string data into Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] DataValue
  ///     string [] - array of strings
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void SetReqStringData(UI_32 VarName, EDataType VarType,  std::string DataValue) {
    UI_32 size = 1;
    SetArrayStringData(REQUEST_TABLE, VarName, VarType,  &DataValue, size);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetResponseStringData
  /// API to set string data into Response _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  /// \param  [in] DataType
  ///     EDataType  - Data Type of key
  /// \param  [in] DataValue
  ///     string [] - array of strings
  ///
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  void SetRespStringData(UI_32 VarName, EDataType VarType,  std::string DataValue) {
    UI_32 size = 1;
    SetArrayStringData(RESPONSE_TABLE, VarName, VarType, &DataValue, size);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRequestStringData
  /// API to get string data from Request _CWORD77_ Data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return string - value of data
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  std::string GetReqStringData(UI_32 VarName) {
    UI_32 size = 0;
    std::string DataValue = "";
    GetArrayStringData(REQUEST_TABLE, VarName, &DataValue, size);
    return DataValue;
  }

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetNoofElementsFromRequestTable
  /// API to get No of elements in a key from request data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return UI_32 - No of elements
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  UI_32 GetReqDataSize(UI_32 Key) {
    return GetNoofElementsofData(REQUEST_TABLE, Key);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetNoofElementsFromResponseTable
  /// API to get No of elements in a key from response data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return UI_32 - No of elements
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////

  UI_32 GetRespDataSize(UI_32 Key) {
    return GetNoofElementsofData(RESPONSE_TABLE, Key);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetDataTypeFromRequestTable
  /// API to get data type of key from request data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return EDataType - Data type of key
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////

  EDataType GetReqDataType(UI_32 Key) {
    return GetDataType(REQUEST_TABLE, Key);
  }
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetDataTypeFromResponseTable
  /// API to get data type of key from response data base
  ///
  /// \param  [in] VarName
  ///     UI_32  - key
  ///
  /// \return EDataType - Data type of key
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  EDataType GetRespDataType(UI_32 Key) {
    return GetDataType(RESPONSE_TABLE, Key);
  }
};

extern C_CWORD77_DataPool g__CWORD77_DataPool;


////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestArrayData
/// Templatized Function to set array data into Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] Array
///     T * - Pointer to an array of given type
/// \param  [in] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
void SetRequestArrayData(UI_32 VarName, EDataType DataType, T *Array, UI_32 ArraySize) {
  g__CWORD77_DataPool.SetReqArrayData(VarName, DataType, Array, ArraySize);
}


////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestArrayData
/// Templatized Function to set array data into Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] Array
///     T * - Pointer to an array of given type
/// \param  [in] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
void SetResponseArrayData(UI_32 VarName, EDataType DataType, T *Array, UI_32 ArraySize) {
  g__CWORD77_DataPool.SetRespArrayData<T>(VarName, DataType, Array, ArraySize);
}
////////////////////////////////////////////////////////////////////////////////////////////
///   GetRequestArrayData
/// Templatized Function to get array data from Request _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [out] Array
///     T * - Pointer to an array of given type
/// \param  [out] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
void GetRequestArrayData(UI_32 VarName, T *Array, UI_32 &ArraySize) {  // NOLINT  (readability/nolint)
  g__CWORD77_DataPool.GetReqArrayData<T>(VarName, Array, ArraySize);
}
////////////////////////////////////////////////////////////////////////////////////////////
///   GetRequestArrayData
/// Templatized Function to get array data from Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [out] Array
///     T * - Pointer to an array of given type
/// \param  [out] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
void GetResponseArrayData(UI_32 VarName, T *Array, UI_32 &ArraySize) {  // NOLINT  (readability/nolint)
  g__CWORD77_DataPool.GetRespArrayData<T>(VarName, Array, ArraySize);
}

////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestData
/// Templatized Function to set data into Request _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] Array
///     T  - Data type of key
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
void SetRequestData(UI_32 VarName, EDataType DataType, T Array) {
  g__CWORD77_DataPool.SetReqData<T>(VarName, DataType, Array);
}
////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestData
/// Templatized Function to set data into Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] Array
///     T  - Data type of key
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
void SetResponseData(UI_32 VarName, EDataType DataType, T Array) {
  g__CWORD77_DataPool.SetRespData<T>(VarName, DataType, Array);
}
////////////////////////////////////////////////////////////////////////////////////////////
///   GetRequestData
/// Templatized Function to get data from Resquest _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return T - value belong to type T
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
T GetRequestData(UI_32 VarName) {
  return g__CWORD77_DataPool.GetReqData<T>(VarName);
}
////////////////////////////////////////////////////////////////////////////////////////////
///   GetResponseData
/// Templatized Function to get data from Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return T - value belong to type T
///
////////////////////////////////////////////////////////////////////////////////////////////
template<class T>
T GetResponseData(UI_32 VarName) {
  return g__CWORD77_DataPool.GetRespData<T>(VarName);
}

////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestArrayStringData
/// API to set array of string data into Request _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] DataValue
///     string [] - array of strings
/// \param  [in] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////

void SetRequestArrayStringData(UI_32 VarName, EDataType VarType,  std::string DataValue[], UI_32 size);


////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestArrayStringData
/// API to set array of string data into Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] DataValue
///     string [] - array of strings
/// \param  [in] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
void SetResponseArrayStringData(UI_32 VarName, EDataType VarType,  std::string DataValue[], UI_32 size);

////////////////////////////////////////////////////////////////////////////////////////////
///   GetRequestArrayStringData
/// API to get array of string data from Request _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [out] DataValue
///     string [] - array of strings
/// \param  [out] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////

void GetRequestArrayStringData(UI_32 VarName, std::string DataValue[], UI_32 &size);  // NOLINT  (readability/nolint)


////////////////////////////////////////////////////////////////////////////////////////////
///   GetResponseArrayStringData
/// API to get array of string data from Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [out] DataValue
///     string [] - array of strings
/// \param  [out] ArraySize
///     UI_32 - No of elements of Array
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
void GetResponseArrayStringData(UI_32 VarName, std::string DataValue[], UI_32 &size);  // NOLINT  (readability/nolint)


////////////////////////////////////////////////////////////////////////////////////////////
///   SetRequestStringData
/// API to set string data into Request _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] DataValue
///     string [] - array of strings
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
void SetRequestStringData(UI_32 VarName, EDataType VarType,  std::string DataValue);

////////////////////////////////////////////////////////////////////////////////////////////
///   SetResponseStringData
/// API to set string data into Response _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
/// \param  [in] DataType
///     EDataType  - Data Type of key
/// \param  [in] DataValue
///     string [] - array of strings
///
/// \return None
///
////////////////////////////////////////////////////////////////////////////////////////////
void SetResponseStringData(UI_32 VarName, EDataType VarType,  std::string DataValue);

////////////////////////////////////////////////////////////////////////////////////////////
///   GetRequestStringData
/// API to get string data from Request _CWORD77_ Data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return string - value of data
///
////////////////////////////////////////////////////////////////////////////////////////////
std::string GetRequestStringData(UI_32 VarName);

////////////////////////////////////////////////////////////////////////////////////////////
///   GetRequestDataLength
/// API to get No of elements in a key from request data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return UI_32 - No of elements
///
////////////////////////////////////////////////////////////////////////////////////////////
UI_32 GetRequestDataLength(UI_32 Key);

////////////////////////////////////////////////////////////////////////////////////////////
///   GetResponseDataLength
/// API to get No of elements in a key from response data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return UI_32 - No of elements
///
////////////////////////////////////////////////////////////////////////////////////////////

UI_32 GetResponseDataLength(UI_32 Key);

////////////////////////////////////////////////////////////////////////////////////////////
///   GetDataTypeFromRequestTable
/// API to get data type of key from request data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return EDataType - Data type of key
///
////////////////////////////////////////////////////////////////////////////////////////////

EDataType GetRequestDataType(UI_32 Key);

////////////////////////////////////////////////////////////////////////////////////////////
///   GetDataTypeFromResponseTable
/// API to get data type of key from response data base
///
/// \param  [in] VarName
///     UI_32  - key
///
/// \return EDataType - Data type of key
///
////////////////////////////////////////////////////////////////////////////////////////////
EDataType GetResponseDataType(UI_32 Key);



class C_CWORD77_Data {
 private:
  T_CWORD77_DataPool m__CWORD77_RequestDataTable;   ///< Request Data Table
  T_CWORD77_DataPool m__CWORD77_ResponseDataTable;    ///< Response Data Table

  // Original data pool
  // Depricated. Remove once all modules migrates to new API's for accessing data pool
  std::map< UI_32, std::vector<CHAR> > m__CWORD77_RequestDataTableOrig;   ///< Request Data Table
  std::map< UI_32, std::vector<CHAR> > m__CWORD77_ResponseDataTableOrig;  ///< Response Data Table

  static C_CWORD77_Data *m_p_CWORD77_DataInstance;          /// instance to C_CWORD77_Data

 public:
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   C_CWORD77_Data
  /// Constructor for C_CWORD77_Data
  /// \param  None
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  C_CWORD77_Data();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   C_CWORD77_Data
  /// Destructor for C_CWORD77_Data
  /// \param  None
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  ~C_CWORD77_Data();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetInstance
  /// API to get single instance of C_CWORD77_Data
  /// \param  None
  /// \return Pointer to single instance of C_CWORD77_Data
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  static C_CWORD77_Data *GetInstance();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   DeleteInstance
  /// API to delete single instance of C_CWORD77_DataPool
  /// \param  None
  /// \return None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  static void DeleteInstance();
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetReqDataIn_CWORD77_DataPool
  /// API to set data associated with request into _CWORD77_ Data Pool
  ///
  /// \param  [in] f_DataPoolKey
  ///     _CWORD77_DataPoolKey  - Data pool key
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return VOID - None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  VOID SetRequData(const _CWORD77_DataPoolKey &f_DataPoolKey, UI_32 f_uiSize, PVOID f_pData);  // NOLINT  (readability/nolint)

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetReqDataIn_CWORD77_DataPool
  /// API to set data associated with request into _CWORD77_ Data Pool
  /// Depricated. Do not use.
  ///
  /// \param  [in] f_uiMsgId
  ///     UI_32  - MsgId
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return VOID - None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  VOID SetRequData(UI_32 f_uiMsgId, UI_32 f_uiSize, PVOID f_pData);
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRespDataIn_CWORD77_DataPool
  /// API to set data associated with response into _CWORD77_ Data Pool
  ///
  /// \param  [in] f_DataPoolKey
  ///     _CWORD77_DataPoolKey  - Data pool key
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return VOID - None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  VOID SetRespoData(const _CWORD77_DataPoolKey &f_DataPoolKey,  // NOLINT  (readability/nolint)
                    UI_32 f_uiSize, const PVOID f_pData);

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   SetRespDataIn_CWORD77_DataPool
  /// API to set data associated with response into _CWORD77_ Data Pool
  /// Depricated. Do not use.
  ///
  /// \param  [in] f_uiMsgId
  ///     UI_32  - MsgId
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return VOID - None
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  VOID SetRespoData(UI_32 f_uiMsgId, UI_32 f_uiSize, const PVOID f_pData);  // NOLINT  (readability/nolint)
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetReqDataIn_CWORD77_DataPool
  /// API to get data associated with request from _CWORD77_ Data Pool
  ///
  /// \param  [in] f_DataPoolKey
  ///     _CWORD77_DataPoolKey  - Data pool key
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return EFrameworkunifiedStatus - Succes or Error
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  EFrameworkunifiedStatus GetRequData(const _CWORD77_DataPoolKey &f_DataPoolKey, UI_32 &f_uiSize,  // NOLINT  (readability/nolint)
                         PVOID &f_pData);  // NOLINT  (readability/nolint)

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetReqDataIn_CWORD77_DataPool
  /// API to get data associated with request from _CWORD77_ Data Pool
  /// Depricated. Do not use.
  ///
  /// \param  [in] f_uiMsgId
  ///     UI_32  - MsgId
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return EFrameworkunifiedStatus - Succes or Error
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  EFrameworkunifiedStatus GetRequData(UI_32 f_uiMsgId, UI_32 &f_uiSize, PVOID &f_pData);  // NOLINT  (readability/nolint)
  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRespDataFrom_CWORD77_DataPool
  /// API to get data associated with response from _CWORD77_ Data Pool
  ///
  /// \param  [in] f_DataPoolKey
  ///     _CWORD77_DataPoolKey  - Data pool key
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return EFrameworkunifiedStatus - Succes or Error
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  EFrameworkunifiedStatus GetRespoData(const _CWORD77_DataPoolKey &f_DataPoolKey,  // NOLINT  (readability/nolint)
                          UI_32 &f_uiSize,  // NOLINT  (readability/nolint)
                          PVOID &f_pData);  // NOLINT  (readability/nolint)

  ////////////////////////////////////////////////////////////////////////////////////////////
  ///   GetRespDataFrom_CWORD77_DataPool
  /// API to get data associated with response from _CWORD77_ Data Pool
  /// Depricated. Do not use.
  ///
  /// \param  [in] f_uiMsgId
  ///     UI_32  - MsgId
  /// \param  [in] f_uiSize
  ///     UI_32  - size of the data
  /// \param  [in] f_pData
  ///     PVOID  - void pointer to data
  ///
  /// \return EFrameworkunifiedStatus - Succes or Error
  ///
  ////////////////////////////////////////////////////////////////////////////////////////////
  EFrameworkunifiedStatus GetRespoData(UI_32 f_uiMsgId, UI_32 &f_uiSize, PVOID &f_pData);  // NOLINT  (readability/nolint)
};

#endif /* _CWORD77__DATA_POOL_TABLE_H_ */  // NOLINT  (build/header_guard)
/** @}*/
/** @}*/
/** @}*/
/** @}*/
//@}