code::LBNotifier Class Reference

Inheritance diagram for code::LBNotifier:

code::XMLNotifier code::IndexRecordNotifier List of all members.

Detailed Description

notifies about the Index::Record to a linear buffer.

the name by which it is introduced is: lb

Author:
Lakshman
Version:
Id
code_LBNotifier.h,v 1.7 2009/06/02 20:17:38 lakshman Exp


Public Member Functions

virtual SmartPtr< IndexRecordNotifiercreateNotifier (const URL &lbname)
 construct a notifier capable of notifying to this place.
virtual ~LBNotifier ()
virtual void write (std::string &content)
virtual void writeRecord (const Index::Record &rec)
 notify about this record.
virtual void writeRecords (const std::vector< Index::Record > &rec)
 The default implementation loops through the records, passing each to writeRecord().

Static Public Member Functions

static void introduceSelf ()
static SmartPtr< IndexRecordNotifiercreateDefaultNotifier (const URL &lbname)
 returns a notifier that will notify to this location.
static SmartPtr< IndexRecordNotifiercreateDefaultNotifierInDirectory (const std::string &dirname)
 returns a notifier that will notify to a code_index.lb or code_index.fam in this directory.
static std::string getDefaultBaseName ()
 returns the default notification location in a directory.
static std::string getDefaultSuffix ()
 returns the suffix, e.g: "lb"

Protected Member Functions

 LBNotifier ()
 for factory registration.
 LBNotifier (const URL &lbname)


Constructor & Destructor Documentation

virtual code::LBNotifier::~LBNotifier (  )  [inline, virtual]

code::LBNotifier::LBNotifier (  )  [inline, protected]

for factory registration.

code::LBNotifier::LBNotifier ( const URL lbname  )  [protected]


Member Function Documentation

static SmartPtr< IndexRecordNotifier > code::IndexRecordNotifier::createDefaultNotifier ( const URL lbname  )  [static, inherited]

returns a notifier that will notify to this location.

This will be a LBNotifier if w2config/misc/notifier says "lb" for example.

static SmartPtr< IndexRecordNotifier > code::IndexRecordNotifier::createDefaultNotifierInDirectory ( const std::string &  dirname  )  [inline, static, inherited]

returns a notifier that will notify to a code_index.lb or code_index.fam in this directory.

This will be a LBNotifier if w2config/misc/notifier says "lb" for example.

virtual SmartPtr<IndexRecordNotifier> code::LBNotifier::createNotifier ( const URL lbname  )  [virtual]

construct a notifier capable of notifying to this place.

Implements code::IndexRecordNotifier.

static std::string code::IndexRecordNotifier::getDefaultBaseName (  )  [static, inherited]

returns the default notification location in a directory.

For example: code_index.lb or code_index.fam depending on protocol

static std::string code::IndexRecordNotifier::getDefaultSuffix (  )  [static, inherited]

returns the suffix, e.g: "lb"

static void code::LBNotifier::introduceSelf (  )  [static]

virtual void code::LBNotifier::write ( std::string &  content  )  [virtual]

Implements code::XMLNotifier.

virtual void code::XMLNotifier::writeRecord ( const Index::Record rec  )  [virtual, inherited]

notify about this record.

Implements code::IndexRecordNotifier.

virtual void code::XMLNotifier::writeRecords ( const std::vector< Index::Record > &  rec  )  [virtual, inherited]

The default implementation loops through the records, passing each to writeRecord().

Reimplemented from code::IndexRecordNotifier.


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7