21 #ifndef ROUTINGKEYWORDS_H
22 #define ROUTINGKEYWORDS_H
52 RoutingKeyword(
const string& name,
const string& comparer,
const string& regex,
const string& regexIso );
56 pair< string, EVALUATOR_TYPE > Evaluate(
const string& value,
const string& field,
bool iso =
false );
60 void setRegex(
const string& value ) { m_Regex = value; }
63 void setRegexIso(
const string& value ) { m_RegexIso = value; }
72 vector< pair< string, EVALUATOR_TYPE > >
m_Fields;
83 logic_error(
"Unable to map keyword to a message type" ),
m_MessageType( messageType ),
m_Keyword( keyword )
97 static void DeleteCollections(
void* data );
106 static void CreateKeys();
108 #endif // ROUTINGKEYWORDS_H