CustomCondition Class Reference

The Custom Condition class that overrides the regular Condition AIML XML Tag. More...

#include <InnerTemplateAIMLTags.h>

List of all members.

Public Member Functions

virtual void add (const shared_ptr< InnerTemplate > &tag) throw (InternalProgrammerErrorException &)
 Add the tag to the internal data structure.
 CustomCondition (GraphBuilderFramework &builder) throw ()
 Default constructor to call Tag::addInstanceOf() and to set the builder reference.
virtual StringPimpl getString () const throw (InternalProgrammerErrorException &)
 Returns the html string name of the AIML XML name of this class and any AIML XML tags that are inside of this AIML XML Tag.
virtual void setAttribute (const StringPimpl &name, const StringPimpl &value) throw (InternalProgrammerErrorException &)
 Sets the attribute to a value.

Private Attributes

InnerTemplateListImpl m_list
 Use this for the internal data structure hold values for when add is called on this class.
string m_name
 The attribute name.
string m_value
 The attribute value.


Detailed Description

The Custom Condition class that overrides the regular Condition AIML XML Tag.


Constructor & Destructor Documentation

CustomCondition GraphBuilderFramework builder  )  throw () [inline]
 

Default constructor to call Tag::addInstanceOf() and to set the builder reference.

Parameters:
builder A reference to the graph builder framework that can be used to set and get information from the AIML engine.


Member Function Documentation

virtual void add const shared_ptr< InnerTemplate > &  tag  )  throw (InternalProgrammerErrorException &) [inline, virtual]
 

Add the tag to the internal data structure.

Parameters:
tag The tag to add
Exceptions:
Does not throw anything

virtual StringPimpl getString  )  const throw (InternalProgrammerErrorException &) [inline, virtual]
 

Returns the html string name of the AIML XML name of this class and any AIML XML tags that are inside of this AIML XML Tag.

Returns:
the htm string name of the AIML XML Tag and any inner tags
Exceptions:
Does not throw anything

virtual void setAttribute const StringPimpl name,
const StringPimpl value
throw (InternalProgrammerErrorException &) [inline, virtual]
 

Sets the attribute to a value.

This is overriden to gain access to the attribute.

Parameters:
name The name of the AIML XML attribute
value The value of the AIML XML attribute
Exceptions:
Does not throw anything


Member Data Documentation

InnerTemplateListImpl m_list [private]
 

Use this for the internal data structure hold values for when add is called on this class.

string m_name [private]
 

The attribute name.

string m_value [private]
 

The attribute value.


The documentation for this class was generated from the following file:
Generated on Thu Sep 7 22:05:52 2006 for RebeccaAIML by  doxygen 1.4.5