arabica/include/SAX/helpers/AttributeDefaults.hpp

35 lines
761 B
C++
Raw Normal View History

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>
#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
{
template<class string_type, class string_adaptor = Arabica::default_string_adaptor<string_type> >
2002-06-21 13:16:28 +02:00
struct AttributeDefaults
{
const string_type required;
const string_type implied;
const string_type fixed;
2002-06-21 13:16:28 +02:00
AttributeDefaults() :
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