CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <CalibMySQLCnvSvc.h>
Public Member Functions | |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
virtual StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) |
Create a transient representation from another rep of this object. | |
virtual StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
Resolve the references of the created transient object. | |
virtual StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *pObject) |
Update a transient representation from another rep of this object. | |
virtual StatusCode | updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
Update the references of an updated transient object. | |
virtual StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) |
Convert a transient object to a requested representation. | |
virtual StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
Resolve the references of a converted object. | |
virtual StatusCode | updateRep (IOpaqueAddress *pAddress, DataObject *pObject) |
Update a converted representation of a transient object. | |
virtual StatusCode | updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
Update the references of an already converted object. | |
virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress) |
Create an address using explicit arguments to identify a single object. | |
virtual StatusCode | createCalib (DataObject *&refpObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0) |
virtual StatusCode | updateCalib (DataObject *pObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0) |
virtual StatusCode | decodeDescription (const std::string &description, unsigned char &type) |
Decode the string storage type to enumerated storage type. | |
virtual calibUtil::Metadata * | getMeta () |
Handle to the MySQL metadata database. | |
StatusCode | getSftParVer (std::string &SftVer, std::string &CalParVer, int &runfrm, int &runto, int RunNo, std::string BossRelease, std::string DataType) |
Public Member Functions inherited from ICalibMetaCnvSvc |
Protected Member Functions | |
CalibMySQLCnvSvc (const std::string &name, ISvcLocator *svc) | |
virtual | ~CalibMySQLCnvSvc () |
Friends | |
class | SvcFactory< CalibMySQLCnvSvc > |
Only factories can access protected constructors. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ICalibMetaCnvSvc | |
static const InterfaceID & | interfaceID () |
Interface ID of this class. | |
A conversion service for GLAST calibration metadata database persistency. Allows to create and update condition data objects (i.e. DataObjects implementing IValidity).
Adapted from LHCb class DetCond/ConditionsDBCnvSvc by Andrea Valassi
Definition at line 33 of file CalibMySQLCnvSvc.h.
|
protected |
Definition at line 65 of file CalibMySQLCnvSvc.cxx.
|
protectedvirtual |
Definition at line 122 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Create an address using explicit arguments to identify a single object.
Overload ConversionSvc implementation of createAddress.
Create an address using explicit arguments to identify a single object. Par[0] is full path in calibration TDS
Definition at line 367 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Create a calib DataObject by calib type name, flavor and time. This method does not register DataObject in the transient data store. The string storage type is discovered at runtime in the Metadata dbs.
Create a calib DataObject by calib type, flavor, time and instrument. This method does not register DataObject in the transient data store, [but may register TDS addresses for its children if needed (e.g. Catalog).
create a temporary address containing storage type and classID;
Implements ICalibMetaCnvSvc.
Definition at line 453 of file CalibMySQLCnvSvc.cxx.
Referenced by createObj().
|
virtual |
Create a transient representation from another rep of this object.
Create a transient representation from another representation of an object. Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters. (The typical conversion service delegates this to an appropriate converter)
Definition at line 248 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Convert a transient object to a requested representation.
Convert a transient object to a requested representation. Not implemented. Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters.
Definition at line 324 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Decode the string storage type to enumerated storage type.
Definition at line 1352 of file CalibMySQLCnvSvc.cxx.
Referenced by createCalib(), and updateCalib().
|
virtual |
Resolve the references of the created transient object.
Resolve the references of the created transient object. (Actually, don't, because this operation isn't supported, nor is it needed for the conversion service.) Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters.
Definition at line 278 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Resolve the references of a converted object.
Resolve the references of a converted object. [actually, don't. Calib data doesn't have any inter-object references.] Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters.
Definition at line 336 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Definition at line 220 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Handle to the MySQL metadata database.
Implements ICalibMetaCnvSvc.
Definition at line 1376 of file CalibMySQLCnvSvc.cxx.
StatusCode CalibMySQLCnvSvc::getSftParVer | ( | std::string & | SftVer, |
std::string & | CalParVer, | ||
int & | runfrm, | ||
int & | runto, | ||
int | RunNo, | ||
std::string | BossRelease, | ||
std::string | DataType ) |
Definition at line 393 of file CalibMySQLCnvSvc.cxx.
Referenced by createCalib(), and updateCalib().
|
virtual |
Definition at line 124 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Definition at line 230 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Update a condition DataObject by This method does not register DataObject in the transient data store. The string storage type is discovered at runtime in the metadata dbs.
Update a calib DataObject by calib type, flavor,and instrument if necessary. This method does not register DataObject in the transient data store, The string storage type is discovered at runtime in the MySQL dbs. Implementation:
Implements ICalibMetaCnvSvc.
Definition at line 943 of file CalibMySQLCnvSvc.cxx.
Referenced by updateObj().
|
virtual |
Update a transient representation from another rep of this object.
Update a transient representation from another representation of an object. Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters.
Definition at line 287 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Update the references of an updated transient object.
Update the references of an updated transient object. [actually, don't. Calib data doesn't have any inter-object references.] Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters.
Definition at line 315 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Update a converted representation of a transient object.
Update a converted representation of a transient object. Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters.
Definition at line 346 of file CalibMySQLCnvSvc.cxx.
|
virtual |
Update the references of an already converted object.
Update the references of an already converted object. Overloaded from ConversionSvc because CalibMySQLCnvSvc has no converters. Don't do anything because calib objects have no inter-object references.
Definition at line 357 of file CalibMySQLCnvSvc.cxx.
|
friend |
Only factories can access protected constructors.
Definition at line 1 of file CalibMySQLCnvSvc.h.