Stride Reference Manual  1.0
ConfigDataType.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "H5Cpp.h"
4 
5 using namespace H5;
6 
7 namespace stride {
8 struct ConfigDataType {
9  static CompType getCompType() {
10  StrType str_type(0, H5T_VARIABLE);
11  CompType type_conf_data(sizeof(ConfigDataType));
12  type_conf_data.insertMember(H5std_string("config_content"), HOFFSET(ConfigDataType, m_config_content),
13  str_type);
14  type_conf_data.insertMember(H5std_string("disease_content"), HOFFSET(ConfigDataType, m_disease_content),
15  str_type);
16  type_conf_data.insertMember(H5std_string("age_contact_content"), HOFFSET(ConfigDataType, m_age_contact_content),
17  str_type);
18  type_conf_data.insertMember(H5std_string("holidays_content"), HOFFSET(ConfigDataType, m_holidays_content),
19  str_type);
20 
21  return type_conf_data;
22  }
23 
24  const char* m_config_content;
25  const char* m_disease_content;
26  const char* m_holidays_content;
27  const char* m_age_contact_content;
28 };
29 }
const char * m_holidays_content
const char * m_disease_content
Time Dependent Person DataType.
Definition: NoBehaviour.h:17
static CompType getCompType()
Definition: ConfigDataType.h:9
const char * m_config_content
const char * m_age_contact_content