User Manual, Developers Guide and API Documentation

wns::logger::SQLiteFormat Class Reference

Format message to be imported into SQLite.

#include <logger/SQLiteFormat.hpp>

Inheritance diagram for wns::logger::SQLiteFormat:

Inheritance graph
[legend]
Collaboration diagram for wns::logger::SQLiteFormat:

Collaboration graph
[legend]

List of all members.

Public Member Functions

std::string escapeAll (const std::string &s)
virtual std::string formatMessage (const RawMessage &m)
virtual std::string formatRegistration (const std::string &, const std::string &)
 SQLiteFormat (const pyconfig::View &pyco)

Public Attributes

bool isFirstMessage


Detailed Description

Definition at line 38 of file SQLiteFormat.hpp.


Constructor & Destructor Documentation

SQLiteFormat::SQLiteFormat ( const pyconfig::View pyco  ) 

Definition at line 35 of file SQLiteFormat.cpp.


Member Function Documentation

std::string SQLiteFormat::escapeAll ( const std::string &  s  ) 

Todo:
need to escape \ and '

Definition at line 61 of file SQLiteFormat.cpp.

std::string SQLiteFormat::formatMessage ( const RawMessage m  )  [virtual]

Implements wns::logger::FormatStrategy.

Definition at line 40 of file SQLiteFormat.cpp.

virtual std::string wns::logger::SQLiteFormat::formatRegistration ( const std::string &  ,
const std::string &   
) [inline, virtual]

Implements wns::logger::FormatStrategy.

Definition at line 46 of file SQLiteFormat.hpp.


Member Data Documentation

Definition at line 54 of file SQLiteFormat.hpp.


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

Generated on Sun May 27 03:33:00 2012 for openWNS by  doxygen 1.5.5