arabica/SAX/helpers/AttributeDefaults.h

35 lines
753 B
C
Raw Normal View History

2002-06-21 13:16:28 +02:00
#ifndef ATTRIBUTE_DEFAULTS_H
#define ATTRIBUTE_DEFAULTS_H
/*
* $Id$
*/
2003-09-09 13:14:48 +02:00
#include <SAX/ArabicaConfig.h>
2002-06-21 13:16:28 +02:00
#include <SAX/helpers/StringAdaptor.h>
namespace SAX
{
template<class string_type, class string_adaptor_type = 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().makeStringT("#REQUIRED")),
implied(string_adaptorT().makeStringT("#IMPLIED")),
fixed(string_adaptorT().makeStringT("#FIXED"))
{
} // AttributeDefaults
}; // struct AttributeDefaults
} // namespace SAX
#endif
// end of file