CPPSERV


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

csp::tags::ListIteratorTag Class Reference

Inheritance diagram for csp::tags::ListIteratorTag:
Collaboration diagram for csp::tags::ListIteratorTag:

List of all members.


Public Member Functions

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

Public Attributes

string m_list
string m_var
string m_type

Detailed Description

Tag synopsys <csp:foreach_list list="
<iterator>" type="<collection type>="">">...</csp:foreach_list>
Parameters:
list List name. Must be existing variable of type (or reference to type)
var Iterator variable name. It can be referenced only inside the block
type Collection type (e.g. std::vector<std::string>)

Definition at line 120 of file IteratorTags.cpp.


Constructor & Destructor Documentation

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

Definition at line 125 of file IteratorTags.cpp.


Member Function Documentation

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

Called when closing tag is encountered

Implements servlet::taglib::Generator.

Definition at line 149 of file IteratorTags.cpp.

References servlet::taglib::Generator::body.

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

Implements servlet::taglib::Generator.


Member Data Documentation

Definition at line 123 of file IteratorTags.cpp.

Definition at line 123 of file IteratorTags.cpp.

Definition at line 123 of file IteratorTags.cpp.


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

SourceForge.net Logo