- bool ValidBegin = false;
- bool ValidEnd = false;
- bool ValidDateTimeStamp = false;
- bool ValidUniqueID = false;
- bool ValidDateTimeStart = false;
- int SeekCount = 0;
- string PropertyName;
+ bool validBegin = false;
+ bool validEnd = false;
+ bool validDateTimeStamp = false;
+ bool validUniqueID = false;
+ bool validDateTimeStart = false;
+ int seekCount = 0;
+ string propertyName;
- if (ValidBegin == true &&
- ValidEnd == true &&
- ValidDateTimeStamp == true &&
- ValidUniqueID == true){
+ if (validBegin == true &&
+ validEnd == true &&
+ validDateTimeStamp == true &&
+ validUniqueID == true){
- multimap<string,string> DataReceived;
- map<string,string> PropertyData;
- string *PropertyNameData = nullptr;
- int ObjectSeekCount = 0;
+ multimap<string,string> dataReceived;
+ map<string,string> propertyData;
+ string *propertyNameData = nullptr;
+ int objectSeekCount = 0;
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTSTAMP");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "DTSTAMP");
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "UID");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "UID");
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "CONTACT");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "CONTACT");
- for(multimap<string,string>::iterator iter = DataReceived.begin();
- iter != DataReceived.end();
+ for(multimap<string,string>::iterator iter = dataReceived.begin();
+ iter != dataReceived.end();
- ContactListTokens.push_back("");
- ContactListAltRep.push_back("");
- ContactListLanguage.push_back("");
- ContactList.push_back("");
+ contactListTokens.push_back("");
+ contactListAltRep.push_back("");
+ contactListLanguage.push_back("");
+ contactList.push_back("");
- for(map<string,string>::iterator dataiter = PropertyData.begin();
- dataiter != PropertyData.end(); dataiter++){
+ for(map<string,string>::iterator dataiter = propertyData.begin();
+ dataiter != propertyData.end(); dataiter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTSTART");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "DTSTART");
- for(map<string,string>::iterator iter = PropertyData.begin();
- iter != PropertyData.end(); iter++){
+ for(map<string,string>::iterator iter = propertyData.begin();
+ iter != propertyData.end(); iter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTEND");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "DTEND");
- for(map<string,string>::iterator iter = PropertyData.begin();
- iter != PropertyData.end(); iter++){
+ for(map<string,string>::iterator iter = propertyData.begin();
+ iter != propertyData.end(); iter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "ORGANIZER");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "ORGANIZER");
- for(map<string,string>::iterator iter = PropertyData.begin();
- iter != PropertyData.end(); iter++){
+ for(map<string,string>::iterator iter = propertyData.begin();
+ iter != propertyData.end(); iter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "URL");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "URL");
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "ATTENDEE");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, true, "ATTENDEE");
- for(multimap<string,string>::iterator iter = DataReceived.begin();
- iter != DataReceived.end();
+ for(multimap<string,string>::iterator iter = dataReceived.begin();
+ iter != dataReceived.end();
- AttendeeListMember.push_back("");
- AttendeeListDelegatedFrom.push_back("");
- AttendeeListDelegatedTo.push_back("");
- AttendeeListRole.push_back("");
- AttendeeListRSVP.push_back("");
- AttendeeListDirectoryEntry.push_back("");
- AttendeeListSentBy.push_back("");
- AttendeeListCommonName.push_back("");
- AttendeeListCalendarUserType.push_back("");
- AttendeeListParticipationStatus.push_back("");
- AttendeeListLanguage.push_back("");
- AttendeeListTokens.push_back("");
- AttendeeList.push_back("");
+ attendeeListMember.push_back("");
+ attendeeListDelegatedFrom.push_back("");
+ attendeeListDelegatedTo.push_back("");
+ attendeeListRole.push_back("");
+ attendeeListRSVP.push_back("");
+ attendeeListDirectoryEntry.push_back("");
+ attendeeListSentBy.push_back("");
+ attendeeListCommonName.push_back("");
+ attendeeListCalendarUserType.push_back("");
+ attendeeListParticipationStatus.push_back("");
+ attendeeListLanguage.push_back("");
+ attendeeListTokens.push_back("");
+ attendeeList.push_back("");
- for(map<string,string>::iterator dataiter = PropertyData.begin();
- dataiter != PropertyData.end(); dataiter++){
+ for(map<string,string>::iterator dataiter = propertyData.begin();
+ dataiter != propertyData.end(); dataiter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "COMMENT");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, true, "COMMENT");
- for(multimap<string,string>::iterator iter = DataReceived.begin();
- iter != DataReceived.end();
+ for(multimap<string,string>::iterator iter = dataReceived.begin();
+ iter != dataReceived.end();
- CommentListTokens.push_back("");
- CommentListAltRep.push_back("");
- CommentListLanguage.push_back("");
- CommentList.push_back("");
+ commentListTokens.push_back("");
+ commentListAltRep.push_back("");
+ commentListLanguage.push_back("");
+ commentList.push_back("");
- for(map<string,string>::iterator dataiter = PropertyData.begin();
- dataiter != PropertyData.end(); dataiter++){
+ for(map<string,string>::iterator dataiter = propertyData.begin();
+ dataiter != propertyData.end(); dataiter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "FREEBUSY");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, true, "FREEBUSY");
- for(multimap<string,string>::iterator iter = DataReceived.begin();
- iter != DataReceived.end();
+ for(multimap<string,string>::iterator iter = dataReceived.begin();
+ iter != dataReceived.end();
- FreeBusyListTokens.push_back("");
- FreeBusyListType.push_back("");
- FreeBusyList.push_back("");
+ freeBusyListTokens.push_back("");
+ freeBusyListType.push_back("");
+ freeBusyList.push_back("");
- for(map<string,string>::iterator dataiter = PropertyData.begin();
- dataiter != PropertyData.end(); dataiter++){
+ for(map<string,string>::iterator dataiter = propertyData.begin();
+ dataiter != propertyData.end(); dataiter++){
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "REQUEST-STATUS");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, true, "REQUEST-STATUS");
- for(multimap<string,string>::iterator iter = DataReceived.begin();
- iter != DataReceived.end();
+ for(multimap<string,string>::iterator iter = dataReceived.begin();
+ iter != dataReceived.end();
- RequestStatusTokens.push_back("");
- RequestStatusLanguage.push_back("");
- RequestStatusData.push_back("");
+ requestStatusTokens.push_back("");
+ requestStatusLanguage.push_back("");
+ requestStatusData.push_back("");
- for(map<string,string>::iterator dataiter = PropertyData.begin();
- dataiter != PropertyData.end(); dataiter++){
+ for(map<string,string>::iterator dataiter = propertyData.begin();
+ dataiter != propertyData.end(); dataiter++){
- XTokensData.push_back(ObjectData[ObjectSeekCount]);
- XTokensDataTokens.push_back(ObjectName[ObjectSeekCount]);
+ xTokensData.push_back(objectData[objectSeekCount]);
+ xTokensDataTokens.push_back(objectName[objectSeekCount]);