AIML.h

00001 #ifndef REBECCA_FRAMEWORK_AIML_H
00002 #define REBECCA_FRAMEWORK_AIML_H
00003 
00004 /*
00005  * RebeccaAIML, Artificial Intelligence Markup Language 
00006  * C++ api and engine.
00007  *
00008  * Copyright (C) 2005,2006,2007 Frank Hassanabad
00009  *
00010  * This file is part of RebeccaAIML.
00011  *
00012  * RebeccaAIML is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 3 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * RebeccaAIML is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00024  */
00025 
00026 //Rebecca includes
00027 #include <rebecca/framework/Tag.h>
00028 #include <rebecca/framework/Topic.h>
00029 
00030 /* Disable Windows VC 7.x warning about 
00031  * shared_ptr needing dll-interface and
00032  * about it ignoring the throw specification
00033  */
00034 #ifdef _WIN32
00035 #    pragma warning ( push )
00036 #    pragma warning( disable : 4251 )
00037 #    pragma warning( disable : 4290 )
00038 #endif
00039 
00040 namespace rebecca
00041 {
00042 namespace framework
00043 {
00044 namespace impl
00045 {
00046 
00047 /*
00048  * Forward declarations
00049  */
00050 
00061 class AIMLImpl;
00062 
00063 class GraphBuilderFramework;
00064 
00076 class REBECCA_EXPORT AIML : public Tag
00077 {
00078     
00079     public:
00080 
00095         AIML() 
00096             throw(InternalProgrammerErrorException &);
00097         
00109         virtual void setAttribute(const StringPimpl &name, 
00110                                   const StringPimpl &value) 
00111             throw(InternalProgrammerErrorException &);
00112         
00133         virtual void handleInnerTag(Tag *tag) 
00134             throw(InternalProgrammerErrorException &);
00135 
00140         virtual ~AIML();
00141 
00142     private:
00143 
00154         AIMLImpl *m_pimpl;
00155 };
00156 
00157 
00158 } //end of namespace impl
00159 
00160 //Expose just the class name to the framework namespace
00161 using rebecca::framework::impl::AIML;
00162 
00163 } //end of namespace framework 
00164 } //end of namespace rebecca
00165 
00166 #ifdef _WIN32
00167 #    pragma warning ( pop )
00168 #endif
00169 
00170 #endif
00171 

Generated on Mon Aug 27 12:26:47 2007 for RebeccaAIML by  doxygen 1.5.3