29 TIter nextAlg(other.m_subAlgs);
31 while((otherAlg =
dynamic_cast<TObjString*
>(nextAlg())) != 0){
32 TObjString* alg =
new TObjString(*otherAlg);
35 TIter nextLib(other.m_libs);
37 while((otherLib =
dynamic_cast<TObjString*
>(nextLib())) != 0){
38 TObjString* lib =
new TObjString(*otherLib);
46 if (
this == &other)
return *
this;
48 this->
m_name = other.m_name;
51 TIter nextAlg(other.m_subAlgs);
53 while((otherAlg =
dynamic_cast<TObjString*
>(nextAlg())) != 0){
54 TObjString* alg =
new TObjString(*otherAlg);
57 TIter nextLib(other.m_libs);
59 while((otherLib =
dynamic_cast<TObjString*
>(nextLib())) != 0){
60 TObjString* lib =
new TObjString(*otherLib);
78 this->
m_name.SetString(name.c_str());
85 return this->
m_name.GetName();
92 TObjString* newAlg =
new TObjString(alg.c_str());
107 TObjString* newLib =
new TObjString(lib.c_str());
108 this->
m_libs->Add(newLib);
115 return TIter(this->
m_libs);
122 o <<
"\nHanConfigCompAlg: " << this->
GetName() <<
"\n";
125 o <<
" Sub-Algorithms = {\n";
128 while((alg=
dynamic_cast<TObjString*
>(nextAlg()))!=0){
133 if (!(
m_libs->IsEmpty())) {
134 o <<
" Libraries = {\n";
137 while((lib=
dynamic_cast<TObjString*
>(nextLib()))!=0){
144void HanConfigCompAlg::Streamer(TBuffer &R__b)
148 if (R__b.IsReading()) {
150 R__b.ReadClassBuffer(dqi::HanConfigCompAlg::Class(),
this);
152 R__b.WriteClassBuffer(dqi::HanConfigCompAlg::Class(),
this);
std::ostream & operator<<(std::ostream &o, const dqi::HanConfigCompAlg &p)
ClassImp(xAOD::Experimental::RFileChecker) namespace xAOD
virtual TIter GetAllLib() const
virtual TIter GetAllAlg() const
virtual void PrintIOStream(std::ostream &o) const
virtual const char * GetName() const
TSeqCollection * m_subAlgs
HanConfigCompAlg & operator=(const HanConfigCompAlg &other)
virtual ~HanConfigCompAlg()
virtual void AddAlg(std::string alg)
virtual void SetName(std::string name)
virtual void AddLib(std::string lib)
TSeqCollection * newTList(const char *name, TObject *obj=0)