| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DataStoreLoadAgent Class Reference

Simple class that load all the objects od a transient store. More...

#include <DataStoreLoadAgent.h>

Inheritance diagram for DataStoreLoadAgent:

[legend]
Collaboration diagram for DataStoreLoadAgent:
[legend]
List of all members.

Public Member Functions

 DataStoreLoadAgent ()
 Standard constructor.
virtual ~DataStoreLoadAgent ()
 Destructor.
virtual bool analyse (IRegistry *pObject, int level)
int loadedObjects () const
 Give the number of objects that were loaded.
int maxDepth () const
 Give the maximum depth reached navigating the tree.
void resetCounters ()
 Reset the counters.

Private Attributes

int m_loadedObjects
int m_maxDepth

Detailed Description

Simple class that load all the objects od a transient store.

Author:
Marco CLEMENCIC
Date:
2005-02-24

Definition at line 15 of file DataStoreLoadAgent.h.


Constructor & Destructor Documentation

DataStoreLoadAgent::DataStoreLoadAgent (  ) 

Standard constructor.

virtual DataStoreLoadAgent::~DataStoreLoadAgent (  )  [virtual]

Destructor.


Member Function Documentation

virtual bool DataStoreLoadAgent::analyse ( IRegistry pObject,
int  level 
) [virtual]

Implements IDataStoreAgent.

int DataStoreLoadAgent::loadedObjects (  )  const [inline]

Give the number of objects that were loaded.

Definition at line 27 of file DataStoreLoadAgent.h.

00027 { return m_loadedObjects; }

int DataStoreLoadAgent::maxDepth (  )  const [inline]

Give the maximum depth reached navigating the tree.

Definition at line 32 of file DataStoreLoadAgent.h.

00032 { return m_maxDepth; }

void DataStoreLoadAgent::resetCounters (  )  [inline]

Reset the counters.

Useful when using the same instance many times.

Definition at line 38 of file DataStoreLoadAgent.h.

00038 { m_loadedObjects = m_maxDepth = 0; }


Member Data Documentation

int DataStoreLoadAgent::m_loadedObjects [private]

Definition at line 44 of file DataStoreLoadAgent.h.

int DataStoreLoadAgent::m_maxDepth [private]

Definition at line 45 of file DataStoreLoadAgent.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:00:17 2011 for DetDesc by doxygen 1.4.7