Fennel: LbmEntryDump Class Reference (original) (raw)

Class used to dump the contents of a LbmEntry. More...

#include <[LbmEntryDump.h](LbmEntryDump%5F8h-source.html)>

Inheritance diagram for LbmEntryDump:

List of all members.

Public Member Functions
LbmEntryDump (TraceLevel traceLevelInit, SharedTraceTarget pTraceTarget, string name)
uint dump (BTreeDescriptor const &treeDescriptor, bool printRID=false)
virtual void initTraceSource (SharedTraceTarget pTraceTarget, std::string name)
For use when initialization has to be deferred until after construction.
void trace (TraceLevel level, std::string message) const
Records a trace message.
bool isTracing () const
**Returns:**true iff tracing is enabled for this source
bool isTracingLevel (TraceLevel level) const
Determines whether a particular level is being traced.
TraceTarget & getTraceTarget () const
**Returns:**the TraceTarget for this source
SharedTraceTarget getSharedTraceTarget () const
**Returns:**the SharedTraceTarget for this source
std::string getTraceSourceName () const
Gets the name of this source.
void setTraceSourceName (std::string const &n)
Sets the name of this source.
TraceLevel getMinimumTraceLevel () const
void disableTracing ()
Private Attributes
TraceLevel traceLevel
The level at which tracing of cluster dump will be done.
Static Private Attributes
static const uint lineLen = 80

Detailed Description

Class used to dump the contents of a LbmEntry.

Version:

Id

//open/dev/fennel/lucidera/bitmap/LbmEntryDump.h#8

Definition at line 42 of file LbmEntryDump.h.


Constructor & Destructor Documentation


Member Function Documentation

void TraceSource::initTraceSource ( SharedTraceTarget pTraceTarget,
std::string name
) [virtual, inherited]
void TraceSource::trace ( TraceLevel level,
std::string message
) const [inherited]

| bool TraceSource::isTracing | ( | | ) | const [inline, inherited] | | --------------------------- | - | | - | --------------------------- |

bool TraceSource::isTracingLevel ( TraceLevel level ) const [inline, inherited]

| TraceTarget& TraceSource::getTraceTarget | ( | | ) | const [inline, inherited] | | ----------------------------------------------------------------- | - | | - | --------------------------- |

| std::string TraceSource::getTraceSourceName | ( | | ) | const [inline, inherited] | | ------------------------------------------- | - | | - | --------------------------- |

void TraceSource::setTraceSourceName ( std::string const & n ) [inline, inherited]

Sets the name of this source.

Useful to construct dynamic names for fine-grained filtering.

Definition at line 136 of file TraceSource.h.

00137 { 00138 name = n; 00139 }

| TraceLevel TraceSource::getMinimumTraceLevel | ( | | ) | const [inline, inherited] | | ------------------------------------------------------------------------------------------------------ | - | | - | --------------------------- |

| void TraceSource::disableTracing | ( | | ) | [inherited] | | -------------------------------- | - | | - | ------------- |


Member Data Documentation

The level at which tracing of cluster dump will be done.

I.e., the caller of this object can control the level at which dumps are generated.

Definition at line 52 of file LbmEntryDump.h.

Referenced by dump(), and LbmEntryDump().


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


Generated on Mon Jun 22 04:00:34 2009 for Fennel by doxygen 1.5.1