rep_base Class Reference

#include <rep_base.hpp>

Inheritance diagram for rep_base:

Inheritance graph
[legend]
Collaboration diagram for rep_base:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 rep_base (ostream &sc)
virtual ~rep_base ()
bool loadTemplates (string path)
ocString part (string id)
rep_basecopyTemplates (const cgiTemplates &in)
virtual bool getData (string sql)
virtual bool iGetData (string sql)
rep_baseemitTop (string Name)
rep_baseemitEmptySet (void)
int simulateHeader (void)
rep_baseemitHeadings (string pipedelimited="")
rep_baseemitEnd (string extra="")
void setColFormat (string fmt, int pos)
rep_baseemitHeader (void)
virtual string getHeadCell (int iField, ocString &th)
rep_baseemitData (void)
virtual void sendField (int iField, ocString &td)
virtual void derived_commence_event (void)
virtual void derived_prerow_event (void)
virtual void derived_postrow_event (void)
virtual void derived_complete_event (void)
 rep_base (ostream &sc)
virtual ~rep_base ()
bool loadTemplates (string path)
ocString part (string id)
rep_basecopyTemplates (const cgiTemplates &in)
virtual bool getData (string sql)
virtual bool iGetData (string sql)
rep_baseemitTop (string Name)
rep_baseemitEmptySet (void)
int simulateHeader (void)
rep_baseemitHeadings (string pipedelimited="")
rep_baseemitEnd (string extra="")
void setColFormat (string fmt, int pos)
rep_baseemitHeader (void)
virtual string getHeadCell (int iField, ocString &th)
rep_baseemitData (void)
virtual void sendField (int iField, ocString &td)
virtual void derived_commence_event (void)
virtual void derived_prerow_event (void)
virtual void derived_postrow_event (void)
virtual void derived_complete_event (void)

Public Attributes

cgiTemplates reportParts
string head
string cachedSQL
ostream & webIO
bool opened
bool more_data
long row
string topKey
string endKey
string rowKey
string endRowKey
string headingKey
string dataKey
ostream & webIO


Detailed Description

Definition at line 31 of file rep_base.hpp.


Constructor & Destructor Documentation

rep_base::rep_base ( ostream &  sc  )  [inline]

Definition at line 47 of file rep_base.hpp.

virtual rep_base::~rep_base (  )  [inline, virtual]

Definition at line 53 of file rep_base.hpp.

rep_base::rep_base ( ostream &  sc  )  [inline]

Definition at line 47 of file rep_base.hpp.

virtual rep_base::~rep_base (  )  [inline, virtual]

Definition at line 53 of file rep_base.hpp.


Member Function Documentation

bool rep_base::loadTemplates ( string  path  )  [inline]

Definition at line 56 of file rep_base.hpp.

References cgiTemplates::load(), reportParts, and webIO.

Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), and main().

ocString rep_base::part ( string  id  )  [inline]

rep_base& rep_base::copyTemplates ( const cgiTemplates in  )  [inline]

Definition at line 73 of file rep_base.hpp.

References reportParts.

Referenced by commissions_report::commissions_report().

virtual bool rep_base::getData ( string  sql  )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 79 of file rep_base.hpp.

References cachedSQL, iGetData(), and opened.

Referenced by col_handling_rep::getData(), and commissions_report::run().

virtual bool rep_base::iGetData ( string  sql  )  [inline, virtual]

Definition at line 86 of file rep_base.hpp.

References openRS::open(), opened, and read_base::rs.

Referenced by getData().

rep_base& rep_base::emitTop ( string  Name  )  [inline]

rep_base& rep_base::emitEmptySet ( void   )  [inline]

int rep_base::simulateHeader ( void   )  [inline]

rep_base& rep_base::emitHeadings ( string  pipedelimited = ""  )  [inline]

rep_base& rep_base::emitEnd ( string  extra = ""  )  [inline]

void rep_base::setColFormat ( string  fmt,
int  pos 
) [inline]

rep_base& rep_base::emitHeader ( void   )  [inline]

