1 #ifndef ROOTHISTCNV_ROOTOBJADDRESS_H 2 #define ROOTHISTCNV_ROOTOBJADDRESS_H 1 5 #include "boost/utility/string_ref.hpp" 24 unsigned long m_ipar[2] = {0xFFFFFFFF, 0xFFFFFFFF};
37 , m_svcType( copy.m_svcType )
38 , m_clID( copy.m_clID )
39 , m_pRegistry( copy.m_pRegistry )
40 , m_tObj( copy.m_tObj )
42 m_par[0] = copy.
m_par[0];
43 m_par[1] = copy.
m_par[1];
44 m_ipar[0] = copy.
m_ipar[0];
45 m_ipar[1] = copy.
m_ipar[1];
49 RootObjAddress(
long svc,
const CLID& clid, boost::string_ref p1 = {}, boost::string_ref p2 = {},
50 unsigned long ip1 = 0,
unsigned long ip2 = 0, TObject*
tObj = nullptr )
53 m_par[0] = p1.to_string();
54 m_par[1] = p2.to_string();
65 if ( 0 == cnt )
delete this;
83 const unsigned long*
ipar()
const override {
return m_ipar; }
const unsigned long * ipar() const override
Retrieve integer parameters.
unsigned long release() override
release reference to object
IRegistry * m_pRegistry
Pointer to corresponding directory.
virtual void setClID(const CLID &clid)
Access : Set class ID of the link.
unsigned long m_ipar[2]
Integer parameters to be accessed.
std::string m_par[2]
String parameters to be accessed.
void setRegistry(IRegistry *pRegistry) override
Set pointer to directory.
long svcType() const override
Access : retrieve the storage type of the class id.
const std::string * par() const override
Retrieve string parameters.
virtual void setSvcType(long typ)
Access : set the storage type of the class id.
IRegistry * registry() const override
Pointer to directory.
RootObjAddress(const RootObjAddress ©)
RootObjAddress()=default
Dummy constructor.
virtual TObject * tObj() const
Retrieve TObject* ptr.
RootObjAddress(long svc, const CLID &clid, boost::string_ref p1={}, boost::string_ref p2={}, unsigned long ip1=0, unsigned long ip2=0, TObject *tObj=nullptr)
Standard Constructor.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
unsigned int CLID
Class ID definition.
TObject * m_tObj
Pointer to TObject.
const CLID & clID() const override
Access : Retrieve class ID of the link.
long m_svcType
Storage type.
unsigned long addRef() override
Add reference to object.
Opaque address interface definition.