|
solarpowerlog trunk
|
#include <CFormatterSearchCSVEntry.h>


Public Member Functions | |
| virtual | ~CFormatterSearchCSVEntry () |
| virtual bool | Format (const std::string &what, std::string &store, const std::vector< std::string > ¶meters) |
Protected Member Functions | |
| CFormatterSearchCSVEntry () | |
Friends | |
| class | IFormater |
Definition at line 13 of file CFormatterSearchCSVEntry.h.
| CFormatterSearchCSVEntry::~CFormatterSearchCSVEntry | ( | ) | [virtual] |
Definition at line 57 of file CFormatterSearchCSVEntry.cpp.
| CFormatterSearchCSVEntry::CFormatterSearchCSVEntry | ( | ) | [protected] |
Definition at line 51 of file CFormatterSearchCSVEntry.cpp.
| bool CFormatterSearchCSVEntry::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 14 of file CFormatterSearchCSVEntry.cpp.
friend class IFormater [friend] |
Definition at line 24 of file CFormatterSearchCSVEntry.h.