All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RootHistCnv::RootObjAddress Class Reference

#include <src/RootObjAddress.h>

Inheritance diagram for RootHistCnv::RootObjAddress:
Collaboration diagram for RootHistCnv::RootObjAddress:

Public Member Functions

 RootObjAddress ()
 Dummy constructor. More...
 
 RootObjAddress (const RootObjAddress &copy)
 
 RootObjAddress (long svc, const CLID &clid, const std::string &p1="", const std::string &p2="", unsigned long ip1=0, unsigned long ip2=0, TObject *tObj=0)
 Standard Constructor. More...
 
virtual ~RootObjAddress ()
 Standard Destructor. More...
 
virtual unsigned long addRef ()
 Add reference to object. More...
 
virtual unsigned long release ()
 release reference to object More...
 
virtual IRegistry * registry () const
 Pointer to directory. More...
 
virtual void setRegistry (IRegistry *pRegistry)
 Set pointer to directory. More...
 
virtual const CLID & clID () const
 Access : Retrieve class ID of the link. More...
 
virtual void setClID (const CLID &clid)
 Access : Set class ID of the link. More...
 
virtual long svcType () const
 Access : retrieve the storage type of the class id. More...
 
virtual void setSvcType (long typ)
 Access : set the storage type of the class id. More...
 
virtual const std::string * par () const
 Retrieve string parameters. More...
 
virtual const unsigned long * ipar () const
 Retrieve integer parameters. More...
 
virtual TObject * tObj () const
 Retrieve TObject* ptr. More...
 
- Public Member Functions inherited from IOpaqueAddress
virtual ~IOpaqueAddress ()
 destructor More...
 

Protected Attributes

unsigned long m_refCount
 
long m_svcType
 Storage type. More...
 
CLID m_clID
 Class id. More...
 
std::string m_par [2]
 String parameters to be accessed. More...
 
unsigned long m_ipar [2]
 Integer parameters to be accessed. More...
 
IRegistry * m_pRegistry
 Pointer to corresponding directory. More...
 
TObject * m_tObj
 Pointer to TObject. More...
 

Detailed Description

Definition at line 10 of file RootObjAddress.h.

Constructor & Destructor Documentation

RootHistCnv::RootObjAddress::RootObjAddress ( )
inline

Dummy constructor.

Definition at line 32 of file RootObjAddress.h.

33  : m_refCount(0),
34  m_svcType(0),
35  m_clID(0),
36  m_pRegistry(0),
37  m_tObj(0)
38  {
39  m_ipar[0]=m_ipar[1]=0xFFFFFFFF;
40  }
IRegistry * m_pRegistry
Pointer to corresponding directory.
unsigned long m_ipar[2]
Integer parameters to be accessed.
TObject * m_tObj
Pointer to TObject.
long m_svcType
Storage type.
RootHistCnv::RootObjAddress::RootObjAddress ( const RootObjAddress &  copy)
inline

Definition at line 42 of file RootObjAddress.h.

43  : IOpaqueAddress(copy),
44  m_refCount(0),
45  m_svcType(copy.m_svcType),
46  m_clID(copy.m_clID),
47  m_pRegistry(copy.m_pRegistry),
48  m_tObj(copy.m_tObj)
49  {
50  m_par[0] = copy.m_par[0];
51  m_par[1] = copy.m_par[1];
52  m_ipar[0] = copy.m_ipar[0];
53  m_ipar[1] = copy.m_ipar[1];
54  }
IRegistry * m_pRegistry
Pointer to corresponding directory.
unsigned long m_ipar[2]
Integer parameters to be accessed.
std::string m_par[2]
String parameters to be accessed.
TObject * m_tObj
Pointer to TObject.
long m_svcType
Storage type.
Opaque address interface definition.
RootHistCnv::RootObjAddress::RootObjAddress ( long  svc,
const CLID &  clid,
const std::string &  p1 = "",
const std::string &  p2 = "",
unsigned long  ip1 = 0,
unsigned long  ip2 = 0,
TObject *  tObj = 0 
)
inline

Standard Constructor.

Definition at line 57 of file RootObjAddress.h.

64  : m_refCount(0),
65  m_svcType(svc),
66  m_clID(clid),
67  m_pRegistry(0),
68  m_tObj(tObj)
69  {
70  m_par[0] = p1;
71  m_par[1] = p2;
72  m_ipar[0] = ip1;
73  m_ipar[1] = ip2;
74  }
IRegistry * m_pRegistry
Pointer to corresponding directory.
unsigned long m_ipar[2]
Integer parameters to be accessed.
std::string m_par[2]
String parameters to be accessed.
virtual TObject * tObj() const
Retrieve TObject* ptr.
TObject * m_tObj
Pointer to TObject.
long m_svcType
Storage type.
virtual RootHistCnv::RootObjAddress::~RootObjAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 77 of file RootObjAddress.h.

