2#ifndef CalibData_XmlBaseCnv_h
3#define CalibData_XmlBaseCnv_h
15#include "GaudiKernel/Converter.h"
16#include "GaudiKernel/CnvFactory.h"
17#include <xercesc/dom/DOMElement.hpp>
33using XERCES_CPP_NAMESPACE_QUALIFIER DOMElement;
51 virtual StatusCode
createObj(IOpaqueAddress* addr,
52 DataObject*& refpObject);
66 XmlBaseCnv(ISvcLocator* svc,
const CLID& clid);
83 DataObject*& refpObject,
84 IOpaqueAddress* address);
97 virtual StatusCode
i_createObj (
const DOMElement* element,
98 DataObject*& refpObject);
102 IOpaqueAddress* address);
107 virtual StatusCode
readHeader(
const DOMElement*);
135 std::string valName, std::string sigName);
140 std::string sigName);
ICalibMetaCnvSvc * m_metaSvc
CalibData::ValSig * processValSig(DOMElement *elt, std::string valName, std::string sigName)
Read in what will become a CalibData::ValSig.
ICalibXmlSvc * getCalibXmlSvc()
std::vector< CalibData::ValSig > * processValSigs(DOMElement *elt, std::string valName, std::string sigName)
Read in what will become a vector of CalibData::ValSig.
virtual StatusCode readHeader(const DOMElement *)
DOMElement * findNextRange(const DOMElement *rangeElt)
Still another one to navigate XML file and find next set of range data.
virtual StatusCode initialize()
void setBaseInfo(CalibData::CalibBase *pObj)
Another utility for derived classes to use.
static const unsigned char storageType()
CalibData::DacCol * processDacCol(DOMElement *dacColElt, unsigned *range)
virtual StatusCode i_processObj(DataObject *pObject, IOpaqueAddress *address)
In case there is additional work to do on the created object.
DOMElement * findNextDacCol(const DOMElement *rangeElt)
Still another one to navigate XML file and find next dac collection.
DOMElement * findFirstRange(const DOMElement *docElt)
DOMElement * findFirstDacCol(const DOMElement *docElt)
Another one to find first dac collection element.
virtual StatusCode internalCreateObj(const DOMElement *element, DataObject *&refpObject, IOpaqueAddress *address)
virtual StatusCode finalize()
virtual StatusCode createObj(IOpaqueAddress *addr, DataObject *&refpObject)
XmlBaseCnv(ISvcLocator *svc, const CLID &clid)
virtual StatusCode i_createObj(const DOMElement *element, DataObject *&refpObject)