|
solarpowerlog trunk
|
Formater for: Strip a webroot-path from the front of a capability. More...
#include <CFormaterWebRootStrip.h>


Public Member Functions | |
| virtual | ~CFormaterWebRootStrip () |
| virtual bool | Format (const std::string &what, std::string &store, const std::vector< std::string > ¶meters) |
Protected Member Functions | |
| CFormaterWebRootStrip () | |
Friends | |
| class | IFormater |
Formater for: Strip a webroot-path from the front of a capability.
Definition at line 14 of file CFormaterWebRootStrip.h.
| CFormaterWebRootStrip::~CFormaterWebRootStrip | ( | ) | [virtual] |
Definition at line 16 of file CFormaterWebRootStrip.cpp.
| CFormaterWebRootStrip::CFormaterWebRootStrip | ( | ) | [protected] |
Definition at line 12 of file CFormaterWebRootStrip.cpp.
| 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.
friend class IFormater [friend] |
Definition at line 25 of file CFormaterWebRootStrip.h.