"Fossies" - the Fresh Open Source Software Archive

Member "OpenSP-1.5.2/lib/NumericCharRefOrigin.h" (21 Jul 2005, 784 Bytes) of package /linux/misc/old/OpenSP-1.5.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "NumericCharRefOrigin.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef NumericCharRefOrigin_INCLUDED
    2 #define NumericCharRefOrigin_INCLUDED 1
    3 
    4 #ifdef __GNUG__
    5 #pragma interface
    6 #endif
    7 
    8 #include "Location.h"
    9 #include "Markup.h"
   10 #include "Owner.h"
   11 
   12 #ifdef SP_NAMESPACE
   13 namespace SP_NAMESPACE {
   14 #endif
   15 
   16 class NumericCharRefOrigin : public Origin {
   17 public:
   18   NumericCharRefOrigin(const Location &start, Index endIndex,
   19                Owner<Markup> &markup);
   20   const Location &parent() const;
   21   Index refLength() const;
   22   Boolean isNumericCharRef(const Markup *&) const;
   23 private:
   24   NumericCharRefOrigin(const NumericCharRefOrigin &); // undefined
   25   void operator=(const NumericCharRefOrigin &);       // undefined
   26   Location start_;
   27   Index refLength_;
   28   Owner<Markup> markup_;
   29 };
   30 
   31 #ifdef SP_NAMESPACE
   32 }
   33 #endif
   34 
   35 #endif /* not NumericCharRefOrigin_INCLUDED */