CPPSERV


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

csp::tags::DefunTag Class Reference

Inheritance diagram for csp::tags::DefunTag:
Collaboration diagram for csp::tags::DefunTag:

List of all members.


Public Member Functions

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

Detailed Description

Tag synopsys: <csp:defun name="<name>" params="<C++ argument definitions>"> Tag so defined, can later on be used with <csp:call> construct Note1: current implementation does no param syntax checking Note2: current implementation doesn't allow referencing variables from the caller function

Definition at line 158 of file MacroTags.cpp.


Constructor & Destructor Documentation

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

Definition at line 161 of file MacroTags.cpp.


Member Function Documentation

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

Called when closing tag is encountered

Reimplemented from csp::tags::DefineTag.

Definition at line 184 of file MacroTags.cpp.

References csp::tags::DefineTag::func_body, csp::tags::DefineTag::m_defines, and servlet::taglib::Generator::member.

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

doStartTag is called when opening tag is encountered

Parameters:
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.


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

SourceForge.net Logo