8 static const std::string preFixStr {
"NSWMMTP_"};
10 #define IMPLEMENT_VECTOR(DATA_TYPE, VAR_NAME) \
11 const std::vector<DATA_TYPE>& NSWMMTPRDO_v1::VAR_NAME() const { \
12 static const SG::AuxElement::Accessor<std::vector<DATA_TYPE>> dec{preFixStr+#VAR_NAME};\
15 std::vector<DATA_TYPE>& NSWMMTPRDO_v1::VAR_NAME() { \
16 static const SG::AuxElement::Accessor<std::vector<DATA_TYPE>> dec{preFixStr+#VAR_NAME};\
20 #define IMPLEMENT_SCALAR(DATA_TYPE, VAR_NAME) \
21 DATA_TYPE NSWMMTPRDO_v1::VAR_NAME() const { \
22 static const SG::AuxElement::Accessor<DATA_TYPE> dec{preFixStr+#VAR_NAME};\
25 void NSWMMTPRDO_v1::set_##VAR_NAME(const DATA_TYPE val) { \
26 static const SG::AuxElement::Accessor<DATA_TYPE> dec{preFixStr+#VAR_NAME}; \
71 #undef IMPLEMENT_VECTOR
72 #undef IMPLEMENT_SCALAR