57 static const C::Accessor<int> anInt2 (
"anInt2");
58 static const C::Accessor<int> anInt10 (
"anInt10");
59 static const C::Accessor<int> dInt1 (
"dInt1");
60 static const C::Accessor<unsigned int> dpInt1 (
"dpInt1");
61 static const C::Accessor<std::vector<float> > dpvFloat (
"dpvFloat");
62 static const C::Accessor<int> dInt100 (
"dInt100");
63 static const C::Accessor<int> dInt150 (
"dInt150");
64 static const C::Accessor<int> dInt200 (
"dInt200");
65 static const C::Accessor<int> dInt250 (
"dInt250");
66 static const C::Accessor<ElementLink<DMTest::CVec> > cEL (
"cEL");
70 std::vector<std::string> names;
76 names.push_back (
r.getName(auxid));
78 std::ostringstream ost1;
79 ost1 <<
"cinfo aux items: ";
80 for (
const std::string& n : names)
84 std::ostringstream ost2;
86 <<
" anInt1 " << cinfo->anInt()
87 <<
" aFloat: " << cinfo->aFloat()
88 <<
" anInt2: " << anInt2(*cinfo)
89 <<
" dInt1: " << dInt1(*cinfo)
90 <<
" cEL: " << cEL(*cinfo).dataID()
91 <<
"[" << cEL(*cinfo).index() <<
"]";
92 if (dInt100.isAvailable(*cinfo))
93 ost2 <<
" dInt100: " << dInt100(*cinfo);
94 if (dInt150.isAvailable(*cinfo))
95 ost2 <<
" dInt150: " << dInt150(*cinfo);
96 if (dInt200.isAvailable(*cinfo))
97 ost2 <<
" dInt200: " << dInt200(*cinfo);
98 if (dInt250.isAvailable(*cinfo))
99 ost2 <<
" dInt250: " << dInt250(*cinfo);
100 if (anInt10.isAvailable(*cinfo))
101 ost2 <<
" anInt10: " << anInt10(*cinfo);
105 auto cnew = std::make_unique<DMTest::C>();
106 auto info_store = std::make_unique<DMTest::CInfoAuxContainer>();
107 cnew->setStore (info_store.get());
114 return StatusCode::SUCCESS;