// file      : xsde/cxx/parser/non-validating/nmtokens.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_NMTOKENS_HXX
#define XSDE_CXX_PARSER_NON_VALIDATING_NMTOKENS_HXX

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

namespace xsde
{
  namespace cxx
  {
    namespace parser
    {
      namespace non_validating
      {
        struct nmtokens_pimpl: virtual nmtokens_pskel
        {
          ~nmtokens_pimpl ();
          nmtokens_pimpl ();

          virtual void
          _pre ();

          virtual void
          _xsde_parse_item (const ro_string&);

          virtual string_sequence*
          post_nmtokens ();

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

#endif  // XSDE_CXX_PARSER_NON_VALIDATING_NMTOKENS_HXX
