// file      : xsde/cxx/parser/non-validating/idrefs.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2007 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSDE_CXX_PARSER_NON_VALIDATING_IDREFS_HXX
#define XSDE_CXX_PARSER_NON_VALIDATING_IDREFS_HXX

#include <xsde/cxx/parser/non-validating/xml-schema-pskel.hxx>
#include <xsde/cxx/parser/non-validating/idref.hxx>

namespace xsde
{
  namespace cxx
  {
    namespace parser
    {
      namespace non_validating
      {
        struct idrefs_pimpl: virtual idrefs_pskel
        {
          ~idrefs_pimpl ();
          idrefs_pimpl ();

          virtual void
          _pre ();

          virtual void
          _xsde_parse_item (const ro_string&);

          virtual string_sequence*
          post_idrefs ();

        protected:
          string_sequence* seq_;
          idref_pimpl parser_;
        };
      }
    }
  }
}

#endif // XSDE_CXX_PARSER_NON_VALIDATING_IDREFS_HXX
