ObjectConsumer Class Reference

#include <ObjectConsumer.h>

Collaboration diagram for ObjectConsumer:
Collaboration graph

List of all members.

Public Member Functions

 ObjectConsumer (String const &name, ObjectWriter *writer=0)
 ~ObjectConsumer ()
String const & getName () const
void report (Object const *object)
void finished ()

Private Member Functions

 ObjectConsumer ()
 ObjectConsumer (ObjectConsumer const &)
ObjectConsumeroperator= (ObjectConsumer const &)

Private Attributes

String m_name
unsigned long long m_count

Detailed Description

Definition at line 31 of file ObjectConsumer.h.

Constructor & Destructor Documentation

ObjectConsumer::ObjectConsumer ( String const &  name,
ObjectWriter writer = 0 

Definition at line 16 of file ObjectConsumer.cpp.

References m_writer, and ObjectWriter::open().

ObjectConsumer::~ObjectConsumer (  ) 

Definition at line 26 of file ObjectConsumer.cpp.

References m_writer.

ObjectConsumer::ObjectConsumer (  )  [private]
ObjectConsumer::ObjectConsumer ( ObjectConsumer const &   )  [private]

Member Function Documentation

void ObjectConsumer::finished (  ) 

Definition at line 33 of file ObjectConsumer.cpp.

References ObjectWriter::close(), getName(), m_count, and m_writer.

Referenced by Neighbours::finished(), and CrossMatch::finished().

String const& ObjectConsumer::getName (  )  const [inline]

Definition at line 36 of file ObjectConsumer.h.

References m_name.

Referenced by finished().

ObjectConsumer& ObjectConsumer::operator= ( ObjectConsumer const &   )  [private]
void ObjectConsumer::report ( Object const *  object  )  [inline]

Member Data Documentation

unsigned long long ObjectConsumer::m_count [private]

Definition at line 48 of file ObjectConsumer.h.

Referenced by finished(), and report().

Definition at line 46 of file ObjectConsumer.h.

Referenced by getName().

Definition at line 47 of file ObjectConsumer.h.

Referenced by finished(), ObjectConsumer(), report(), and ~ObjectConsumer().

The documentation for this class was generated from the following files:
Generated on Mon Oct 4 10:40:34 2010 for Matching.kdevelop by  doxygen 1.6.3