using namespace std;
#include "hdataobject.h"
#include "hcategory.h"
#include <iostream>
#include <iomanip>
TObject *gNullObject=NULL;
ClassImp(HDataObject)
void HDataObject::setLocation(HLocation &aLoc) {
if (!fLocation) delete fLocation;
fLocation=new HLocation(aLoc);
}
HDataObjId *HDataObject::getId(void) {
HDataObjId *id;
if (fLocation) id=new HDataObjId(getCategory(),(*fLocation));
else id=NULL;
return id;
}
HLocation *&HDataObject::getLocation(void) {
return fLocation;
}
Cat_t HDataObject::getCategory(void) {
return catInvalid;
}
Bool_t HDataObject::HasIdentifier(void) {
return (fLocation==NULL)?kFALSE:kTRUE;
}
Last change: Sat May 22 12:54:20 2010
Last generated: 2010-05-22 12:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.