From f8aea5fde527b8ca5e103da9e9b8071e59b0dc80 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 28 Jan 2017 18:17:44 +0000 Subject: [PATCH] camelCase: Converted code in calendarfreebusy directory --- .../CalendarFreeBusy-Save.cpp | 468 +++++++-------- .../calendarfreebusy/CalendarFreeBusy.cpp | 548 +++++++++--------- .../calendarfreebusy/CalendarFreeBusy.h | 2 +- 3 files changed, 509 insertions(+), 509 deletions(-) diff --git a/source/objects/calendarfreebusy/CalendarFreeBusy-Save.cpp b/source/objects/calendarfreebusy/CalendarFreeBusy-Save.cpp index 4dd40c7..69f4741 100644 --- a/source/objects/calendarfreebusy/CalendarFreeBusy-Save.cpp +++ b/source/objects/calendarfreebusy/CalendarFreeBusy-Save.cpp @@ -22,107 +22,107 @@ using namespace std; void CalendarFreeBusyObject::SaveObjectData(string *SaveData){ - string DataLine = ""; - string DataLineProcessed = ""; + string dataLine = ""; + string dataLineProcessed = ""; - *SaveData += "BEGIN:VFREEBUSY\n"; + *saveData += "BEGIN:VFREEBUSY\n"; // Process the UID. - if (UniqueID.size() > 0){ + if (uniqueID.size() > 0){ - if (UniqueIDTokens.size() > 0){ + if (uniqueIDTokens.size() > 0){ - DataLine += "UID;"; - DataLine += UniqueIDTokens; + dataLine += "UID;"; + dataLine += uniqueIDTokens; } else { - DataLine += "UID"; + dataLine += "UID"; } - DataLine += ":"; - DataLine += UniqueID; - DataLine += "\n"; + dataLine += ":"; + dataLine += uniqueID; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } // Process the DTSTAMP. - if (DateTimeStampData.size() > 0){ + if (dateTimeStampData.size() > 0){ - if (DateTimeStampTokens.size() > 0){ + if (dateTimeStampTokens.size() > 0){ - DataLine += "DTSTAMP;"; - DataLine += DateTimeStampTokens; + dataLine += "DTSTAMP;"; + dataLine += dateTimeStampTokens; } else { - DataLine += "DTSTAMP"; + dataLine += "DTSTAMP"; } - DataLine += ":"; - DataLine += DateTimeStampData; - DataLine += "\n"; + dataLine += ":"; + dataLine += dateTimeStampData; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } // Process the CONTACT value. - if (ContactList.size() > 0){ + if (contactList.size() > 0){ - if (ContactList[0].size() > 0){ + if (contactList[0].size() > 0){ - DataLine += "CONTACT"; + dataLine += "CONTACT"; - if (ContactListAltRep[0].size() > 0){ + if (contactListAltRep[0].size() > 0){ - DataLine += ";ALTREP=\""; - DataLine += ContactListAltRep[0]; - DataLine += "\""; + dataLine += ";ALTREP=\""; + dataLine += contactListAltRep[0]; + dataLine += "\""; } - if (ContactListLanguage[0].size() > 0){ + if (contactListLanguage[0].size() > 0){ - DataLine += ";LANGUAGE="; - DataLine += ContactListLanguage[0]; + dataLine += ";LANGUAGE="; + dataLine += contactListLanguage[0]; } - if (ContactListTokens[0].size() > 0){ + if (contactListTokens[0].size() > 0){ - DataLine += ";"; - DataLine += ContactListTokens[0]; + dataLine += ";"; + dataLine += contactListTokens[0]; } - DataLine += ":"; - DataLine += ContactList[0]; - DataLine += "\n"; + dataLine += ":"; + dataLine += contactList[0]; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } @@ -130,262 +130,262 @@ void CalendarFreeBusyObject::SaveObjectData(string *SaveData){ // Process the DTSTART. - if (DateTimeStartData.size() > 0){ + if (dateTimeStartData.size() > 0){ - DataLine += "DTSTART"; + dataLine += "DTSTART"; - if (DateTimeStartDataValue.size() > 0){ + if (dateTimeStartDataValue.size() > 0){ - DataLine += ";VALUE="; - DataLine += DateTimeStartDataValue; + dataLine += ";VALUE="; + dataLine += dateTimeStartDataValue; } - if (DateTimeStartDataTimeZoneID.size() > 0){ + if (dateTimeStartDataTimeZoneID.size() > 0){ - DataLine += ";TZID="; - DataLine += DateTimeStartDataTimeZoneID; + dataLine += ";TZID="; + dataLine += dateTimeStartDataTimeZoneID; } - if (DateTimeStartDataTokens.size() > 0){ + if (dateTimeStartDataTokens.size() > 0){ - DataLine += ";"; - DataLine += DateTimeStartDataTokens; + dataLine += ";"; + dataLine += dateTimeStartDataTokens; } - DataLine += ":"; - DataLine += DateTimeStartData; - DataLine += "\n"; + dataLine += ":"; + dataLine += dateTimeStartData; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } // Process the DTEND. - if (DateTimeEndData.size() > 0){ + if (dateTimeEndData.size() > 0){ - DataLine += "DTEND"; + dataLine += "DTEND"; - if (DateTimeEndDataValue.size() > 0){ + if (dateTimeEndDataValue.size() > 0){ - DataLine += ";VALUE="; - DataLine += DateTimeEndDataValue; + dataLine += ";VALUE="; + dataLine += dateTimeEndDataValue; } - if (DateTimeEndDataTimeZoneID.size() > 0){ + if (dateTimeEndDataTimeZoneID.size() > 0){ - DataLine += ";TZID="; - DataLine += DateTimeEndDataTimeZoneID; + dataLine += ";TZID="; + dataLine += dateTimeEndDataTimeZoneID; } - if (DateTimeEndDataTokens.size() > 0){ + if (dateTimeEndDataTokens.size() > 0){ - DataLine += ";"; - DataLine += DateTimeEndDataTokens; + dataLine += ";"; + dataLine += dateTimeEndDataTokens; } - DataLine += ":"; - DataLine += DateTimeEndData; - DataLine += "\n"; + dataLine += ":"; + dataLine += dateTimeEndData; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } // Process the ORGANIZER value. - if (OrganiserData.size() > 0){ + if (organiserData.size() > 0){ - DataLine += "ORGANIZER"; + dataLine += "ORGANIZER"; - if (OrganiserDataCommonName.size() > 0){ + if (organiserDataCommonName.size() > 0){ - DataLine += ";CN="; - DataLine += OrganiserDataCommonName; + dataLine += ";CN="; + dataLine += organiserDataCommonName; } - if (OrganiserDataDirectoryEntry.size() > 0){ + if (organiserDataDirectoryEntry.size() > 0){ - DataLine += ";DIR=\""; - DataLine += OrganiserDataDirectoryEntry; - DataLine += "\""; + dataLine += ";DIR=\""; + dataLine += organiserDataDirectoryEntry; + dataLine += "\""; } - if (OrganiserDataSentByParam.size() > 0){ + if (organiserDataSentByParam.size() > 0){ - DataLine += ";SENT-BY=\""; - DataLine += OrganiserDataSentByParam; - DataLine += "\""; + dataLine += ";SENT-BY=\""; + dataLine += organiserDataSentByParam; + dataLine += "\""; } - if (OrganiserDataLanguage.size() > 0){ + if (organiserDataLanguage.size() > 0){ - DataLine += ";LANGUAGE="; - DataLine += OrganiserDataLanguage; + dataLine += ";LANGUAGE="; + dataLine += organiserDataLanguage; } - if (OrganiserDataTokens.size() > 0){ + if (organiserDataTokens.size() > 0){ - DataLine += ";"; - DataLine += OrganiserDataTokens; + dataLine += ";"; + dataLine += organiserDataTokens; } - DataLine += ":"; - DataLine += OrganiserData; - DataLine += "\n"; + dataLine += ":"; + dataLine += organiserData; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } // Process the URL value. - if (URLData.size() > 0){ + if (urlData.size() > 0){ - DataLine += "URL"; + dataLine += "URL"; - if (URLDataTokens.size() > 0){ + if (urlDataTokens.size() > 0){ - DataLine += ";"; - DataLine += URLDataTokens; + dataLine += ";"; + dataLine += urlDataTokens; } - DataLine += ":"; - DataLine += URLData; - DataLine += "\n"; + dataLine += ":"; + dataLine += urlData; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } // Process the ATTENDEE value. - if (AttendeeList.size() > 0){ + if (attendeeList.size() > 0){ - for (int AttendeeListSeek = 0; AttendeeListSeek < AttendeeList.size(); - AttendeeListSeek++){ + for (int attendeeListSeek = 0; attendeeListSeek < attendeeList.size(); + attendeeListSeek++){ - DataLine += "ATTENDEE"; + dataLine += "ATTENDEE"; - if (AttendeeListMember[AttendeeListSeek].size() > 0){ + if (attendeeListMember[attendeeListSeek].size() > 0){ - DataLine += ";MEMBER=\""; - DataLine += AttendeeListMember[AttendeeListSeek]; - DataLine += "\""; + dataLine += ";MEMBER=\""; + dataLine += attendeeListMember[attendeeListSeek]; + dataLine += "\""; } - if (AttendeeListDelegatedFrom[AttendeeListSeek].size() > 0){ + if (attendeeListDelegatedFrom[attendeeListSeek].size() > 0){ - DataLine += ";DELEGATED-FROM=\""; - DataLine += AttendeeListDelegatedFrom[AttendeeListSeek]; - DataLine += "\""; + dataLine += ";DELEGATED-FROM=\""; + dataLine += attendeeListDelegatedFrom[attendeeListSeek]; + dataLine += "\""; } - if (AttendeeListDelegatedTo[AttendeeListSeek].size() > 0){ + if (attendeeListDelegatedTo[attendeeListSeek].size() > 0){ - DataLine += ";DELEGATED-TO=\""; - DataLine += AttendeeListDelegatedTo[AttendeeListSeek]; - DataLine += "\""; + dataLine += ";DELEGATED-TO=\""; + dataLine += attendeeListDelegatedTo[attendeeListSeek]; + dataLine += "\""; } - if (AttendeeListRole[AttendeeListSeek].size() > 0){ + if (attendeeListRole[attendeeListSeek].size() > 0){ - DataLine += ";ROLE="; - DataLine += AttendeeListRole[AttendeeListSeek]; + dataLine += ";ROLE="; + dataLine += attendeeListRole[attendeeListSeek]; } - if (AttendeeListRSVP[AttendeeListSeek].size() > 0){ + if (attendeeListRSVP[attendeeListSeek].size() > 0){ - DataLine += ";RSVP="; - DataLine += AttendeeListRSVP[AttendeeListSeek]; + dataLine += ";RSVP="; + dataLine += attendeeListRSVP[attendeeListSeek]; } - if (AttendeeListDirectoryEntry[AttendeeListSeek].size() > 0){ + if (attendeeListDirectoryEntry[attendeeListSeek].size() > 0){ - DataLine += ";DIR=\""; - DataLine += AttendeeListDirectoryEntry[AttendeeListSeek]; - DataLine += "\""; + dataLine += ";DIR=\""; + dataLine += attendeeListDirectoryEntry[attendeeListSeek]; + dataLine += "\""; } - if (AttendeeListSentBy[AttendeeListSeek].size() > 0){ + if (attendeeListSentBy[attendeeListSeek].size() > 0){ - DataLine += ";SENT-BY=\""; - DataLine += AttendeeListSentBy[AttendeeListSeek]; - DataLine += "\""; + dataLine += ";SENT-BY=\""; + dataLine += attendeeListSentBy[attendeeListSeek]; + dataLine += "\""; } - if (AttendeeListCommonName[AttendeeListSeek].size() > 0){ + if (attendeeListCommonName[attendeeListSeek].size() > 0){ - DataLine += ";CN=\""; - DataLine += AttendeeListCommonName[AttendeeListSeek]; - DataLine += "\""; + dataLine += ";CN=\""; + dataLine += attendeeListCommonName[attendeeListSeek]; + dataLine += "\""; } - if (AttendeeListCalendarUserType[AttendeeListSeek].size() > 0){ + if (attendeeListCalendarUserType[attendeeListSeek].size() > 0){ - DataLine += ";CUTYPE="; - DataLine += AttendeeListCalendarUserType[AttendeeListSeek]; + dataLine += ";CUTYPE="; + dataLine += attendeeListCalendarUserType[attendeeListSeek]; } - if (AttendeeListParticipationStatus[AttendeeListSeek].size() > 0){ + if (attendeeListParticipationStatus[attendeeListSeek].size() > 0){ - DataLine += ";PARTSTAT="; - DataLine += AttendeeListParticipationStatus[AttendeeListSeek]; + dataLine += ";PARTSTAT="; + dataLine += attendeeListParticipationStatus[attendeeListSeek]; } - if (AttendeeListLanguage[AttendeeListSeek].size() > 0){ + if (attendeeListLanguage[attendeeListSeek].size() > 0){ - DataLine += ";LANGUAGE="; - DataLine += AttendeeListLanguage[AttendeeListSeek]; + dataLine += ";LANGUAGE="; + dataLine += attendeeListLanguage[attendeeListSeek]; } - if (AttendeeListTokens[AttendeeListSeek].size() > 0){ + if (attendeeListTokens[attendeeListSeek].size() > 0){ - DataLine += ";"; - DataLine += AttendeeListTokens[AttendeeListSeek]; + dataLine += ";"; + dataLine += attendeeListTokens[attendeeListSeek]; } @@ -406,45 +406,45 @@ void CalendarFreeBusyObject::SaveObjectData(string *SaveData){ // Process the COMMENT value. - if (CommentList.size() > 0){ + if (commentList.size() > 0){ - for (int CommentListSeek = 0; CommentListSeek < CommentList.size(); - CommentListSeek++){ + for (int commentListSeek = 0; commentListSeek < commentList.size(); + commentListSeek++){ - DataLine += "COMMENT"; + dataLine += "COMMENT"; - if (CommentListAltRep[CommentListSeek].size() > 0){ + if (commentListAltRep[commentListSeek].size() > 0){ - DataLine += ";ALTREP=\""; - DataLine += CommentListAltRep[CommentListSeek]; - DataLine += "\""; + dataLine += ";ALTREP=\""; + dataLine += commentListAltRep[commentListSeek]; + dataLine += "\""; } - if (CommentListLanguage[CommentListSeek].size() > 0){ + if (commentListLanguage[commentListSeek].size() > 0){ - DataLine += ";LANGUAGE="; - DataLine += CommentListLanguage[CommentListSeek]; + dataLine += ";LANGUAGE="; + dataLine += commentListLanguage[commentListSeek]; } - if (CommentListTokens[CommentListSeek].size() > 0){ + if (commentListTokens[commentListSeek].size() > 0){ - DataLine += ";"; - DataLine += CommentListTokens[CommentListSeek]; + dataLine += ";"; + dataLine += commentListTokens[commentListSeek]; } - DataLine += ":"; - DataLine += CommentList[CommentListSeek]; - DataLine += "\n"; + dataLine += ":"; + dataLine += commentList[commentListSeek]; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } @@ -452,37 +452,37 @@ void CalendarFreeBusyObject::SaveObjectData(string *SaveData){ // Process the FREEBUSY value. - if (FreeBusyList.size() > 0){ + if (freeBusyList.size() > 0){ - for (int FreeBusyListSeek = 0; FreeBusyListSeek < FreeBusyList.size(); - FreeBusyListSeek++){ + for (int freeBusyListSeek = 0; freeBusyListSeek < freeBusyList.size(); + freeBusyListSeek++){ - DataLine += "FREEBUSY"; + dataLine += "FREEBUSY"; - if (FreeBusyListType[FreeBusyListSeek].size() > 0){ + if (freeBusyListType[freeBusyListSeek].size() > 0){ - DataLine += ";FBTYPE="; - DataLine += FreeBusyListType[FreeBusyListSeek]; + dataLine += ";FBTYPE="; + dataLine += freeBusyListType[freeBusyListSeek]; } - if (FreeBusyListTokens[FreeBusyListSeek].size() > 0){ + if (freeBusyListTokens[freeBusyListSeek].size() > 0){ - DataLine += ";"; - DataLine += FreeBusyListTokens[FreeBusyListSeek]; + dataLine += ";"; + dataLine += freeBusyListTokens[freeBusyListSeek]; } - DataLine += ":"; - DataLine += FreeBusyList[FreeBusyListSeek]; - DataLine += "\n"; + dataLine += ":"; + dataLine += freeBusyList[freeBusyListSeek]; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } @@ -490,37 +490,37 @@ void CalendarFreeBusyObject::SaveObjectData(string *SaveData){ // Process the REQUEST-STATUS value. - if (RequestStatusData.size() > 0){ + if (requestStatusData.size() > 0){ - for (int RequestStatusDataSeek = 0; RequestStatusDataSeek < RequestStatusData.size(); - RequestStatusDataSeek++){ + for (int requestStatusDataSeek = 0; requestStatusDataSeek < requestStatusData.size(); + requestStatusDataSeek++){ - DataLine += "REQUEST-STATUS"; + dataLine += "REQUEST-STATUS"; - if (RequestStatusLanguage[RequestStatusDataSeek].size() > 0){ + if (requestStatusLanguage[requestStatusDataSeek].size() > 0){ - DataLine += ";LANGUAGE="; - DataLine += RequestStatusLanguage[RequestStatusDataSeek]; + dataLine += ";LANGUAGE="; + dataLine += requestStatusLanguage[requestStatusDataSeek]; } - if (RequestStatusTokens[RequestStatusDataSeek].size() > 0){ + if (requestStatusTokens[requestStatusDataSeek].size() > 0){ - DataLine += ";"; - DataLine += RequestStatusTokens[RequestStatusDataSeek]; + dataLine += ";"; + dataLine += requestStatusTokens[requestStatusDataSeek]; } - DataLine += ":"; - DataLine += RequestStatusData[RequestStatusDataSeek]; - DataLine += "\n"; + dataLine += ":"; + dataLine += requestStatusData[requestStatusDataSeek]; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } @@ -528,27 +528,27 @@ void CalendarFreeBusyObject::SaveObjectData(string *SaveData){ // Process the X-Token values. - if (XTokensData.size() > 0){ + if (xTokensData.size() > 0){ - for (int XTokenSeek = 0; XTokenSeek < XTokensData.size(); - XTokenSeek++){ + for (int xTokenSeek = 0; xTokenSeek < xTokensData.size(); + xTokenSeek++){ - DataLine += XTokensDataTokens[XTokenSeek]; - DataLine += ":"; - DataLine += XTokensData[XTokenSeek]; - DataLine += "\n"; + dataLine += xTokensDataTokens[xTokenSeek]; + dataLine += ":"; + dataLine += xTokensData[xTokenSeek]; + dataLine += "\n"; - DataLineProcessed = OutputText(&DataLine); + dataLineProcessed = OutputText(&dataLine); - *SaveData += DataLineProcessed; + *saveData += dataLineProcessed; - DataLine.clear(); - DataLineProcessed.clear(); + dataLine.clear(); + dataLineProcessed.clear(); } } - *SaveData += "END:VFREEBUSY\n"; + *saveData += "END:VFREEBUSY\n"; } \ No newline at end of file diff --git a/source/objects/calendarfreebusy/CalendarFreeBusy.cpp b/source/objects/calendarfreebusy/CalendarFreeBusy.cpp index 13f3d78..8a21cfb 100644 --- a/source/objects/calendarfreebusy/CalendarFreeBusy.cpp +++ b/source/objects/calendarfreebusy/CalendarFreeBusy.cpp @@ -22,128 +22,128 @@ using namespace std; CalendarObjectValidResult CalendarFreeBusyObject::ValidObject(){ - 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; // Look for BEGIN:VFREEBUSY. - for (vector::iterator iter = ObjectName.begin(); - iter != ObjectName.end(); iter++){ + for (vector::iterator iter = objectName.begin(); + iter != objectName.end(); iter++){ - if (ObjectName[SeekCount] == "BEGIN" && - ObjectData[SeekCount] == "VFREEBUSY"){ + if (objectName[seekCount] == "BEGIN" && + objectData[seekCount] == "VFREEBUSY"){ - if (ValidBegin == false){ - ValidBegin = true; + if (validBegin == false){ + validBegin = true; } else { return CALENDAROBJECTVALID_INVALIDFORMAT; } } - if (ObjectName[SeekCount] == "END" && - ObjectData[SeekCount] == "VFREEBUSY" && - ValidBegin == false){ + if (objectName[seekCount] == "END" && + objectData[seekCount] == "VFREEBUSY" && + validBegin == false){ return CALENDAROBJECTVALID_INVALIDFORMAT; } - SeekCount++; + seekCount++; } - SeekCount = 0; + seekCount = 0; // Look for DTSTAMP. - for (vector::iterator iter = ObjectName.begin(); - iter != ObjectName.end(); iter++){ + for (vector::iterator iter = objectName.begin(); + iter != objectName.end(); iter++){ try{ - PropertyName = ObjectName[SeekCount].substr(0,7); + propertyName = objectName[seekCount].substr(0,7); } catch(const out_of_range& oor){ continue; } - if (PropertyName == "DTSTAMP"){ + if (propertyName == "DTSTAMP"){ - if (ValidDateTimeStamp == false){ - ValidDateTimeStamp = true; + if (validDateTimeStamp == false){ + validDateTimeStamp = true; } else { return CALENDAROBJECTVALID_INVALIDFORMAT; } } - SeekCount++; + seekCount++; } - SeekCount = 0; + seekCount = 0; // Look for UID. - for (vector::iterator iter = ObjectName.begin(); - iter != ObjectName.end(); iter++){ + for (vector::iterator iter = objectName.begin(); + iter != objectName.end(); iter++){ try{ - PropertyName = ObjectName[SeekCount].substr(0,3); + PropertyName = objectName[seekCount].substr(0,3); } catch(const out_of_range& oor){ continue; } - if (PropertyName == "UID"){ + if (propertyName == "UID"){ - if (ValidUniqueID == false){ - ValidUniqueID = true; + if (validUniqueID == false){ + validUniqueID = true; } else { return CALENDAROBJECTVALID_INVALIDFORMAT; } } - SeekCount++; + seekCount++; } - SeekCount = 0; + seekCount = 0; // Look for END:VFREEBUSY. - for (vector::iterator iter = ObjectName.begin(); - iter != ObjectName.end(); iter++){ + for (vector::iterator iter = objectName.begin(); + iter != objectName.end(); iter++){ - if (ObjectName[SeekCount] == "END" && - ObjectData[SeekCount] == "VFREEBUSY"){ + if (objectName[seekCount] == "END" && + objectData[seekCount] == "VFREEBUSY"){ - if (ValidEnd == false){ - ValidEnd = true; + if (validEnd == false){ + validEnd = true; } else { return CALENDAROBJECTVALID_INVALIDFORMAT; } } - SeekCount++; + seekCount++; } // Check if the VEVENT is valid. - if (ValidBegin == true && - ValidEnd == true && - ValidDateTimeStamp == true && - ValidUniqueID == true){ + if (validBegin == true && + validEnd == true && + validDateTimeStamp == true && + validUniqueID == true){ return CALENDAROBJECTVALID_OK; @@ -159,578 +159,578 @@ void CalendarFreeBusyObject::ProcessData(){ // Process the data. - multimap DataReceived; - map PropertyData; - string *PropertyNameData = nullptr; - int ObjectSeekCount = 0; + multimap dataReceived; + map propertyData; + string *propertyNameData = nullptr; + int objectSeekCount = 0; // Get the Date Time Stamp (DTSTAMP). - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTSTAMP"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "DTSTAMP"); // Process the data from DTSTAMP. - if (DataReceived.begin() != DataReceived.end()){ + if (dataReceived.begin() != dataReceived.end()){ try { - DateTimeStampTokens = DataReceived.begin()->first.substr(8); + dateTimeStampTokens = dataReceived.begin()->first.substr(8); } catch(const out_of_range &oor){ // Do nothing as there is no data. } - DateTimeStampData = DataReceived.begin()->second; + dateTimeStampData = dataReceived.begin()->second; } // Get the Unique ID (UID). - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "UID"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "UID"); // Process the data from UID. - if (DataReceived.begin() != DataReceived.end()){ + if (dataReceived.begin() != dataReceived.end()){ try { - UniqueIDTokens = DataReceived.begin()->first.substr(4); + uniqueIDTokens = dataReceived.begin()->first.substr(4); } catch(const out_of_range &oor){ // Do nothing as there is no data. } - UniqueID = DataReceived.begin()->second; + uniqueID = dataReceived.begin()->second; } // Process the data from CONTACT. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "CONTACT"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "CONTACT"); - ObjectSeekCount = 0; + objectSeekCount = 0; - for(multimap::iterator iter = DataReceived.begin(); - iter != DataReceived.end(); + for(multimap::iterator iter = dataReceived.begin(); + iter != dataReceived.end(); ++iter){ - ContactListTokens.push_back(""); - ContactListAltRep.push_back(""); - ContactListLanguage.push_back(""); - ContactList.push_back(""); + contactListTokens.push_back(""); + contactListAltRep.push_back(""); + contactListLanguage.push_back(""); + contactList.push_back(""); - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&iter->first; + propertyNameData = (string*)&iter->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator dataiter = PropertyData.begin(); - dataiter != PropertyData.end(); dataiter++){ + for(map::iterator dataiter = propertyData.begin(); + dataiter != propertyData.end(); dataiter++){ if (dataiter->first == "ALTREP"){ - ContactListAltRep[ObjectSeekCount] = dataiter->second; + contactListAltRep[objectSeekCount] = dataiter->second; } else if (dataiter->first == "LANGUAGE"){ - ContactListLanguage[ObjectSeekCount] = dataiter->second; + contactListLanguage[objectSeekCount] = dataiter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += dataiter->first; - PropertyTokens += "="; - PropertyTokens += dataiter->second; + propertyTokens += dataiter->first; + propertyTokens += "="; + propertyTokens += dataiter->second; } } - if (PropertyTokens.size() > 0){ - ContactListTokens[ObjectSeekCount] = PropertyTokens; + if (propertyTokens.size() > 0){ + contactListTokens[objectSeekCount] = propertyTokens; } - ContactList[ObjectSeekCount] = iter->second; + contactList[objectSeekCount] = iter->second; - ObjectSeekCount++; + objectSeekCount++; } // Get the Date Time Start value. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTSTART"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "DTSTART"); // Process the data from DTSTART. - if (DataReceived.begin() != DataReceived.end()){ + if (dataReceived.begin() != dataReceived.end()){ - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&DataReceived.begin()->first; + propertyNameData = (string*)&dataReceived.begin()->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator iter = PropertyData.begin(); - iter != PropertyData.end(); iter++){ + for(map::iterator iter = propertyData.begin(); + iter != propertyData.end(); iter++){ if (iter->first == "VALUE"){ - DateTimeStartDataValue = iter->second; + dateTimeStartDataValue = iter->second; } else if (iter->first == "TZID"){ - DateTimeStartDataTimeZoneID = iter->second; + dateTimeStartDataTimeZoneID = iter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += iter->first; - PropertyTokens += "="; - PropertyTokens += iter->second; + propertyTokens += iter->first; + propertyTokens += "="; + propertyTokens += iter->second; } } - if (PropertyTokens.size() > 0){ - DateTimeStartDataTokens = PropertyTokens; + if (propertyTokens.size() > 0){ + dateTimeStartDataTokens = propertyTokens; } - DateTimeStartData = DataReceived.begin()->second; + dateTimeStartData = dataReceived.begin()->second; } // Process the data from DTEND. - bool DateTimeEndProcessed = false; + bool dateTimeEndProcessed = false; - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTEND"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "DTEND"); - if (DataReceived.begin() != DataReceived.end()){ + if (dataReceived.begin() != dataReceived.end()){ - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&DataReceived.begin()->first; + propertyNameData = (string*)&dataReceived.begin()->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator iter = PropertyData.begin(); - iter != PropertyData.end(); iter++){ + for(map::iterator iter = propertyData.begin(); + iter != propertyData.end(); iter++){ if (iter->first == "VALUE"){ - DateTimeEndDataValue = iter->second; + dateTimeEndDataValue = iter->second; } else if (iter->first == "TZID"){ - DateTimeEndDataTimeZoneID = iter->second; + dateTimeEndDataTimeZoneID = iter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += iter->first; - PropertyTokens += "="; - PropertyTokens += iter->second; + propertyTokens += iter->first; + propertyTokens += "="; + propertyTokens += iter->second; } } - if (PropertyTokens.size() > 0){ - DateTimeEndDataTokens = PropertyTokens; + if (propertyTokens.size() > 0){ + dateTimeEndDataTokens = propertyTokens; } - DateTimeEndData = DataReceived.begin()->second; + dateTimeEndData = dataReceived.begin()->second; - DateTimeEndProcessed = true; + dateTimeEndProcessed = true; } // Process the data from ORGANIZER. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "ORGANIZER"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "ORGANIZER"); - if (DataReceived.begin() != DataReceived.end()){ + if (dataReceived.begin() != dataReceived.end()){ - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&DataReceived.begin()->first; + propertyNameData = (string*)&dataReceived.begin()->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator iter = PropertyData.begin(); - iter != PropertyData.end(); iter++){ + for(map::iterator iter = propertyData.begin(); + iter != propertyData.end(); iter++){ if (iter->first == "CN"){ - OrganiserDataCommonName = iter->second; + organiserDataCommonName = iter->second; } else if (iter->first == "DIR"){ - OrganiserDataDirectoryEntry = iter->second; + organiserDataDirectoryEntry = iter->second; } else if (iter->first == "SENT-BY"){ - OrganiserDataSentByParam = iter->second; + organiserDataSentByParam = iter->second; } else if (iter->first == "LANGUAGE"){ - OrganiserDataLanguage = iter->second; + organiserDataLanguage = iter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += iter->first; - PropertyTokens += "="; - PropertyTokens += iter->second; + propertyTokens += iter->first; + propertyTokens += "="; + propertyTokens += iter->second; } } - if (PropertyTokens.size() > 0){ + if (propertyTokens.size() > 0){ - OrganiserDataTokens = PropertyTokens; + organiserDataTokens = propertyTokens; } - OrganiserData = DataReceived.begin()->second; + organiserData = dataReceived.begin()->second; } // Process the data from URL. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "URL"); + dataReceived = ProcessTextVectors(&objectName, &objectData, false, "URL"); - if (DataReceived.begin() != DataReceived.end()){ + if (dataReceived.begin() != dataReceived.end()){ try { - URLDataTokens = DataReceived.begin()->first.substr(4); + urlDataTokens = dataReceived.begin()->first.substr(4); } catch(const out_of_range &oor){ // Do nothing as there is no data. } - URLData = DataReceived.begin()->second; + urlData = dataReceived.begin()->second; } // Process the data from ATTENDEE. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "ATTENDEE"); + dataReceived = ProcessTextVectors(&objectName, &objectData, true, "ATTENDEE"); - ObjectSeekCount = 0; + objectSeekCount = 0; - for(multimap::iterator iter = DataReceived.begin(); - iter != DataReceived.end(); + for(multimap::iterator iter = dataReceived.begin(); + iter != dataReceived.end(); ++iter){ - 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(""); - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&iter->first; + propertyNameData = (string*)&iter->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator dataiter = PropertyData.begin(); - dataiter != PropertyData.end(); dataiter++){ + for(map::iterator dataiter = propertyData.begin(); + dataiter != propertyData.end(); dataiter++){ if (dataiter->first == "CUTYPE"){ - AttendeeListCalendarUserType[ObjectSeekCount] = dataiter->second; + attendeeListCalendarUserType[objectSeekCount] = dataiter->second; } else if (dataiter->first == "MEMBER"){ - AttendeeListMember[ObjectSeekCount] = dataiter->second; + attendeeListMember[objectSeekCount] = dataiter->second; } else if (dataiter->first == "ROLE"){ - AttendeeListRole[ObjectSeekCount] = dataiter->second; + attendeeListRole[objectSeekCount] = dataiter->second; } else if (dataiter->first == "PARTSTAT"){ - AttendeeListParticipationStatus[ObjectSeekCount] = dataiter->second; + attendeeListParticipationStatus[objectSeekCount] = dataiter->second; } else if (dataiter->first == "RSVP"){ - AttendeeListRSVP[ObjectSeekCount] = dataiter->second; + attendeeListRSVP[objectSeekCount] = dataiter->second; } else if (dataiter->first == "DELEGATED-TO"){ - AttendeeListDelegatedTo[ObjectSeekCount] = dataiter->second; + attendeeListDelegatedTo[objectSeekCount] = dataiter->second; } else if (dataiter->first == "DELEGATED-FROM"){ - AttendeeListDelegatedFrom[ObjectSeekCount] = dataiter->second; + attendeeListDelegatedFrom[objectSeekCount] = dataiter->second; } else if (dataiter->first == "SENT-BY"){ - AttendeeListSentBy[ObjectSeekCount] = dataiter->second; + attendeeListSentBy[objectSeekCount] = dataiter->second; } else if (dataiter->first == "CN"){ - AttendeeListCommonName[ObjectSeekCount] = dataiter->second; + attendeeListCommonName[objectSeekCount] = dataiter->second; } else if (dataiter->first == "DIR"){ - AttendeeListDirectoryEntry[ObjectSeekCount] = dataiter->second; + attendeeListDirectoryEntry[objectSeekCount] = dataiter->second; } else if (dataiter->first == "LANGUAGE"){ - AttendeeListLanguage[ObjectSeekCount] = dataiter->second; + attendeeListLanguage[objectSeekCount] = dataiter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += dataiter->first; - PropertyTokens += "="; - PropertyTokens += dataiter->second; + propertyTokens += dataiter->first; + propertyTokens += "="; + propertyTokens += dataiter->second; } } - if (PropertyTokens.size() > 0){ - AttendeeListTokens[ObjectSeekCount] = PropertyTokens; + if (propertyTokens.size() > 0){ + attendeeListTokens[objectSeekCount] = propertyTokens; } - AttendeeList[ObjectSeekCount] = iter->second; + attendeeList[objectSeekCount] = iter->second; - ObjectSeekCount++; + objectSeekCount++; } // Process the data from COMMENT. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "COMMENT"); + dataReceived = ProcessTextVectors(&objectName, &objectData, true, "COMMENT"); - ObjectSeekCount = 0; + objectSeekCount = 0; - for(multimap::iterator iter = DataReceived.begin(); - iter != DataReceived.end(); + for(multimap::iterator iter = dataReceived.begin(); + iter != dataReceived.end(); ++iter){ - CommentListTokens.push_back(""); - CommentListAltRep.push_back(""); - CommentListLanguage.push_back(""); - CommentList.push_back(""); + commentListTokens.push_back(""); + commentListAltRep.push_back(""); + commentListLanguage.push_back(""); + commentList.push_back(""); - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&iter->first; + propertyNameData = (string*)&iter->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator dataiter = PropertyData.begin(); - dataiter != PropertyData.end(); dataiter++){ + for(map::iterator dataiter = propertyData.begin(); + dataiter != propertyData.end(); dataiter++){ if (dataiter->first == "ALTREP"){ - CommentListAltRep[ObjectSeekCount] = dataiter->second; + commentListAltRep[objectSeekCount] = dataiter->second; } else if (dataiter->first == "LANGUAGE"){ - CommentListLanguage[ObjectSeekCount] = dataiter->second; + commentListLanguage[objectSeekCount] = dataiter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += dataiter->first; - PropertyTokens += "="; - PropertyTokens += dataiter->second; + propertyTokens += dataiter->first; + propertyTokens += "="; + propertyTokens += dataiter->second; } } - if (PropertyTokens.size() > 0){ - CommentListTokens[ObjectSeekCount] = PropertyTokens; + if (propertyTokens.size() > 0){ + commentListTokens[objectSeekCount] = propertyTokens; } - CommentList[ObjectSeekCount] = iter->second; + commentList[objectSeekCount] = iter->second; - ObjectSeekCount++; + objectSeekCount++; } // Process the data from FREEBUSY. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "FREEBUSY"); + dataReceived = ProcessTextVectors(&objectName, &objectData, true, "FREEBUSY"); - ObjectSeekCount = 0; + objectSeekCount = 0; - for(multimap::iterator iter = DataReceived.begin(); - iter != DataReceived.end(); + for(multimap::iterator iter = dataReceived.begin(); + iter != dataReceived.end(); ++iter){ - FreeBusyListTokens.push_back(""); - FreeBusyListType.push_back(""); - FreeBusyList.push_back(""); + freeBusyListTokens.push_back(""); + freeBusyListType.push_back(""); + freeBusyList.push_back(""); - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&iter->first; + propertyNameData = (string*)&iter->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(*propertyNameData); - for(map::iterator dataiter = PropertyData.begin(); - dataiter != PropertyData.end(); dataiter++){ + for(map::iterator dataiter = propertyData.begin(); + dataiter != propertyData.end(); dataiter++){ if (dataiter->first == "FBTYPE"){ - FreeBusyListType[ObjectSeekCount] = dataiter->second; + freeBusyListType[objectSeekCount] = dataiter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += dataiter->first; - PropertyTokens += "="; - PropertyTokens += dataiter->second; + propertyTokens += dataiter->first; + propertyTokens += "="; + propertyTokens += dataiter->second; } } - if (PropertyTokens.size() > 0){ - FreeBusyListTokens[ObjectSeekCount] = PropertyTokens; + if (propertyTokens.size() > 0){ + freeBusyListTokens[objectSeekCount] = propertyTokens; } - FreeBusyList[ObjectSeekCount] = iter->second; + freeBusyList[objectSeekCount] = iter->second; - ObjectSeekCount++; + objectSeekCount++; } // Process the data from REQUEST-STATUS. - DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, true, "REQUEST-STATUS"); + dataReceived = ProcessTextVectors(&objectName, &objectData, true, "REQUEST-STATUS"); - ObjectSeekCount = 0; + objectSeekCount = 0; - for(multimap::iterator iter = DataReceived.begin(); - iter != DataReceived.end(); + for(multimap::iterator iter = dataReceived.begin(); + iter != dataReceived.end(); ++iter){ - RequestStatusTokens.push_back(""); - RequestStatusLanguage.push_back(""); - RequestStatusData.push_back(""); + requestStatusTokens.push_back(""); + requestStatusLanguage.push_back(""); + requestStatusData.push_back(""); - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; - PropertyNameData = (string*)&iter->first; + propertyNameData = (string*)&iter->first; - PropertyData = SplitValues(*PropertyNameData); + propertyData = SplitValues(propertyNameData); - for(map::iterator dataiter = PropertyData.begin(); - dataiter != PropertyData.end(); dataiter++){ + for(map::iterator dataiter = propertyData.begin(); + dataiter != propertyData.end(); dataiter++){ if (dataiter->first == "LANGUAGE"){ - RequestStatusLanguage[ObjectSeekCount] = dataiter->second; + requestStatusLanguage[objectSeekCount] = dataiter->second; } else { - if (TokenData == false){ - TokenData = true; + if (tokenData == false){ + tokenData = true; } else { - PropertyTokens += ";"; + propertyTokens += ";"; } - PropertyTokens += dataiter->first; - PropertyTokens += "="; - PropertyTokens += dataiter->second; + propertyTokens += dataiter->first; + propertyTokens += "="; + propertyTokens += dataiter->second; } } - if (PropertyTokens.size() > 0){ - RequestStatusTokens[ObjectSeekCount] = PropertyTokens; + if (propertyTokens.size() > 0){ + requestStatusTokens[objectSeekCount] = propertyTokens; } - RequestStatusData[ObjectSeekCount] = iter->second; + requestStatusData[objectSeekCount] = iter->second; - ObjectSeekCount++; + objectSeekCount++; } - ObjectSeekCount = 0; + objectSeekCount = 0; // Process data from X-* - for(vector::iterator iter = ObjectName.begin(); - iter != ObjectName.end(); ++iter){ + for(vector::iterator iter = objectName.begin(); + iter != objectName.end(); ++iter){ - bool TokenData = false; - string PropertyTokens; + bool tokenData = false; + string propertyTokens; if (iter->substr(0,2) == "X-" && iter->size() > 2){ - XTokensData.push_back(ObjectData[ObjectSeekCount]); - XTokensDataTokens.push_back(ObjectName[ObjectSeekCount]); + xTokensData.push_back(objectData[objectSeekCount]); + xTokensDataTokens.push_back(objectName[objectSeekCount]); } - ObjectSeekCount++; + objectSeekCount++; } diff --git a/source/objects/calendarfreebusy/CalendarFreeBusy.h b/source/objects/calendarfreebusy/CalendarFreeBusy.h index 20fa013..64c0c6f 100644 --- a/source/objects/calendarfreebusy/CalendarFreeBusy.h +++ b/source/objects/calendarfreebusy/CalendarFreeBusy.h @@ -28,7 +28,7 @@ class CalendarFreeBusyObject: public CalendarObject{ private: void ProcessData(); - void SaveObjectData(string *SaveData); + void SaveObjectData(string *saveData); }; -- 2.39.5