Rudiments
/home/dmuse/src/rudiments/include/rudiments/dtd.h
00001 // Copyright (c) 2002 David Muse
00002 // See the COPYING file for more information.
00003 
00004 #ifndef RUDIMENTS_DTD_H
00005 #define RUDIMENTS_DTD_H
00006 
00007 #include <rudiments/private/dtdincludes.h>
00008 
00009 #ifdef RUDIMENTS_NAMESPACE
00010 namespace rudiments {
00011 #endif
00012 
00013 class dtdprivate;
00014 
00016 class RUDIMENTS_DLLSPEC dtd {
00017         public:
00018 
00020                 dtd();
00021 
00023                 ~dtd();
00024 
00027                 bool            parseFile(const char *filename);
00028 
00031                 bool            parseString(const char *string);
00032 
00035                 const char      *getError();
00036 
00038                 xmldomnode      *xml();
00039 
00040         #include <rudiments/private/dtd.h>
00041 };
00042 
00043 #ifdef RUDIMENTS_NAMESPACE
00044 }
00045 #endif
00046 
00047 #endif