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

context.h

Go to the documentation of this file.
00001 
00002 //  -*- c++ -*-
00003 
00004 #ifndef XPATH_CONTEXT_H
00005 #define XPATH_CONTEXT_H
00006 
00007 #include <dom/dom_node.h>
00008 
00009 namespace XPath {
00010 
00018 class Context
00019 {
00020 public:
00021     Context( const DOM::Node &node ) { curr = node; pos = sz = 0; }
00022 
00024     DOM::Node current() const { return curr; }
00026     uint position() const { return pos; }
00028     uint size() const { return sz; }
00029 
00030     void *variables;
00031     void *functions;
00032     void *namespaces;
00033 
00034 private:
00035     DOM::Node curr;
00036     uint pos;
00037     uint sz;
00038     // Variable bindings
00039     // Function library
00040     // Namespace declarations
00041 };
00042 
00043 }; // namespace XPath
00044 
00045 #endif // XPATH_CONTEXT_H
00046 
00047 // Local Variables:
00048 // c-basic-offset: 4
00049 // End:

Generated at Sat Feb 8 03:30:01 2003 for XPath by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001