|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
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){
144 void 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);
virtual void AddAlg(std::string alg)
virtual TIter GetAllLib() const
virtual TIter GetAllAlg() const
ClassImp(xAOD::TFileChecker) namespace xAOD
HanConfigCompAlg & operator=(const HanConfigCompAlg &other)
TSeqCollection * m_subAlgs
std::ostream & operator<<(std::ostream &o, const dqi::HanConfigCompAlg &p)
TSeqCollection * newTList(const char *name, TObject *obj=0)
virtual void SetName(std::string name)
virtual void PrintIOStream(std::ostream &o) const
virtual const char * GetName() const
virtual void AddLib(std::string lib)
virtual ~HanConfigCompAlg()