Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Object.cxx
1/*
2 * HalPack.cxx
3 *
4 * Created on: 21-10-2014
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#include "Object.h"
11
12#include <TCollection.h>
13
14namespace Hal {
15
17
18 TString Object::GetExtractType() const { return "String"; }
19
20 TString Object::HTMLExtract(Int_t /*no*/, TString /*dir*/) const { return "NULL"; }
21
22 Object::~Object() {}
23
24 void Object::Add(const Object* /*pack*/) {}
25
26 Long64_t Object::Merge(TCollection* collection) {
27 if (collection) {
28 Object* pack = nullptr;
29 TIter iterator(collection);
30 while ((pack = (Object*) iterator())) {
31 Add(pack);
32 }
33 }
34 return 1;
35 }
36} // namespace Hal
virtual TString GetExtractType() const
Definition Object.cxx:18
virtual Long64_t Merge(TCollection *collection)
Definition Object.cxx:26
virtual void Add(const Object *pack)
Definition Object.cxx:24
virtual TString HTMLExtract(Int_t, TString="") const
Definition Object.cxx:20