NetworkGraphBuilder.h

00001 #ifndef REBECCA_NETWORKGRAPHBUILDER_H
00002 #define REBECCA_NETWORKGRAPHBUILDER_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  * it ignoring the throw specification
00028  */
00029 #ifdef _WIN32
00030 #    pragma warning ( push )
00031 #    pragma warning( disable : 4290 )
00032 #endif
00033 
00034 //rebecca includes
00035 #include <rebecca/exports.h>
00036 #include <rebecca/GraphBuilder.h>
00037 
00038 namespace rebecca
00039 {
00040 namespace impl
00041 {
00042 
00047 class REBECCA_EXPORT NetworkGraphBuilder : public GraphBuilder
00048 {
00049     public:
00050         
00061         virtual StringPimpl getProperty(const StringPimpl &key) const 
00062             throw(Exception &) = 0;
00063 
00079         virtual StringPimpl getPropertyWithDefault(const StringPimpl &key, const StringPimpl &value) const 
00080             throw(Exception &) = 0;
00081 
00092         virtual int getPropertyAsInt(const StringPimpl &key) const 
00093             throw(Exception &) = 0;
00094 
00110         virtual int getPropertyAsIntWithDefault(const StringPimpl &key, int value) const 
00111             throw(Exception &) = 0;     
00112 
00116         virtual ~NetworkGraphBuilder() { };
00117 };
00118 
00119 } //end of impl namespace
00120 
00121 using rebecca::impl::NetworkGraphBuilder;
00122 
00123 } //end of rebecca namespace 
00124 
00125 #endif

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