Main Page | Class Hierarchy | Class List | File List | Class Members

rax_handler.h

00001 /***************************************************************************
00002                           rax_handler.h  -  description
00003                              -------------------
00004     begin                : Sat Feb 1 2003
00005     copyright            : (C) 2003 by Moritz Franosch
00006     email                : mail@Franosch.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef RAX_HANDLER_H
00019 #define RAX_HANDLER_H
00020 
00021 
00022 #include <string>
00023 
00024 #include "xercesc/sax/HandlerBase.hpp"
00025 
00026 
00027 
00028 
00029 class RAX_Parser;
00030 
00031 
00036 class RAX_Handler {
00037 
00038 public: 
00039 
00042   RAX_Handler();
00043 
00046   virtual void start(RAX_Parser& parser, 
00047                      const std::string& name, AttributeList& attributes);
00048 
00051   virtual void end(RAX_Parser& parser, const std::string& name);
00052 
00056   virtual void text(RAX_Parser& parser, 
00057                     const std::string& name, const std::string& t);
00058 
00061   virtual ~RAX_Handler();
00062 
00067   virtual double double_value(const std::string& s) const;
00068 
00073   virtual int int_value(const std::string& s) const;
00074 
00075 };
00076 
00077 
00078 #endif // RAX_HANDLER_H

Generated on Fri Apr 22 11:06:42 2005 for partsim.kdevelop by doxygen 1.3.6