Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
36
cde/programs/nsgmls/NumericCharRefOrigin.h
Normal file
36
cde/programs/nsgmls/NumericCharRefOrigin.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/* $XConsortium: NumericCharRefOrigin.h /main/1 1996/07/29 16:59:01 cde-hp $ */
|
||||
#ifndef NumericCharRefOrigin_INCLUDED
|
||||
#define NumericCharRefOrigin_INCLUDED 1
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
#include "Location.h"
|
||||
#include "Markup.h"
|
||||
#include "Owner.h"
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
namespace SP_NAMESPACE {
|
||||
#endif
|
||||
|
||||
class NumericCharRefOrigin : public Origin {
|
||||
public:
|
||||
NumericCharRefOrigin(const Location &start, Index endIndex,
|
||||
Owner<Markup> &markup);
|
||||
const Location &parent() const;
|
||||
Index refLength() const;
|
||||
Boolean isNumericCharRef(const Markup *&) const;
|
||||
private:
|
||||
NumericCharRefOrigin(const NumericCharRefOrigin &); // undefined
|
||||
void operator=(const NumericCharRefOrigin &); // undefined
|
||||
Location start_;
|
||||
Index refLength_;
|
||||
Owner<Markup> markup_;
|
||||
};
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* not NumericCharRefOrigin_INCLUDED */
|
||||
Reference in New Issue
Block a user