ObjectSeekCount++;
}
+
+ // Process the data from RESOURCES.
+
+ DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "RESOURCES");
+
+ ObjectSeekCount = 0;
+
+ for(multimap<string,string>::iterator iter = DataReceived.begin();
+ iter != DataReceived.end();
+ ++iter){
+
+ ResourcesDataTokens.push_back("");
+ ResourcesDataAltRep.push_back("");
+ ResourcesDataLanguage.push_back("");
+ ResourcesData.push_back("");
+
+ bool TokenData = false;
+ string PropertyTokens;
+
+ PropertyNameData = (string*)&iter->first;
+
+ PropertyData = SplitValues(*PropertyNameData);
+
+ for(map<string,string>::iterator dataiter = PropertyData.begin();
+ dataiter != PropertyData.end(); dataiter++){
+
+ if (dataiter->first == "ALTREP"){
+
+ ResourcesDataAltRep[ObjectSeekCount] = dataiter->second;
+
+ } else if (dataiter->first == "LANGUAGE"){
+
+ ResourcesDataLanguage[ObjectSeekCount] = dataiter->second;
+
+ } else {
+
+ if (TokenData == false){
+ TokenData = true;
+ } else {
+ PropertyTokens += ";";
+ }
+
+ PropertyTokens += dataiter->first;
+ PropertyTokens += "=";
+ PropertyTokens += dataiter->second;
+
+ }
+
+ }
+
+ if (PropertyTokens.size() > 0){
+ ResourcesDataTokens[ObjectSeekCount] = PropertyTokens;
+ }
+
+ ResourcesData[ObjectSeekCount] = iter->second;
+
+ ObjectSeekCount++;
+
+ }
}