#include <oofrw.h>
Inheritance diagram for dbRep:


Only reports a single dbTable - no nested data or graphs. Has interesting pageWise format which puts field names on left of wrapped field data. Still useful for quick dump of a table, or writing simple HTML.
Public Types | |
| enum | ReportStyles { pageWise, columnar } |
Public Member Functions | |
| dbRep (const dbRepSizer &sizer, const dbView &fields, const ReportStyles style) | |
| dbRep (const dbRepSizer &sizer, const dbRepColWidths colWidths, const dbView &fields, const ReportStyles style) | |
| virtual | ~dbRep () |
| void | setStyle (const ReportStyles) |
| virtual void | formatForCharStream ()=0 |
| virtual void | draw (std::ostream &)=0 |
| void | extract (std::ostream &) |
| char * | copyStr (const char *theString) |
| const OOF_String & | reportTitle () |
| bool | hidden () const |
| void | hide (bool hideIt=true) |
| virtual void | describe (std::ostream &) const |
| Provide human-readable information about object. | |
| virtual oofString | name () const |
Protected Attributes | |
| dbRepSizer | mSizer |
| dbView | mFields |
| ReportStyles | mReportStyle |
| dbRepColWidths | mColWidths |
| bool | mBuilt |
| bool | mHidden |
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Provide human-readable information about object. Overriden to provide much more detail particularly for dbTable::describe() which provides full schema. Reimplemented in dbTable, dbConnect, dbField, dbChar, dbFixedBinary, and dbRelRefBase. |
|
|
Implemented in dbRepHTML, dbRepHTMLTable, and dbRepChar. |
|
|
|
|
|
Implemented in dbRepHTML, dbRepHTMLTable, and dbRepChar. |
|
|
|
|
|
|
|
|
Reimplemented in dbTable, dbConnect, dbField, and OOF_adornerHolder. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5