Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

xpath_session.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 
00003 /*
00004  *  This file is part of the KDE libraries
00005  *  Copyright (C) 2004 Richard Moore, rich@kde.org
00006  *  Copyright (C) 2004 Zack Rusin, zack@kde.org
00007  *
00008  *  This library is free software; you can redistribute it and/or
00009  *  modify it under the terms of the GNU Lesser General Public
00010  *  License as published by the Free Software Foundation; either
00011  *  version 2 of the License, or (at your option) any later version.
00012  *
00013  *  This library is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  *  Lesser General Public License for more details.
00017  *
00018  *  You should have received a copy of the GNU Lesser General Public
00019  *  License along with this library; if not, write to the Free Software
00020  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  *
00022  */
00023 
00024 #ifndef XPATH_SESSION_H
00025 #define XPATH_SESSION_H
00026 
00027 #include "dom/dom_string.h"
00028 
00029 namespace DOM {
00030     class DocumentImpl;
00031     class Document;
00032 }
00033 
00034 namespace XPath {
00035 
00036 class Value;
00037 
00043 class Session
00044 {
00045 public:
00050     Session( const DOM::Document &document );
00051     Session( const Session &other );
00052 public:
00053     Session& operator=( const Session &other );
00054     Session& operator=( const DOM::Document &other );
00055     ~Session();
00056 
00069     Value select( const DOM::DOMString &query );
00070 
00071 private:
00072     DOM::DocumentImpl *doc;
00073 };
00074 
00075 } // namespace XPath
00076 
00077 #endif // XPATH_SESSION_H
00078 
00079 // Local Variables:
00080 // c-basic-offset: 4
00081 // End:

Generated on Sat Jan 31 23:28:24 2004 for XPath by doxygen1.2.18