mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-29 22:23:27 +01:00
34 lines
793 B
C++
34 lines
793 B
C++
#ifndef ARABICA_ATTRIBUTE_DEFAULTS_H
|
|
#define ARABICA_ATTRIBUTE_DEFAULTS_H
|
|
/*
|
|
* $Id$
|
|
*/
|
|
|
|
#include <SAX/ArabicaConfig.h>
|
|
#include <Utils/StringAdaptor.h>
|
|
|
|
namespace SAX
|
|
{
|
|
|
|
template<class string_type, class string_adaptor_type = Arabica::default_string_adaptor<string_type> >
|
|
struct AttributeDefaults
|
|
{
|
|
typedef string_type stringT;
|
|
typedef string_adaptor_type string_adaptorT;
|
|
|
|
const stringT required;
|
|
const stringT implied;
|
|
const stringT fixed;
|
|
|
|
AttributeDefaults() :
|
|
required(string_adaptorT::construct_from_utf8("#REQUIRED")),
|
|
implied(string_adaptorT::construct_from_utf8("#IMPLIED")),
|
|
fixed(string_adaptorT::construct_from_utf8("#FIXED"))
|
|
{
|
|
} // AttributeDefaults
|
|
}; // struct AttributeDefaults
|
|
|
|
} // namespace SAX
|
|
|
|
#endif
|
|
// end of file
|