#include <Bot.h>
Inheritance diagram for Bot:
Public Member Functions | |
Bot (GraphBuilderFramework &builder) throw (InternalProgrammerErrorException &) | |
Initalizes the private implementation (m_pimpl) data and sets the private implementation with a reference to the GraphBuilderFramework. | |
virtual StringPimpl | getString () const throw (InternalProgrammerErrorException &) |
Calls GraphBuilderFramework::getBotPredicate() with the name attribute set through Bot::setAttribute() and returns the result. | |
virtual void | setAttribute (const StringPimpl &name, const StringPimpl &value) throw (InternalProgrammerErrorException &) |
Sets its attribute of "name". | |
virtual | ~Bot () |
Default virtual destructor. | |
Private Attributes | |
shared_ptr< BotImpl > | m_pimpl |
The private implementation in which you cannot get access to. |
Every time a XML Tag of AIML is encountered, an instance of this class will be created. All text inbetween the begin and end tag, all attributes, and all inner Tags will go through methods of this class.
|
Initalizes the private implementation (m_pimpl) data and sets the private implementation with a reference to the GraphBuilderFramework.
|
|
Default virtual destructor. Destroys the private implementation (m_pimpl) data. |
|
Calls GraphBuilderFramework::getBotPredicate() with the name attribute set through Bot::setAttribute() and returns the result.
Reimplemented from InnerTemplate. |
|
Sets its attribute of "name".
Reimplemented from Tag. |
|
The private implementation in which you cannot get access to. This shared_ptr holds the private methods and private member variables of this class. This makes ABI (Application Binary Interface) more resilient to change. See the private implementation idiom on the internet for more information about this. Reimplemented from InnerTemplate. |