6 #include "HDFcontainerObject.hxx"
7 #include "HDFexception.hxx"
10 HDFcontainerObject::HDFcontainerObject(char *name)
11 : HDFinternalObject(name)
18 HDFcontainerObject::~HDFcontainerObject()
20 HDFinternalObject *sonToDelete = 0;
23 sonToDelete = _firstson;
24 _firstson = _firstson->GetNextBrother();
25 // MESSAGE("son to delete: " << sonToDelete);
28 // MESSAGE("destruction: " << this);
31 int HDFcontainerObject::nInternalObjects()
36 void HDFcontainerObject::InternalObjectIndentify(int rank, char *object_name)
41 void HDFcontainerObject::AddSon(HDFinternalObject *son)
43 // MESSAGE("add son ") MESSAGE("add to this" << this);
44 // MESSAGE("add son " << son);
45 // MESSAGE("firstson " << _firstson);
46 // MESSAGE("lastson " << _lastson);
55 _lastson->SetNextBrother(son);
56 son->SetPreviousBrother(_lastson);
60 // MESSAGE("firstson " << _firstson);
61 // MESSAGE("lastson " << _lastson);
64 HDFinternalObject *HDFcontainerObject::GetFirstSon()
69 HDFinternalObject *HDFcontainerObject::GetLastSon()
74 int HDFcontainerObject::nSons()