SgmlParser.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef SgmlParser_INCLUDED
#define SgmlParser_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "StringC.h"
#include "Ptr.h"
#include "Location.h"
#include "EntityManager.h"
#include <signal.h>
#ifdef SP_NAMESPACE
#endif
struct ParserOptions;
enum EntityType {
};
Params();
const SgmlParser *parent;
unsigned subdocLevel;
const ParserOptions *options;
// referenced subdocs count against SUBDOC limit in SGML declaration
};
SgmlParser(); // must call init
~SgmlParser();
EntityManager &entityManager() const;
const EntityCatalog &entityCatalog() const;
const ParserOptions &options() const;
// Only to be called after the parse has ended.
void activateLinkType(const StringC &);
void allLinkTypesActivated();
void swap(SgmlParser &);
SgmlParser(const SgmlParser &);
void operator=(const SgmlParser &);
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not SgmlParser_INCLUDED */