svgreader.h revision 6cd2e86330e1049942b9ce57d4f10bbe2542067d
#ifndef SEEN_SVGREADER_H
#define SEEN_SVGREADER_H
/**
* @file
* Phoebe DOM Implementation.
*
* This is a C++ approximation of the W3C DOM model, which follows
* fairly closely the specifications in the various .idl files, copies of
* which are provided for reference. Most important is this one:
*
*/
/*
* Authors:
* Bob Jamison
*
* Copyright (C) 2005-2008 Bob Jamison
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* =======================================================================
* NOTES
*
* This parser takes an XML document, as a file, string, or DOM Document,
* and attempts to parse it as an SVG-DOM SVGDocument.
*
* Look in svg.h and svgtypes.h for the classes which are the target of this
* parser.
*
* They loosely follow the specification:
*
*/
#include "svgimpl.h"
{
{
{
{
{
/**
*
*/
SVGReader() :
parsebuf(),
parselen(0),
lastPosition(0),
doc(0)
{
}
/**
*
*/
{
}
/**
*
*/
/**
*
*/
/**
*
*/
/**
* Get the next character in the parse buf, 0 if out
* of range
*/
/**
* Test if the given substring exists at the given position
* in parsebuf. Use get() in case of out-of-bounds
*/
/**
*
*/
int skipwhite(int p);
/**
* get a word from the buffer
*/
/**
* get a word from the buffer
*/
/**
*
*/
/**
*
*/
/**
*
*/
#ifdef G_GNUC_PRINTF
#endif
;
/**
*
*/
#ifdef G_GNUC_PRINTF
#endif
;
int parselen;
int lastPosition;
};
} //namespace svg
} //namespace dom
} //namespace w3c
} //namespace org
#endif // SEEN_SVGREADER_H
/*#########################################################################
## E N D O F F I L E
#########################################################################*/