00001 #ifndef K3DSDK_XPATH_H 00002 #define K3DSDK_XPATH_H 00003 00004 // K-3D 00005 // Copyright (c) 1995-2009, Timothy M. Shead 00006 // 00007 // Contact: tshead@k-3d.com 00008 // 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public 00011 // License as published by the Free Software Foundation; either 00012 // version 2 of the License, or (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 // General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU General Public 00020 // License along with this program; if not, write to the Free Software 00021 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 00027 #include <k3dsdk/types.h> 00028 #include <vector> 00029 00030 namespace k3d 00031 { 00032 00033 namespace xml 00034 { 00035 00036 class element; 00037 00039 namespace xpath 00040 { 00041 00043 typedef std::vector<element*> result_set; 00044 00046 result_set match(element& Tree, const string_t& Expression); 00047 00048 } // namespace xpath 00049 00050 } // namespace xml 00051 00052 } // namespace k3d 00053 00055 std::ostream& operator<<(std::ostream& Stream, const k3d::xml::xpath::result_set& RHS); 00056 00057 #endif // !K3DSDK_XPATH_H 00058
1.6.3