77  {
78  }

Member Function Documentation

virtual unsigned long RootHistCnv::RootObjAddress::addRef ( )
inlinevirtual

Add reference to object.

Implements IOpaqueAddress.

Definition at line 81 of file RootObjAddress.h.

81  {
82  return ++m_refCount;
83  }
virtual const CLID& RootHistCnv::RootObjAddress::clID ( ) const
inlinevirtual

Access : Retrieve class ID of the link.

Implements IOpaqueAddress.

Definition at line 101 of file RootObjAddress.h.

101  {
102  return m_clID;
103  }
virtual const unsigned long* RootHistCnv::RootObjAddress::ipar ( ) const
inlinevirtual

Retrieve integer parameters.

Implements IOpaqueAddress.

Definition at line 121 of file RootObjAddress.h.

121  {
122  return m_ipar;
123  }
unsigned long m_ipar[2]
Integer parameters to be accessed.
virtual const std::string* RootHistCnv::RootObjAddress::par ( ) const
inlinevirtual

Retrieve string parameters.

Implements IOpaqueAddress.

Definition at line 117 of file RootObjAddress.h.

117  {
118  return m_par;
119  }
std::string m_par[2]
String parameters to be accessed.
virtual IRegistry* RootHistCnv::RootObjAddress::registry ( ) const
inlinevirtual

Pointer to directory.

Implements IOpaqueAddress.

Definition at line 93 of file RootObjAddress.h.

93  {
94  return m_pRegistry;
95  }
IRegistry * m_pRegistry
Pointer to corresponding directory.
virtual unsigned long RootHistCnv::RootObjAddress::release ( )
inlinevirtual

release reference to object

Implements IOpaqueAddress.

Definition at line 85 of file RootObjAddress.h.

85  {
86  int cnt = --m_refCount;
87  if ( 0 == cnt ) {
88  delete this;
89  }
90  return cnt;
91  }
virtual void RootHistCnv::RootObjAddress::setClID ( const CLID &  clid)
inlinevirtual

Access : Set class ID of the link.

Definition at line 105 of file RootObjAddress.h.

105  {
106  m_clID = clid;
107  }
virtual void RootHistCnv::RootObjAddress::setRegistry ( IRegistry *  pRegistry)
inlinevirtual

Set pointer to directory.

Implements IOpaqueAddress.

Definition at line 97 of file RootObjAddress.h.

97  {
98  m_pRegistry = pRegistry;
99  }
IRegistry * m_pRegistry
Pointer to corresponding directory.
virtual void RootHistCnv::RootObjAddress::setSvcType ( long  typ)
inlinevirtual

Access : set the storage type of the class id.

Definition at line 113 of file RootObjAddress.h.

113  {
114  m_svcType = typ;
115  }
long m_svcType
Storage type.
virtual long RootHistCnv::RootObjAddress::svcType ( ) const
inlinevirtual

Access : retrieve the storage type of the class id.

Implements IOpaqueAddress.

Definition at line 109 of file RootObjAddress.h.

109  {
110  return m_svcType;
111  }
long m_svcType
Storage type.
virtual TObject* RootHistCnv::RootObjAddress::tObj ( ) const
inlinevirtual

Retrieve TObject* ptr.

Definition at line 126 of file RootObjAddress.h.

126  {
127  return m_tObj;
128  }
TObject * m_tObj
Pointer to TObject.

Member Data Documentation

CLID RootHistCnv::RootObjAddress::m_clID
protected

Class id.

Definition at line 19 of file RootObjAddress.h.

unsigned long RootHistCnv::RootObjAddress::m_ipar[2]
protected

Integer parameters to be accessed.

Definition at line 23 of file RootObjAddress.h.

std::string RootHistCnv::RootObjAddress::m_par[2]
protected

String parameters to be accessed.

Definition at line 21 of file RootObjAddress.h.

IRegistry* RootHistCnv::RootObjAddress::m_pRegistry
protected

Pointer to corresponding directory.

Definition at line 25 of file RootObjAddress.h.

unsigned long RootHistCnv::RootObjAddress::m_refCount
protected

Definition at line 15 of file RootObjAddress.h.

long RootHistCnv::RootObjAddress::m_svcType
protected

Storage type.

Definition at line 17 of file RootObjAddress.h.

TObject* RootHistCnv::RootObjAddress::m_tObj
protected

Pointer to TObject.

Definition at line 27 of file RootObjAddress.h.


The documentation for this class was generated from the following file: