21 #ifndef ROUTINGCORRELATIONMCODE_H
22 #define ROUTINGCORRELATIONMCODE_H
34 #define DEFAULT_AGGTABLE "FEEDBACKAGG"
46 void setCorrelId(
const string& correlid ) { m_CorrelationId = correlid; }
50 void setCorrelToken(
const string& correltoken ) { m_CorrelationToken = correltoken; }
53 void addAggregationField(
const string& token,
const string& identifier ) { (void)m_FieldArray.insert( pair< string, string >( token, identifier ) ); }
56 void addAggregationCondition(
const string& token,
const string& value ) { (void)m_ConditionArray.insert( pair< string, string >( token, value ) ); }
59 bool containsAggregationField(
const string token )
const;
60 string getAggregationField(
const string token )
const;
61 string getAggregationField(
const unsigned int index )
const;
62 string getAggregationFieldName(
const unsigned int index )
const;
64 void setAggregationField(
const string& token,
const string& identifier ) { m_FieldArray[ token ] = identifier; }
67 unsigned int Size()
const {
return m_FieldArray.size(); }
69 void Clear() { m_FieldArray.clear(); }
80 #endif // ROUTINGCORRELATIONMCODE_H