2003-09-11 12:26:53 +02:00
|
|
|
#ifndef ARABICA_ATTRIBUTE_DEFAULTS_H
|
|
|
|
#define ARABICA_ATTRIBUTE_DEFAULTS_H
|
2002-06-21 13:16:28 +02:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
*/
|
|
|
|
|
2007-09-05 00:55:47 +02:00
|
|
|
#include <SAX/ArabicaConfig.hpp>
|
2007-09-10 19:52:04 +02:00
|
|
|
#include <Arabica/StringAdaptor.hpp>
|
2002-06-21 13:16:28 +02:00
|
|
|
|
2007-09-05 11:49:18 +02:00
|
|
|
namespace Arabica
|
|
|
|
{
|
2002-06-21 13:16:28 +02:00
|
|
|
namespace SAX
|
|
|
|
{
|
|
|
|
|
2007-09-06 00:08:51 +02:00
|
|
|
template<class string_type, class string_adaptor = Arabica::default_string_adaptor<string_type> >
|
2002-06-21 13:16:28 +02:00
|
|
|
struct AttributeDefaults
|
|
|
|
{
|
2007-09-06 00:08:51 +02:00
|
|
|
const string_type required;
|
|
|
|
const string_type implied;
|
|
|
|
const string_type fixed;
|
2002-06-21 13:16:28 +02:00
|
|
|
|
|
|
|
AttributeDefaults() :
|
2007-09-06 00:08:51 +02:00
|
|
|
required(string_adaptor::construct_from_utf8("#REQUIRED")),
|
|
|
|
implied(string_adaptor::construct_from_utf8("#IMPLIED")),
|
|
|
|
fixed(string_adaptor::construct_from_utf8("#FIXED"))
|
2002-06-21 13:16:28 +02:00
|
|
|
{
|
|
|
|
} // AttributeDefaults
|
|
|
|
}; // struct AttributeDefaults
|
|
|
|
|
|
|
|
} // namespace SAX
|
2007-09-05 11:49:18 +02:00
|
|
|
} // namespace Arabica
|
2002-06-21 13:16:28 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
// end of file
|