AimlFacade.h

00001 #ifndef REBECCA_AIMLFACADE_H
00002 #define REBECCA_AIMLFACADE_H
00003 
00004 /*
00005  * RebeccaAIML, Artificial Intelligence Markup Language 
00006  * C++ api and engine.
00007  *
00008  * Copyright (C) 2005 Frank Hassanabad
00009  *
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free Software Foundation; either
00013  * version 2.1 of the License, or (at your option) any later version.
00014  *
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Lesser General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00023  */
00024 
00025 //To get the REBECA_EXPORT macro
00026 #include <rebecca/exports.h>
00027 #include <rebecca/Exceptions.h>
00028 
00029 /* Disable Windows VC 7.x warning about 
00030  * it ignoring the throw specification
00031  */
00032 #ifdef _WIN32
00033 #    pragma warning ( push )
00034 #    pragma warning( disable : 4290 )
00035 #endif
00036 
00049 namespace rebecca
00050 {
00051 
00070 namespace impl
00071 {
00072 
00073 //Forward decleration
00074 class GraphBuilder;
00075 
00102 class REBECCA_EXPORT AimlFacade
00103 {
00104     public:
00105 
00119         AimlFacade() throw(Exception &);
00120 
00137         GraphBuilder &getGraphBuilder() throw();
00138     
00145         virtual ~AimlFacade();
00146         
00169         void operator delete(void* p);
00170 
00171 
00196         void *operator new(unsigned int size);
00197 
00198 
00199     private:
00200 
00210         AimlFacade &operator=(const AimlFacade &aimlFacade);
00211 
00221         AimlFacade(const AimlFacade& aimlFacade);
00222 
00232         GraphBuilder *m_graphBuilder;
00233 };
00234 
00235 
00236 
00237 } //end namespace impl
00238 
00239 //expose AimlFacade to the rebecca namespace
00240 using rebecca::impl::AimlFacade;
00241 
00242 } //end namespace rebecca
00243 
00244 #ifdef _WIN32
00245 #    pragma warning ( pop )
00246 #endif
00247 
00248 
00249 #endif

Generated on Sat Mar 4 23:32:09 2006 for RebeccaAIML by  doxygen 1.4.5