#include <GaudiKernel/DataObject.h>
Inheritance diagram for DataObject:

Public Types | |
| typedef std::vector<Link*> | LinkVector |
| typedef IDataDirectory::DirIterator | DirIterator |
| Data type: iterator over leaf objects. More... | |
| typedef IDataDirectory::DirIterator | ConstDirIterator |
| Data type: iterator over leaf objects (CONST). More... | |
| typedef LinkVector::iterator | LinkIterator |
| Data type: iterator over leaf links. More... | |
| typedef LinkVector::const_iterator | ConstLinkIterator |
| Data type: iterator over leaf links (CONST). More... | |
| enum | DirLinkType { INVALID, VALID } |
| Directory link types. More... | |
Public Methods | |
| DataObject (const std::string& name = "") | |
| Standard Constructor. More... | |
| virtual | ~DataObject () |
| Standard Destructor. More... | |
| virtual unsigned long | addRef () |
| Add reference to object. More... | |
| virtual unsigned long | release () |
| release reference to object. More... | |
| virtual unsigned long | refCount () const |
| Access reference count. More... | |
| virtual const CLID& | clID () const |
| Retrieve reference to class definition structure. More... | |
| virtual const unsigned char | version () const |
| Retrieve version number of this object representation. More... | |
| virtual void | setVersion (unsigned char vsn) |
| Set version number of this object representation. More... | |
| const std::string& | localPath () const |
| Retreive DataObject name. It is the name when registered in the store. More... | |
| const std::string& | location () const |
| Name of the location this object resides in. More... | |
| const std::string& | fullpath () const |
| Name of the full path in the data store leading to this object. More... | |
| DataObject* | parent () |
| Parent object. More... | |
| const DataObject* | parent () const |
| Parent object. More... | |
| DataObject* | find (const std::string& path) |
| Find leaf object. More... | |
| const DataObject* | find (const std::string& path) const |
| Find leaf object. More... | |
| IDataDirectory* | leaf (const std::string& path) |
| Find leaf directory. More... | |
| const IDataDirectory* | leaf (const std::string& path) const |
| Find leaf directory. More... | |
| void | setDirectory (IDataDirectory* dir) |
| Set pointer to data directory. More... | |
| IDataDirectory* | directory () |
| Retrieve pointer to data directory. More... | |
| const IDataDirectory* | directory () const |
| Retrieve pointer to data directory. More... | |
| virtual TransientStore* | store () |
| Retrieve pointer to Transient Store. More... | |
| virtual const TransientStore* | store () const |
| Retrieve pointer to Transient Store. More... | |
| IOpaqueAddress* | address () |
| Retrieve Pointer to representation address. More... | |
| const IOpaqueAddress* | address () const |
| Retrieve Pointer to representation address. More... | |
| DirIterator | dirBegin () |
| Retrieve start iterator to directory. More... | |
| ConstDirIterator | dirBegin () const |
| Retrieve start iterator to directory. More... | |
| DirIterator | dirEnd () |
| Retrieve end iterator to directory. More... | |
| ConstDirIterator | dirEnd () const |
| Retrieve end iterator to directory. More... | |
| LinkIterator | linkBegin () |
| Retrieve start iterator to directory. More... | |
| ConstLinkIterator | linkBegin () const |
| Retrieve start iterator to directory. More... | |
| LinkIterator | linkEnd () |
| Retrieve end iterator to directory. More... | |
| ConstLinkIterator | linkEnd () const |
| Retrieve end iterator to directory. More... | |
| size_t | linkSize () const |
| Retrieve number of links within the object. More... | |
| Link* | symLink (long id) |
| Retrieve symbolic link identified by ID. More... | |
| Link* | symLink (DataObject* pObject) |
| Retrieve symbolic link identified by object. More... | |
| Link* | symLink (const std::string& path) |
| Retrieve symbolic link identified by path. More... | |
| long | addLink (const std::string& path, const DataObject* pObject) const |
| Add link by object reference and path. More... | |
| long | removeLink (const DataObject* pObject) const |
| Remove link by object reference. More... | |
| long | removeLink (const std::string& fullPath) const |
| Remove link by object reference. More... | |
| long | removeLink (long id) const |
| Remove link by link ID. More... | |
| void | clearLinks () |
| Remove all possibly existing symbolic links. More... | |
| virtual StreamBuffer& | serialize (StreamBuffer& s) |
| Serialize the object for reading. More... | |
| virtual StreamBuffer& | serialize (StreamBuffer& s) const |
| Serialize the object for writing. More... | |
| virtual bool | acceptInspector (IInspector* pI) |
| Allow for data inspection. More... | |
| virtual bool | acceptInspector (IInspector* pI) const |
| Allow for data inspection. More... | |
| bool | isLocked ( ) const |
| Is the DataObject locked? More... | |
| StatusCode | setLocked ( ) |
| Lock the DataObject. More... | |
Static Public Methods | |
| const CLID& | classID () |
| Retrieve reference to class definition structure (static access). More... | |
Private Methods | |
| StatusCode | setUnlocked ( ) |
| Unlock the DataObject. More... | |
Private Attributes | |
| IDataDirectory* | m_pDirectory |
| Pointer to directory with leaf objects. More... | |
| unsigned long | m_refCount |
| Reference count. More... | |
| LinkVector | m_linkVector |
| Store of symbolic links. More... | |
| unsigned char | m_version |
| Version number. More... | |
| bool | m_isLocked |
| Locked indicator. More... | |
The base class supplies the implementation of data streaming.
Definition at line 30 of file DataObject.h.
|
|
Data type: iterator over leaf objects (CONST).
Definition at line 99 of file DataObject.h. |
|
|
Data type: iterator over leaf links (CONST).
Definition at line 103 of file DataObject.h. |
|
|
Data type: iterator over leaf objects.
Definition at line 97 of file DataObject.h. |
|
|
Data type: iterator over leaf links.
Definition at line 101 of file DataObject.h. |
|
|
Definition at line 95 of file DataObject.h. |
|
|
Directory link types.
Definition at line 33 of file DataObject.h. |
|
|
Standard Constructor.
Definition at line 21 of file DataObject.cpp. |
|
|
Standard Destructor.
Definition at line 30 of file DataObject.cpp. |
|
|
Allow for data inspection.
Reimplemented from IInspectable. Definition at line 372 of file DataObject.cpp. |
|
|
Allow for data inspection.
Reimplemented from IInspectable. Definition at line 360 of file DataObject.cpp. |
|
|
Add link by object reference and path.
Definition at line 281 of file DataObject.cpp. Referenced by SmartRefBase::accessData(). |
|
|
Add reference to object.
Definition at line 50 of file DataObject.cpp. Referenced by RegistryEntry::setObject(), and DataSvc::unregisterObject(). |
|
|
Retrieve Pointer to representation address.
Definition at line 90 of file DataObject.cpp. |
|
|
Retrieve Pointer to representation address.
Definition at line 85 of file DataObject.cpp. Referenced by RegistryEntry::makeSoft(). |
|
|
Retrieve reference to class definition structure.
Reimplemented in NTuple::Directory, NTuple::File, NTuple::ColumnWiseTuple, NTuple::RowWiseTuple, ObjectList, ObjectVector, RefTable1to1, and RefTable1toN. Definition at line 231 of file DataObject.cpp. Referenced by NTuple::Tuple::i_addItem(), and NTuple::Tuple::i_item(). |
|
|
Retrieve reference to class definition structure (static access).
Reimplemented in NTuple::Directory, NTuple::File, NTuple::ColumnWiseTuple, NTuple::RowWiseTuple, ObjectList, and ObjectVector. Definition at line 236 of file DataObject.cpp. Referenced by ObjectVector::clID(), ObjectList::clID(), NTuple::File::clID(), and NTuple::Directory::clID(). |
|
|
Remove all possibly existing symbolic links.
Definition at line 342 of file DataObject.cpp. Referenced by ~DataObject(). |
|
|
Retrieve start iterator to directory.
Definition at line 100 of file DataObject.cpp. |
|
|
Retrieve start iterator to directory.
Definition at line 95 of file DataObject.cpp. |
|
|
Retrieve end iterator to directory.
Definition at line 110 of file DataObject.cpp. |
|
|
Retrieve end iterator to directory.
Definition at line 105 of file DataObject.cpp. |
|
|
Retrieve pointer to data directory.
Definition at line 70 of file DataObject.cpp. |
|
|
Retrieve pointer to data directory.
Definition at line 65 of file DataObject.cpp. Referenced by SmartDataLocator::SmartDataLocator(), SmartDataPtr::SmartDataPtr(), DataObject::Link::address(), DataSvc::clearSubTree(), SmartDataObjectPtr::findObject(), DataSvc::findObject(), RegistryEntry::findParent(), DataSvc::preLoad(), SmartDataObjectPtr::retrieveObject(), DataSvc::retrieveObject(), DataSvc::traverseSubTree(), DataSvc::unregisterObject(), DataSvc::updateObject(), and DataSvc::updateRegistryEntry(). |
|
|
Find leaf object.
Reimplemented in NTuple::TupleImp. Definition at line 202 of file DataObject.cpp. |
|
|
Find leaf object.
Reimplemented in NTuple::TupleImp. Definition at line 191 of file DataObject.cpp. |
|
|
Name of the full path in the data store leading to this object.
Definition at line 271 of file DataObject.cpp. |
|
|
Is the DataObject locked?
Definition at line 383 of file DataObject.cpp. |
|
|
Find leaf directory.
Definition at line 222 of file DataObject.cpp. |
|
|
Find leaf directory.
Definition at line 213 of file DataObject.cpp. |
|
|
Retrieve start iterator to directory.
Definition at line 120 of file DataObject.cpp. |
|
|
Retrieve start iterator to directory.
Definition at line 115 of file DataObject.cpp. |
|
|
Retrieve end iterator to directory.
Definition at line 130 of file DataObject.cpp. |
|
|
Retrieve end iterator to directory.
Definition at line 125 of file DataObject.cpp. |
|
|
Retrieve number of links within the object.
Definition at line 135 of file DataObject.cpp. |
|
|
Retreive DataObject name. It is the name when registered in the store.
Definition at line 251 of file DataObject.cpp. |
|
|
Name of the location this object resides in.
Definition at line 261 of file DataObject.cpp. |
|
|
Parent object.
Definition at line 180 of file DataObject.cpp. |
|
|
Parent object.
Definition at line 169 of file DataObject.cpp. Referenced by ObjectVector::erase(), ObjectList::erase(), ObjectVector::push_back(), and ObjectList::push_back(). |
|
|
Access reference count.
Definition at line 55 of file DataObject.cpp. |
|
|
release reference to object.
Reimplemented in ObjectContainerBase, ObjectList, and ObjectVector. Definition at line 41 of file DataObject.cpp. Referenced by ObjectVector::push_back(), ObjectList::push_back(), ObjectContainerBase::release(), RegistryEntry::setObject(), and RegistryEntry::~RegistryEntry(). |
|
|
Remove link by link ID.
Definition at line 332 of file DataObject.cpp. |
|
|
Remove link by object reference.
Definition at line 318 of file DataObject.cpp. |
|
|
Remove link by object reference.
Definition at line 304 of file DataObject.cpp. |
|
|
Serialize the object for writing.
Reimplemented in ObjectContainerBase, and RefTableBase. Definition at line 355 of file DataObject.cpp. |
|
|
Serialize the object for reading.
Reimplemented in ObjectContainerBase, and RefTableBase. Definition at line 350 of file DataObject.cpp. Referenced by RefTableBase::serialize(), and ObjectContainerBase::serialize(). |
|
|
Set pointer to data directory.
Definition at line 60 of file DataObject.cpp. Referenced by RegistryEntry::makeHard(), DataSvc::updateRegistryEntry(), and RegistryEntry::~RegistryEntry(). |
|
|
Lock the DataObject.
Definition at line 388 of file DataObject.cpp. |
|
|
Unlock the DataObject.
Definition at line 394 of file DataObject.cpp. |
|
|
Set version number of this object representation.
Definition at line 246 of file DataObject.cpp. |
|
|
Retrieve pointer to Transient Store.
Definition at line 80 of file DataObject.cpp. |
|
|
Retrieve pointer to Transient Store.
Definition at line 75 of file DataObject.cpp. Referenced by SmartRefBase::accessData(). |
|
|
Retrieve symbolic link identified by path.
Definition at line 157 of file DataObject.cpp. |
|
|
Retrieve symbolic link identified by object.
Definition at line 145 of file DataObject.cpp. |
|
|
Retrieve symbolic link identified by ID.
Definition at line 140 of file DataObject.cpp. Referenced by SmartRefBase::accessData(). |
|
|
Retrieve version number of this object representation.
Definition at line 241 of file DataObject.cpp. |
|
|
Locked indicator.
Definition at line 114 of file DataObject.h. |
|
|
Store of symbolic links.
Definition at line 110 of file DataObject.h. |
|
|
Pointer to directory with leaf objects.
Definition at line 106 of file DataObject.h. |
|
|
Reference count.
Definition at line 108 of file DataObject.h. |
|
|
Version number.
Definition at line 112 of file DataObject.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000