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

csp::tags::IfTag Class Reference

Inheritance diagram for csp::tags::IfTag:
Collaboration diagram for csp::tags::IfTag:

List of all members.

Public Member Functions

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

Private Attributes

string m_cond

Detailed Description

Tag synopsys <csp:if test="[condition]">...</csp:if>
test Boolean C++ expression

Definition at line 38 of file ConditionalTags.cpp.

Constructor & Destructor Documentation

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

Definition at line 43 of file ConditionalTags.cpp.

Member Function Documentation

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

Called when closing tag is encountered

Implements servlet::taglib::Generator.

Definition at line 57 of file ConditionalTags.cpp.

References servlet::taglib::Generator::body, and m_cond.

virtual void csp::tags::IfTag::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

Implements servlet::taglib::Generator.

Member Data Documentation

string csp::tags::IfTag::m_cond [private]

Definition at line 41 of file ConditionalTags.cpp.

Referenced by doEndTag().

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

SourceForge.net Logo