solarpowerlog trunk
CFormatterSearchCSVEntry Class Reference

#include <CFormatterSearchCSVEntry.h>

Inheritance diagram for CFormatterSearchCSVEntry:
Collaboration diagram for CFormatterSearchCSVEntry:

List of all members.

Public Member Functions

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

Protected Member Functions

 CFormatterSearchCSVEntry ()

Friends

class IFormater

Detailed Description

Definition at line 13 of file CFormatterSearchCSVEntry.h.


Constructor & Destructor Documentation

CFormatterSearchCSVEntry::~CFormatterSearchCSVEntry ( ) [virtual]

Definition at line 57 of file CFormatterSearchCSVEntry.cpp.

CFormatterSearchCSVEntry::CFormatterSearchCSVEntry ( ) [protected]

Definition at line 51 of file CFormatterSearchCSVEntry.cpp.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class IFormater [friend]

Definition at line 24 of file CFormatterSearchCSVEntry.h.


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