solarpowerlog trunk
CFormaterWebRootStrip Class Reference

Formater for: Strip a webroot-path from the front of a capability. More...

#include <CFormaterWebRootStrip.h>

Inheritance diagram for CFormaterWebRootStrip:
Collaboration diagram for CFormaterWebRootStrip:

List of all members.

Public Member Functions

virtual ~CFormaterWebRootStrip ()
virtual bool Format (const std::string &what, std::string &store, const std::vector< std::string > &parameters)

Protected Member Functions

 CFormaterWebRootStrip ()

Friends

class IFormater

Detailed Description

Formater for: Strip a webroot-path from the front of a capability.

Definition at line 14 of file CFormaterWebRootStrip.h.


Constructor & Destructor Documentation

CFormaterWebRootStrip::~CFormaterWebRootStrip ( ) [virtual]

Definition at line 16 of file CFormaterWebRootStrip.cpp.

CFormaterWebRootStrip::CFormaterWebRootStrip ( ) [protected]

Definition at line 12 of file CFormaterWebRootStrip.cpp.


Member Function Documentation

bool CFormaterWebRootStrip::Format ( const std::string &  what,
std::string &  store,
const std::vector< std::string > &  parameters 
) [virtual]

This is the workhorse of the stragegy pattern: The format takes a refrence string of the content to be modified, a reference where it should suppose to write the result (note: might be same refrence.) and a vector of the formatters' configuration. The vector contains: [0] - formatter name (needed by caller, ignore) [1] - where to stored (needed by caller, ignore) [2...] - parameters supplied by user

Implements IFormater.

Definition at line 21 of file CFormaterWebRootStrip.cpp.


Friends And Related Function Documentation

friend class IFormater [friend]

Definition at line 25 of file CFormaterWebRootStrip.h.


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