virtual string rep_base::getHeadCell ( int  iField,
ocString th 
) [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 201 of file rep_base.hpp.

References openRS::getField(), basicField::getName(), ocString::replace(), and read_base::rs.

Referenced by emitHeader().

rep_base& rep_base::emitData ( void   )  [inline]

virtual void rep_base::sendField ( int  iField,
ocString td 
) [inline, virtual]

virtual void rep_base::derived_commence_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 238 of file rep_base.hpp.

Referenced by emitData().

virtual void rep_base::derived_prerow_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 242 of file rep_base.hpp.

Referenced by emitData().

virtual void rep_base::derived_postrow_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 246 of file rep_base.hpp.

Referenced by emitData().

virtual void rep_base::derived_complete_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, col_handling_rep, and commissions_report.

Definition at line 250 of file rep_base.hpp.

Referenced by emitData().

bool rep_base::loadTemplates ( string  path  )  [inline]

Definition at line 56 of file rep_base.hpp.

References cgiTemplates::load(), reportParts, and webIO.

ocString rep_base::part ( string  id  )  [inline]

Definition at line 66 of file rep_base.hpp.

References cgiTemplates::getParagraph(), reportParts, and webIO.

rep_base& rep_base::copyTemplates ( const cgiTemplates in  )  [inline]

Definition at line 73 of file rep_base.hpp.

References reportParts.

virtual bool rep_base::getData ( string  sql  )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 79 of file rep_base.hpp.

References cachedSQL, iGetData(), and opened.

virtual bool rep_base::iGetData ( string  sql  )  [inline, virtual]

Definition at line 86 of file rep_base.hpp.

References openRS::open(), opened, and read_base::rs.

rep_base& rep_base::emitTop ( string  Name  )  [inline]

Definition at line 92 of file rep_base.hpp.

References cgiTemplates::getParagraph(), ocString::replace(), reportParts, topKey, and webIO.

rep_base& rep_base::emitEmptySet ( void   )  [inline]

int rep_base::simulateHeader ( void   )  [inline]

rep_base& rep_base::emitHeadings ( string  pipedelimited = ""  )  [inline]

rep_base& rep_base::emitEnd ( string  extra = ""  )  [inline]

Definition at line 163 of file rep_base.hpp.

References endKey, part(), ocString::replace(), and webIO.

void rep_base::setColFormat ( string  fmt,
int  pos 
) [inline]

rep_base& rep_base::emitHeader ( void   )  [inline]

virtual string rep_base::getHeadCell ( int  iField,
ocString th 
) [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 201 of file rep_base.hpp.

References openRS::getField(), basicField::getName(), ocString::replace(), and read_base::rs.

rep_base& rep_base::emitData ( void   )  [inline]

virtual void rep_base::sendField ( int  iField,
ocString td 
) [inline, virtual]

virtual void rep_base::derived_commence_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 238 of file rep_base.hpp.

virtual void rep_base::derived_prerow_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 242 of file rep_base.hpp.

virtual void rep_base::derived_postrow_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, and col_handling_rep.

Definition at line 246 of file rep_base.hpp.

virtual void rep_base::derived_complete_event ( void   )  [inline, virtual]

Reimplemented in col_handling_rep, col_handling_rep, and commissions_report.

Definition at line 250 of file rep_base.hpp.


Member Data Documentation

Definition at line 35 of file rep_base.hpp.

Referenced by emitHeader(), and emitHeadings().

Definition at line 36 of file rep_base.hpp.

Referenced by emitEmptySet(), getData(), and simulateHeader().

ostream& rep_base::webIO

Definition at line 38 of file rep_base.hpp.

Referenced by emitData(), getData(), and iGetData().

Definition at line 39 of file rep_base.hpp.

Referenced by col_handling_rep::derived_prerow_event(), and emitData().

Definition at line 40 of file rep_base.hpp.

Referenced by col_handling_rep::derived_prerow_event(), and emitData().

Definition at line 42 of file rep_base.hpp.

Referenced by commissions_report::commissions_report(), and emitTop().

Definition at line 42 of file rep_base.hpp.

Referenced by commissions_report::commissions_report(), and emitEnd().

Definition at line 42 of file rep_base.hpp.

Referenced by emitHeader(), emitHeadings(), and simulateHeader().

ostream& rep_base::webIO

Definition at line 37 of file rep_base.hpp.


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

Generated on Sat Aug 15 12:48:46 2009 for w3systemsDevelopment by  doxygen 1.5.5