#include <DataStoreLoadAgent.h>
Inheritance diagram for DataStoreLoadAgent:
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 |
Definition at line 15 of file DataStoreLoadAgent.h.
DataStoreLoadAgent::DataStoreLoadAgent | ( | ) |
Standard constructor.
virtual DataStoreLoadAgent::~DataStoreLoadAgent | ( | ) | [virtual] |
Destructor.
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; }
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.