Match the correct function template specialization

Fully specify the E_TokenId type instead of relying on the EV_TokenId
typedef.
This commit is contained in:
Kristian Rietveld 2011-10-22 09:38:42 +02:00 committed by Stephan Bergmann
parent d049f12c29
commit 302bb2c400
4 changed files with 10 additions and 10 deletions

View file

@ -107,15 +107,15 @@ namespace lux
{
template<> EnumValueMap &
TokBuiltInType::EV_TokenId::Values_() { return G_aTokBuiltInType_EV_TokenId_Values; }
Enum<TokBuiltInType::E_TokenId>::Values_() { return G_aTokBuiltInType_EV_TokenId_Values; }
template<> EnumValueMap &
TokTypeModifier::EV_TokenId::Values_() { return G_aTokTypeModifier_EV_TokenId_Values; }
Enum<TokTypeModifier::E_TokenId>::Values_() { return G_aTokTypeModifier_EV_TokenId_Values; }
template<> EnumValueMap &
TokMetaType::EV_TokenId::Values_() { return G_aTokMetaType_EV_TokenId_Values; }
Enum<TokMetaType::E_TokenId>::Values_() { return G_aTokMetaType_EV_TokenId_Values; }
template<> EnumValueMap &
TokStereotype::EV_TokenId::Values_() { return G_aTokStereotype_EV_TokenId_Values; }
Enum<TokStereotype::E_TokenId>::Values_() { return G_aTokStereotype_EV_TokenId_Values; }
template<> EnumValueMap &
TokParameterHandling::EV_TokenId::Values_() { return G_aTokParameterHandling_EV_TokenId_Values; }
Enum<TokParameterHandling::E_TokenId>::Values_() { return G_aTokParameterHandling_EV_TokenId_Values; }
} // namespace lux

View file

@ -61,7 +61,7 @@ TokPunctuation::EV_TokenId Greater(TokPunctuation::Greater,">");
namespace lux
{
template<> EnumValueMap &
TokPunctuation::EV_TokenId::Values_() { return G_aTokPunctuation_EV_TokenId_Values; }
Enum<TokPunctuation::E_TokenId>::Values_() { return G_aTokPunctuation_EV_TokenId_Values; }
}

View file

@ -58,7 +58,7 @@ Tok_AtTag::EV_TokenId ev_since(Tok_AtTag::since,"@since");
namespace lux
{
template<> EnumValueMap &
Tok_AtTag::EV_TokenId::Values_() { return G_aTokAtTag_EV_TokenId_Values; }
Enum<Tok_AtTag::E_TokenId>::Values_() { return G_aTokAtTag_EV_TokenId_Values; }
}

View file

@ -62,11 +62,11 @@ namespace lux
{
template<> EnumValueMap &
Tok_XmlConst::EV_TokenId::Values_() { return G_aTok_XmlConst_EV_TokenId_Values; }
Enum<Tok_XmlConst::E_TokenId>::Values_() { return G_aTok_XmlConst_EV_TokenId_Values; }
template<> EnumValueMap &
Tok_XmlLink_Tag::EV_TokenId::Values_() { return G_aTok_XmlLink_Tag_EV_TokenId_Values; }
Enum<Tok_XmlLink_Tag::E_TokenId>::Values_() { return G_aTok_XmlLink_Tag_EV_TokenId_Values; }
template<> EnumValueMap &
Tok_XmlFormat_Tag::EV_TokenId::Values_() { return G_aTok_XmlFormat_Tag_EV_TokenId_Values; }
Enum<Tok_XmlFormat_Tag::E_TokenId>::Values_() { return G_aTok_XmlFormat_Tag_EV_TokenId_Values; }
} // namespace lux