tut::IntegerNode Class Reference

Inheritance diagram for tut::IntegerNode:

Inheritance graph
[legend]
Collaboration diagram for tut::IntegerNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void get (ResponsePtr response, const LLSD &context) const
virtual bool validate (const std::string &name, LLSD &context) const

Detailed Description

Definition at line 249 of file llhttpnode_tut.cpp.


Member Function Documentation

virtual void tut::IntegerNode::get ( ResponsePtr  response,
const LLSD context 
) const [inline, virtual]

Definition at line 252 of file llhttpnode_tut.cpp.

References n.

virtual bool tut::IntegerNode::validate ( const std::string &  name,
LLSD context 
) const [inline, virtual]

called only on wildcard nodes, to check if they will handle the name; default is false; overrides will want to check name, and return true if the name will construct to a valid url. For convenience, the getChild() method above will automatically insert the name in context["request"]["wildcard"][key] if this method returns true. For example, the node "agent/<agent_id>/detail" will set context["request"]["wildcard"]["agent_id"] eqaul to the value found during traversal.

Reimplemented from LLHTTPNode.

Definition at line 265 of file llhttpnode_tut.cpp.

References n.


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:12:06 2010 for Second Life Viewer by  doxygen 1.4.7