Dtd.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef Dtd_INCLUDED
#define Dtd_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "NamedTable.h"
#include "NamedResourceTable.h"
#include "ElementType.h"
#include "Notation.h"
#include "Entity.h"
#include "ShortReferenceMap.h"
#include "Resource.h"
#include "StringC.h"
#include "StringResource.h"
#include "Boolean.h"
#include "Vector.h"
#include "HashTable.h"
#ifdef SP_NAMESPACE
#endif
ConstEntityIter generalEntityIter() const;
ConstEntityIter parameterEntityIter() const;
const Entity *defaultEntityTemp() const;
size_t nElementTypeIndex() const;
ConstElementTypeIter elementTypeIter() const;
void addNeededShortref(const StringC &);
ConstNotationIter notationIter() const;
size_t nCurrentAttribute() const;
size_t nElementDefinition() const;
size_t nAttributeDefinitionList() const;
const ElementType *documentElementType() const;
};
inline
const
{
return (isParameter
}
inline
const
{
return (isParameter
}
inline
{
return (isParameter
}
inline
{
}
inline
{
return (isParameter
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
return defaultEntity_;
}
inline
{
return defaultEntity_.pointer();
}
inline
{
return name_;
}
inline
{
return *name_;
}
inline
{
return nCurrentAttribute_++;
}
inline
{
return nCurrentAttribute_;
}
inline
{
return nElementDefinition_++;
}
inline
{
return nElementDefinition_;
}
inline
{
return nAttributeDefinitionList_++;
}
inline
{
return nAttributeDefinitionList_;
}
inline
{
if (e)
return e;
else
}
inline
{
if (e)
return e;
else
}
inline
{
return elementTypeTable_.insert(e);
}
inline
{
return undefinedElementTypeTable_.insert(e);
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
}
inline
{
// index 0 is reserved for #pcdata
return 1 + nElementType_;
}
inline
{
return 1 + nElementType_++;
}
inline
{
}
inline
{
}
inline
{
return rankStemTable_.insert(e);
}
inline
{
return rankStemTable_.count();
}
inline
{
}
inline
{
}
inline
{
}
inline
{
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
}
inline
{
return documentElementType_;
}
inline
{
}
inline
{
}
inline
{
}
inline
{
// Avoid use of typedef to work around MSVC 2.0 bug.
}
inline
{
return isBase_;
}
inline
{
return shortrefs_.size();
}
inline
{
return shortrefs_[i];
}
inline
{
return implicitElementAttributeDef_;
}
inline
{
}
inline
{
return implicitNotationAttributeDef_;
}
inline
{
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not Dtd_INCLUDED */