![]() |
ATLAS Offline Software
|
#include <TrigSpacePointCounts_p1_old_cnv.h>
Public Member Functions | |
| virtual void | Convert (TrigSpacePointCounts_p1 *newobj, const TrigSpacePointCounts_p1_old *oldobj) |
| Do the conversion. | |
| virtual void | ConvertVoid (void *transobj, const void *persobj) |
| Do the conversion. | |
| TClass * | GetTransClass () |
| Return the transient class, to which we're converting. | |
| TClass * | GetPersClass () |
| Return the persistent class, from which we're converting. | |
| int | GetCheckSum () const |
| Return the checksum of the class from which we're converting. | |
| virtual void * | NewPersObj () |
| Create a new instance of the persistent class. | |
| virtual void | DeletePersObj (void *persobj) |
| Destroy an instance of the persistent class. | |
| virtual void | ReadBuffer (TBuffer &b, void *obj, Version_t version, UInt_t R__S, UInt_t R__c) |
| Read object in non-split mode. | |
Static Public Member Functions | |
| static TClass * | ToClass (const std::string &name) |
| Helper to convert a class name to a Root class pointer. | |
| static TClass * | ToClass (const std::type_info &id) |
Helper to convert a type_info to a Root class pointer. | |
Protected Member Functions | |
| void | SetCtorInfo (UInt_t checksum, TClass *trans_cls, TClass *pers_cls) |
Protected Attributes | |
| void * | fPersObj |
| The temporary persistent object instance, used for conversions (in non-split mode). | |
Private Member Functions | |
| void | CheckStreamInfos () |
| Helper to allow for automatic schema evolution for persistent classes. | |
| void | CheckClasses () |
| Helper to check that the classes have been defined properly. | |
Private Attributes | |
| TClass * | fTransClass |
| The declared transient class. | |
| TClass * | fPersClass |
| The declared persistent class. | |
| UInt_t | fCheckSum |
| The declared checksum. | |
| int | fOldLast |
Used by CheckStreamInfos: the length of the streamerinfo list that we saw on the last CheckStreamInfos call. | |
Definition at line 17 of file TrigSpacePointCounts_p1_old_cnv.h.
|
privateinherited |
Helper to check that the classes have been defined properly.
Check that the class pointers got defined.
Definition at line 188 of file TVirtualConverter.cxx.
|
privateinherited |
Helper to allow for automatic schema evolution for persistent classes.
|
virtual |
Do the conversion.
| transobj | Pointer to an instance of the transient class. |
| persobj | Pointer to an instance of the persistent class. |
An implementation of this must be provided in derived classes. It should initialize the object at transobj from the one at persobj.
Implements TVirtualConverter_T< TrigSpacePointCounts_p1, TrigSpacePointCounts_p1_old >.
Definition at line 10 of file TrigSpacePointCounts_p1_old_cnv.cxx.
|
virtualinherited |
Do the conversion.
| transobj | Pointer to an instance of the transient class. |
| persobj | Pointer to an instance of the persistent class. |
This implementation simply calls the Convert below with the appropriate casting.
Implements TVirtualConverter.
|
virtualinherited |
Destroy an instance of the persistent class.
| persobj | Pointer to the instance to destroy. |
The provided implementation of this uses TClass::Destructor, but you can override it if need be.
Definition at line 263 of file TVirtualConverter.cxx.
|
inherited |
Return the checksum of the class from which we're converting.
Definition at line 238 of file TVirtualConverter.cxx.
|
inherited |
Return the persistent class, from which we're converting.
Definition at line 229 of file TVirtualConverter.cxx.
|
inherited |
Return the transient class, to which we're converting.
Definition at line 220 of file TVirtualConverter.cxx.
|
virtualinherited |
Create a new instance of the persistent class.
The provided implementation of this uses TClass::New, but you can override it if need be.
Definition at line 250 of file TVirtualConverter.cxx.
|
virtualinherited |
Read object in non-split mode.
| b | The source of the data. |
| obj | The object into which we're reading. (This will be the transient object.) |
| version | The version number of the class. |
| R__s | The starting position in the buffer. |
| R__c | The number of bytes for this object in the buffer. |
You normally shouldn't have to worry about this, but it's exposed here so that it can be overridden if needed. It's only used when reading in non-split mode.
Definition at line 282 of file TVirtualConverter.cxx.
|
protectedinherited |
|
staticinherited |
Helper to convert a class name to a Root class pointer.
| name | The name of the class to convert. |
Returns nullptr on failure.
Definition at line 310 of file TVirtualConverter.cxx.
|
staticinherited |
Helper to convert a type_info to a Root class pointer.
| name | The type_info of the class to convert. |
Returns nullptr on failure.
Definition at line 322 of file TVirtualConverter.cxx.
|
privateinherited |
The declared checksum.
Definition at line 261 of file TVirtualConverter.h.
|
privateinherited |
Used by CheckStreamInfos: the length of the streamerinfo list that we saw on the last CheckStreamInfos call.
Definition at line 265 of file TVirtualConverter.h.
|
privateinherited |
The declared persistent class.
Definition at line 258 of file TVirtualConverter.h.
|
protectedinherited |
The temporary persistent object instance, used for conversions (in non-split mode).
Definition at line 271 of file TVirtualConverter.h.
|
privateinherited |
The declared transient class.
Definition at line 255 of file TVirtualConverter.h.