5#include "GaudiKernel/CnvFactory.h"
6#include "GaudiKernel/IOpaqueAddress.h"
7#include "GaudiKernel/DataObject.h"
8#include "GaudiKernel/IAddressCreator.h"
9#include "GaudiKernel/IDataProviderSvc.h"
10#include "GaudiKernel/IConversionSvc.h"
11#include "GaudiKernel/MsgStream.h"
12#include "GaudiKernel/GenericAddress.h"
14#include "CalibSvc/ICalibXmlSvc.h"
15#include "CalibSvc/ICalibMetaCnvSvc.h"
17#include "CalibData/CalibTest1.h"
18#include "CalibData/CalibTime.h"
53 DataObject*& refpObject)
58 DOMElement* child = Dom::findFirstChildByName(element,
"data");
59 if (child == 0)
return StatusCode::FAILURE;
60 child = Dom::findFirstChildByName(child,
"leaf");
61 if (child == 0)
return StatusCode::FAILURE;
63 std::string name = Dom::getAttribute(child,
"name");
70 value = Dom::getIntAttribute(child,
"value");
73 std::cerr <<
"From CalibSvc::XmlTest1Cnv::i_crateObj " << std::endl;
74 std::cerr << ex.
getMsg() << std::endl;
80 return StatusCode::SUCCESS;
const CLID CLID_Calib_CalibTest1
const ICnvFactory & XmlTest1CnvFactory
const CLID & objType() const
virtual StatusCode i_createObj(const DOMElement *element, DataObject *&refpObject)
XmlTest1Cnv(ISvcLocator *svcs)
static const CLID & classID()
Base exception class for Dom.
virtual std::string getMsg()