ElementLinkVectorBase Class Reference

Base class holding the container independent part of ElementLinkVector. More...

#include <ElementLinkVectorBase.h>

Inheritance diagram for ElementLinkVectorBase:
ElementLinkVector< CONTAINER >

List of all members.

Public Member Functions

 ElementLinkVectorBase (const std::vector< uint32_t > &keys=std::vector< uint32_t >(), const std::vector< uint32_t > &indices=std::vector< uint32_t >())
 Default constructor.
virtual ~ElementLinkVectorBase ()
 Virtual destructor, to make vtable happy...
const std::vector< uint32_t > & persKeys () const
 Get the keys/identifiers of the referenced containers.
void setPersKeys (const std::vector< uint32_t > &keys)
 Set the keys/identifiers of the referenced containers.
const std::vector< uint32_t > & persIndices () const
 Get the indices of the referenced objects in the containers.
void setPersIndices (const std::vector< uint32_t > &indices)
 Set the indices of the referenced objects in the containers.
virtual bool toTransient ()=0
 Reset the object's internal cache.

Protected Attributes

std::vector< uint32_t > m_persKeys
 Keys/identifiers of the referenced containers.
std::vector< uint32_t > m_persIndices
 Indices of the referenced objects in the containers.
bool m_isDirectIO

Detailed Description

Base class holding the container independent part of ElementLinkVector.

This class holds the ROOT persistifiable part of the ElementLinkVector<T> class. In the simplest form imaginable.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
567807
Date
2013-10-30 10:30:16 +0100 (Wed, 30 Oct 2013)

Member Data Documentation

A transient variable signalling when direct I/O is happening

This flag is used exclusively by the ElementLinkVector<>::toTransient() function to know when it should take the persistent data stored in this object into account. That function is called in normal P->T conversions as well, in which case using the data from this class would just reset the object to its default state.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1