+void ProcessStringValue(wxString *PropertyName,
+ wxString PropertyNameMatch,
+ std::map<int,wxString> *MapPtr,
+ wxString *PropertyValue,
+ int *ItemCount,
+ bool *PropertyMatched){
+
+ if (*PropertyName == PropertyNameMatch){
+ MapPtr->erase(*ItemCount);
+ MapPtr->insert(std::make_pair(*ItemCount, *PropertyValue));
+ *PropertyMatched = TRUE;
+ }
+
+}
+
+void ProcessIntegerValue(wxString *PropertyName,
+ wxString PropertyNameMatch,
+ std::map<int,int> *PrefPtr,
+ wxString *PropertyValue,
+ int *ItemCount,
+ bool *PropertyMatched){
+
+ if (*PropertyName == PropertyNameMatch){
+ *PropertyMatched = TRUE;
+ } else {
+ return;
+ }
+
+ int PriorityNumber = 0;
+ bool ValidNumber = TRUE;
+
+ try{
+ PriorityNumber = std::stoi(PropertyValue->ToStdString());
+ }
+
+ catch(std::invalid_argument &e){
+ ValidNumber = FALSE;
+ }
+
+ if (ValidNumber == TRUE){
+
+ PrefPtr->erase(*ItemCount);
+ PrefPtr->insert(std::make_pair(*ItemCount, PriorityNumber));
+
+ }
+
+}
+
+void ProcessIntegerValue(std::map<int,int> *PrefPtr,