DCL 3.7.4
Loading...
Searching...
No Matches
MessageView Class Reference

#include <MessageView.h>

Inheritance diagram for MessageView:
HtmlView TextTemplate Object MessageDetailView MessageListView MessageWriteForm

Protected Member Functions

virtual void init (SQLFields &fields) __DCL_THROWS1(Exception *)
virtual void onPrint (Session &session) __DCL_THROWS1(Exception *)
Protected Member Functions inherited from HtmlView
 HtmlView (HtmlPage *pPage)
Protected Member Functions inherited from TextTemplate
virtual String onSQLFieldValue (_CONST SQLField &_field, const String &_fieldIsNullValue)
void parseHelper (const char_t *_begin, const char_t *_end)
void parse (const char_t *_begin, const char_t *_end)
int append (const char_t *_name, const String &_value, bool _clearExists)
int append (const char_t *_name, const TextTemplate &_template, bool _clearExists)
int append (const StringStringArray &_nameToValues, bool _clearExists)
int append (_CONST SQLFields &_fields, const String &_fieldIsNullValue, bool _clearExists)
Protected Member Functions inherited from Object
virtual ~Object ()
 Object ()

Protected Attributes

String __strDsName
int __nDsID
int __nTableID
int __nReplyDepth
int __nSequence
int __nStartPermID
int __nReplyPerm
int __nAttachPerm
Protected Attributes inherited from HtmlView
HtmlPage__pPage
int __nIndex
int __nClassID
StringToStringMap __mapParams
Protected Attributes inherited from TextTemplate
void * __textList
void * __subTemplateMap

Additional Inherited Members

Public Member Functions inherited from HtmlView
const HtmlPagepage () const
String SELF () const
String VNO () const
virtual void onGet (Session &session) __DCL_THROWS1(Exception *)
virtual void onPost (Session &session) __DCL_THROWS1(Exception *)
Public Member Functions inherited from Object
virtual String toString () const
virtual void destroy ()
String className () const
bool isInstanceOf (const std::type_info &typeinfo) const
virtual const std::type_info & typeInfo () const
Static Public Member Functions inherited from HtmlView
static HtmlViewcreateObject (HtmlPage *pPage, int nClassID, int nIndex)
Static Protected Member Functions inherited from HtmlView
static size_t split (const String &str, StringStringArray &v)
static void dump (Session &session)
static String getDefault (ListedStringToStringArrayMap &map, const String &strKey)
static size_t getShortString (SQLField &field, size_t _len, String &strLong, String &strShort)

Detailed Description

Definition at line 21 of file MessageView.h.

Member Function Documentation

◆ init()

void MessageView::init ( SQLFields & fields)
protectedvirtual

Reimplemented from HtmlView.

Reimplemented in MessageDetailView, and MessageWriteForm.

Definition at line 28 of file MessageView.cpp.

30{
31 HtmlView::init(fields);
32
33 __nDsID = fields.byName(L"DS_ID").asInteger();
34 __nTableID = fields.byName(L"TABLE_ID").asInteger();
35 __nReplyDepth = fields.byName(L"REPLY_DEPTH").asInteger();
36 __nSequence = fields.byName(L"SEQUENCE").asInteger();
37
38 __strDsName = fields.byName(L"DS_NAME").asString();
39}
virtual void init(SQLFields &fields) __DCL_THROWS1(Exception *)
Definition HtmlView.cpp:298
int __nReplyDepth
Definition MessageView.h:37
String __strDsName
Definition MessageView.h:34
_CONST SQLField & byName(const wchar_t *_name) _CONST __DCL_THROWS1(InvalidIndexException *)
Definition SQLQuery.cpp:77

◆ onPrint()

void MessageView::onPrint ( Session & session)
protectedvirtual

Reimplemented from HtmlView.

Reimplemented in MessageDetailView, and MessageWriteForm.

Definition at line 41 of file MessageView.cpp.

43{
44 assign(L"_DS_NAME", __strDsName);
45 HtmlView::onPrint(session);
46}
virtual void onPrint(Session &session) __DCL_THROWS1(Exception *)
Definition HtmlView.cpp:349

Member Data Documentation

◆ __nAttachPerm

int MessageView::__nAttachPerm
protected

Definition at line 42 of file MessageView.h.

◆ __nDsID

int MessageView::__nDsID
protected

Definition at line 35 of file MessageView.h.

◆ __nReplyDepth

int MessageView::__nReplyDepth
protected

Definition at line 37 of file MessageView.h.

◆ __nReplyPerm

int MessageView::__nReplyPerm
protected

Definition at line 41 of file MessageView.h.

◆ __nSequence

int MessageView::__nSequence
protected

Definition at line 38 of file MessageView.h.

◆ __nStartPermID

int MessageView::__nStartPermID
protected

Definition at line 40 of file MessageView.h.

◆ __nTableID

int MessageView::__nTableID
protected

Definition at line 36 of file MessageView.h.

◆ __strDsName

String MessageView::__strDsName
protected

Definition at line 34 of file MessageView.h.


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