*** empty log message ***

This commit is contained in:
jez_higgins 2005-06-08 21:45:07 +00:00
parent 925803b5b9
commit e9a97584fc
4 changed files with 11 additions and 5 deletions

View file

@ -2,10 +2,14 @@
#define JEZUK_SimpleDOM_ELEMENTBYTAGIMPL_H #define JEZUK_SimpleDOM_ELEMENTBYTAGIMPL_H
#include <DOM/Node.h> #include <DOM/Node.h>
#include <DOM/Simple/NodeImpl.h>
namespace SimpleDOM namespace SimpleDOM
{ {
template<class stringT, class string_adaptorT>
class DocumentImpl;
template<class stringT, class string_adaptorT> template<class stringT, class string_adaptorT>
class ElementByTagList : public DOM::NodeList_impl<stringT> class ElementByTagList : public DOM::NodeList_impl<stringT>
{ {

View file

@ -11,11 +11,11 @@ namespace SimpleDOM
{ {
template<class stringT, class string_adaptorT> template<class stringT, class string_adaptorT>
class nameIs : public std::unary_function<NodeImpl<stringT, string_adaptorT>*, bool> class nameIs : public std::unary_function<SimpleDOM::NodeImpl<stringT, string_adaptorT>*, bool>
{ {
public: public:
nameIs(const stringT& name) : name_(name) { } nameIs(const stringT& name) : name_(name) { }
bool operator()(const NodeImpl<stringT, string_adaptorT>* node) const bool operator()(const SimpleDOM::NodeImpl<stringT, string_adaptorT>* node) const
{ {
return (node->getNodeName() == name_); return (node->getNodeName() == name_);
} // operator() } // operator()

View file

@ -6,7 +6,9 @@
// //
// $Id$ // $Id$
//////////////////////////// ////////////////////////////
#include <DOM/Node.h> #include <DOM/Node.h>
#include <DOM/DOMException.h>
#include <deque> #include <deque>
#include <algorithm> #include <algorithm>

View file

@ -1,7 +1,7 @@
#################################### ####################################
# ARABICA CONFIG # ARABICA CONFIG
# edit for your parser choice - may include more than one USE_* # edit for your parser choice - may include more than one USE_*
PARSER_CONFIG = -DUSE_EXPAT -DARABICA_NO_WCHAR_T PARSER_CONFIG = -DUSE_LIBXML2 -DARABICA_NO_WCHAR_T
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN #PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
#################################### ####################################
@ -33,11 +33,11 @@ CXXFLAGS = -Wall
LDFLAGS = LDFLAGS =
# Includes and library directories # Includes and library directories
INCS_DIRS = -I.. -I/home/jez/gcc-3.4.2/include INCS_DIRS = -I.. -I/home/jez/gcc-3.4.2/include -I/usr/include/libxml2
LIBS_DIRS = -I/home/jez/gcc-3.4.2/lib LIBS_DIRS = -I/home/jez/gcc-3.4.2/lib
STATIC_LIBS = STATIC_LIBS =
DYNAMIC_LIBS = -lexpat -lstdc++ DYNAMIC_LIBS = -lxml2 -lstdc++
# link flag to create a shared library # link flag to create a shared library
LINK_SHARED = -shared LINK_SHARED = -shared