category.h

00001 #ifndef REBECCA_FRAMEWORK_CATEGORY_H
00002 #define REBECCA_FRAMEWORK_CATEGORY_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 /* Disable Windows VC 7.x warning about 
00027  * shared_ptr needing dll-interface and
00028  * about it ignoring the throw specification
00029  */
00030 #ifdef _WIN32
00031 #    pragma warning ( push )
00032 #    pragma warning( disable : 4251 )
00033 #    pragma warning( disable : 4290 )
00034 #endif
00035 
00036 #include <rebecca/framework/InnerTopic.h>
00037 
00038 namespace rebecca
00039 {
00040 namespace framework
00041 {
00042 namespace impl
00043 {
00044 
00045 /* 
00046  * Forward decleration
00047  */
00048 
00059 class CategoryImpl;
00060 class PatternSideThat;
00061 class Template;
00062 class Pattern;
00063 class GraphBuilderFramework;
00064 
00076 class REBECCA_EXPORT Category : public InnerTopic
00077 {
00078     public:
00079 
00091         Category() 
00092             throw(InternalProgrammerErrorException &);
00093         
00109         virtual void handleInnerTag(Tag *tag) 
00110             throw(InternalProgrammerErrorException &);
00111 
00127         virtual const StringPimpl getTemplateString() 
00128             throw(InternalProgrammerErrorException &);
00129 
00147         virtual const StringPimpl &getPatternString() 
00148             throw(InternalProgrammerErrorException &);
00149 
00167         virtual const StringPimpl &getThatString() 
00168             throw(InternalProgrammerErrorException &);      
00169         
00183         virtual const Template *getTemplate() 
00184             throw(InternalProgrammerErrorException &);
00185 
00190         virtual ~Category();
00191 
00192     private:
00193 
00204         CategoryImpl *m_pimpl;
00205 };
00206 
00207 
00208 } //end of namespace impl
00209 
00210 //Expose just the class name to the framework namespace
00211 using rebecca::framework::impl::Category;
00212 
00213 } //end of namespace framework
00214 } //end of namespace rebecca
00215 
00216 
00217 #ifdef _WIN32
00218 #    pragma warning ( pop )
00219 #endif
00220 
00221 #endif
00222 

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