15 #include "JAAnet/JAAnetDictionary.hh"
54 JRootReadableClass cls(*
this);
56 for (JEquation equation; reader >> equation && equation.getKey() != end_event::Class_Name(); ) {
58 JRedirectString redirect(reader, equation.getValue());
60 const JRootReadableClass abc = cls.find(equation.getKey().c_str());
63 reader.getObject(abc);
66 (*this)[equation.getKey()] = equation.getValue();
86 JRootWritableClass cls(*
this);
88 TIterator* i = cls.getClass()->GetListOfDataMembers()->MakeIterator();
90 for (
const TDataMember* p; (p = (
const TDataMember*) i->Next()) != NULL; ) {
91 if (!JRootClass::is_static(*p)) {
92 if (this->find(p->GetName()) != this->end() ||
95 writer.put(p->GetName(), cls.get(*p),
true);
119 JRootWritableClass cls(*
this);
121 TIterator* i = cls.getClass()->GetListOfDataMembers()->MakeIterator();
125 for (
const TDataMember* p; (p = (
const TDataMember*) i->Next()) != NULL; ) {
126 if (!JRootClass::is_static(*p)) {
128 writer.put(p->GetName(), cls.get(*p),
true);
130 end_event = make_pair(p->GetName(), cls.get(*p));
134 for (JHead::const_iterator i = this->begin(); i != this->end(); ++i) {
135 if (!cls.find(i->first.c_str()).
is_valid()) {
158 JRootReadableClass cls(to);
160 for (Head::const_iterator i = from.begin(); i != from.end(); ++i) {
162 const JRootReadableClass& abc = cls.find(
getTag(i->first).c_str());
164 if (abc.is_valid()) {
166 JRedirectString redirect(reader, i->second);
168 reader.getObject(abc);
171 if (i->first ==
getTag(i->first)) {
198 for (JHead::const_iterator i = from.begin(); i != from.end(); ++i) {
199 if (to.find(i->first) == to.end()) {