Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

csp::tags::UseDefTag Class Reference

Inheritance diagram for csp::tags::UseDefTag:
Collaboration diagram for csp::tags::UseDefTag:

List of all members.

Public Member Functions

 UseDefTag (const string &name)
virtual void doStartTag (const attribs_t &attribs)
virtual void doEndTag ()
virtual void initChildBuffers ()

Private Attributes

bool with_servlet

Detailed Description

Tag synopsys: <csp:usedef name="<name>"/> This tag allows use of "define" inherited from parent class

Definition at line 115 of file MacroTags.cpp.

Constructor & Destructor Documentation

csp::tags::UseDefTag::UseDefTag ( const string &  name  )  [inline]

Definition at line 120 of file MacroTags.cpp.

Member Function Documentation

void csp::tags::UseDefTag::doEndTag (  )  [virtual]

Called when closing tag is encountered

Reimplemented from csp::tags::DefineTag.

Definition at line 141 of file MacroTags.cpp.

References servlet::taglib::Generator::body, csp::tags::DefineTag::m_defines, and with_servlet.

virtual void csp::tags::UseDefTag::doStartTag ( const attribs_t attribs  )  [virtual]

doStartTag is called when opening tag is encountered

attribs key-value map of the tag attributes Override this function in your tag handler to generate pre-amble code for your tag

Reimplemented from csp::tags::DefineTag.

void csp::tags::UseDefTag::initChildBuffers (  )  [virtual]

Sets up child buffers (buffers where contents _inside_ this tag is sent By default it's same as its own buffers (set by setBuffers) If this function is overridden and different set of buffers is generated, it's tag writer's responsibility to ensure that output is actually sent to parent's buffers

Reimplemented from csp::tags::DefineTag.

Definition at line 128 of file MacroTags.cpp.

References csp::tags::DefineTag::func_body, servlet::taglib::Generator::m_child_body, servlet::taglib::Generator::m_child_header, and servlet::taglib::Generator::m_child_member.

Member Data Documentation

Reimplemented from csp::tags::DefineTag.

Definition at line 118 of file MacroTags.cpp.

Referenced by doEndTag().

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

SourceForge.net Logo