if (uniqueIDTokens.size() > 0){
dataLine += "UID;";
- dataLine += UniqueIDTokens;
+ dataLine += uniqueIDTokens;
} else {
using namespace std;
-CalendarObjectSaveResult CalendarObject::SaveFile(string SaveFilename){
+CalendarObjectSaveResult CalendarObject::SaveFile(string saveFilename){
- ofstream FileStream;
- string ReceivedStringData = "";
+ ofstream fileStream;
+ string receivedStringData = "";
// Open the file.
- FileStream.open(SaveFilename, ofstream::out);
+ fileStream.open(saveFilename, ofstream::out);
- if (FileStream.rdstate() & ofstream::failbit){
+ if (fileStream.rdstate() & ofstream::failbit){
return CALENDAROBJECTSAVE_CANNOTOPEN;
}
- if (FileStream.rdstate() & ofstream::badbit){
+ if (fileStream.rdstate() & ofstream::badbit){
return CALENDAROBJECTSAVE_CANNOTOPEN;
}
// Process the data into a string.
- CalendarObjectSaveResult SaveResult = CALENDAROBJECTSAVE_UNITTESTFAIL;
- string SaveStringData;
+ CalendarObjectSaveResult saveResult = CALENDAROBJECTSAVE_UNITTESTFAIL;
+ string saveStringData;
- SaveResult = SaveString(&SaveStringData);
+ saveResult = SaveString(&saveStringData);
- FileStream.write(SaveStringData.c_str(), SaveStringData.size());
+ fileStream.write(saveStringData.c_str(), saveStringData.size());
- FileStream.close();
+ fileStream.close();
- return SaveResult;
+ return saveResult;
}
-CalendarObjectSaveResult CalendarObject::SaveString(string *SaveStringData){
+CalendarObjectSaveResult CalendarObject::SaveString(string *saveStringData){
- *SaveStringData += "BEGIN:VCALENDAR\n";
- *SaveStringData += "VERSION:2.0\n";
+ *saveStringData += "BEGIN:VCALENDAR\n";
+ *saveStringData += "VERSION:2.0\n";
// Check if METHOD has a value and print it if it does (and
// any token data if there).
- if (MethodData.size() > 0){
+ if (methodData.size() > 0){
- if (MethodTokens.size() > 0){
+ if (methodTokens.size() > 0){
- *SaveStringData += "METHOD;";
- *SaveStringData += MethodTokens;
+ *saveStringData += "METHOD;";
+ *saveStringData += methodTokens;
} else {
- *SaveStringData += "METHOD";
+ *saveStringData += "METHOD";
}
- *SaveStringData += ":";
- *SaveStringData += MethodData;
- *SaveStringData += "\n";
+ *saveStringData += ":";
+ *saveStringData += methodData;
+ *saveStringData += "\n";
}
// Check if CALSCALE has a value and print it if it does (and
// any token data if there).
- if (CalendarScaleData.size() > 0){
+ if (calendarScaleData.size() > 0){
- if (CalendarScaleTokens.size() > 0){
+ if (calendarScaleTokens.size() > 0){
- *SaveStringData += "CALSCALE;";
- *SaveStringData += CalendarScaleTokens;
+ *saveStringData += "CALSCALE;";
+ *saveStringData += calendarScaleTokens;
} else {
- *SaveStringData += "CALSCALE";
+ *saveStringData += "CALSCALE";
}
- *SaveStringData += ":";
- *SaveStringData += CalendarScaleData;
- *SaveStringData += "\n";
+ *saveStringData += ":";
+ *saveStringData += calendarScaleData;
+ *saveStringData += "\n";
}
#if defined(XESTIACAL_UNITTEST)
- *SaveStringData += "PRODID:-//Xestia//Calendar Unit Testing//KW\n";
+ *saveStringData += "PRODID:-//Xestia//Calendar Unit Testing//KW\n";
#else
- *SaveStringData += "PRODID:-//Xestia//Calendar Version ";
- *SaveStringData += XSDCAL_VERSION;
- *SaveStringData += "//KW\n";
+ *saveStringData += "PRODID:-//Xestia//Calendar Version ";
+ *saveStringData += XSDCAL_VERSION;
+ *saveStringData += "//KW\n";
#endif
- SaveObjectData(SaveStringData);
+ SaveObjectData(saveStringData);
- *SaveStringData += "END:VCALENDAR";
+ *saveStringData += "END:VCALENDAR";
return CALENDAROBJECTSAVE_OK;
using namespace std;
-CalendarObjectLoadResult CalendarObject::LoadFile(std::string LoadFilename){
+CalendarObjectLoadResult CalendarObject::LoadFile(std::string loadFilename){
// Check if the file exists and return
// CALENDAROBJECTLOAD_CANNOTOPEN if not.
- if (!FileExists(LoadFilename)){
+ if (!FileExists(loadFilename)){
return CALENDAROBJECTLOAD_MISSING;
}
- ifstream FileStream;
- string ReceivedStringData = "";
+ ifstream fileStream;
+ string receivedStringData = "";
- FileStream.open(LoadFilename, ifstream::in);
+ fileStream.open(loadFilename, ifstream::in);
- if (FileStream.rdstate() & ifstream::failbit){
+ if (fileStream.rdstate() & ifstream::failbit){
return CALENDAROBJECTLOAD_CANNOTOPEN;
}
- if (FileStream.rdstate() & ifstream::badbit){
+ if (fileStream.rdstate() & ifstream::badbit){
return CALENDAROBJECTLOAD_CANNOTOPEN;
}
// Read the data into a string.
- char *BufferRead = new char[256];
+ char *bufferRead = new char[256];
- while (!FileStream.eof()){
+ while (!fileStream.eof()){
- FileStream.getline(BufferRead, 256);
- ReceivedStringData.append(BufferRead);
- ReceivedStringData.append("\n");
+ fileStream.getline(bufferRead, 256);
+ receivedStringData.append(bufferRead);
+ receivedStringData.append("\n");
}
- delete[] BufferRead;
+ delete[] bufferRead;
- CalendarObjectLoadResult StringProcResult = CALENDAROBJECTLOAD_UNITTESTFAIL;
+ CalendarObjectLoadResult stringProcResult = CALENDAROBJECTLOAD_UNITTESTFAIL;
- StringProcResult = LoadString(&ReceivedStringData);
+ stringProcResult = LoadString(&receivedStringData);
- return StringProcResult;
+ return stringProcResult;
}
-CalendarObjectLoadResult CalendarObject::LoadString(std::string *LoadStringData){
+CalendarObjectLoadResult CalendarObject::LoadString(std::string *loadStringData){
- bool NewLine = false;
- bool SkipMode = false;
- bool ColonFound = false;
- bool QuoteMode = false;
- char BufferChar = 0;
- int StringDataSize = LoadStringData->size();
- int SeekCount = 0;
- string PropertyName;
- string PropertyValue;
+ bool newLine = false;
+ bool skipMode = false;
+ bool colonFound = false;
+ bool quoteMode = false;
+ char bufferChar = 0;
+ int stringDataSize = LoadStringData->size();
+ int seekCount = 0;
+ string propertyName;
+ string propertyValue;
- while (SeekCount < StringDataSize){
+ while (seekCount < stringDataSize){
// Check if character is blank or a tab and is the first character
// on a new line.
- if (((*LoadStringData)[SeekCount] == ' ' ||
- (*LoadStringData)[SeekCount] == '\t')
- && NewLine == true){
+ if (((*loadStringData)[seekCount] == ' ' ||
+ (*loadStringData)[seekCount] == '\t')
+ && newLine == true){
// Character is on a new line and it is a space or
// tab. Ignore this character as it is not part
// of the value.
- NewLine = false;
+ newLine = false;
- } else if ((*LoadStringData)[SeekCount] == '\"'){
+ } else if ((*loadStringData)[seekCount] == '\"'){
- if (QuoteMode == false){
- QuoteMode = true;
+ if (quoteMode == false){
+ quoteMode = true;
} else {
- QuoteMode = false;
+ quoteMode = false;
}
- BufferChar = (*LoadStringData)[SeekCount];
+ bufferChar = (*loadStringData)[seekCount];
- if (ColonFound == false){
- PropertyName += BufferChar;
+ if (colonFound == false){
+ propertyName += bufferChar;
} else {
- PropertyValue += BufferChar;
+ propertyValue += bufferChar;
}
- } else if (NewLine == true){
+ } else if (newLine == true){
// Character is on a new line but not a space or
// tab so check if the colon has been found
// and add the property name and value to
// the lists.
- if (ColonFound == true){
- ObjectName.push_back(PropertyName);
- ObjectData.push_back(PropertyValue);
+ if (colonFound == true){
+ objectName.push_back(propertyName);
+ objectData.push_back(propertyValue);
}
- ColonFound = false;
- NewLine = false;
- PropertyName.clear();
- PropertyValue.clear();
+ colonFound = false;
+ newLine = false;
+ propertyName.clear();
+ propertyValue.clear();
- BufferChar = (*LoadStringData)[SeekCount];
- PropertyName += BufferChar;
+ bufferChar = (*loadStringData)[seekCount];
+ propertyName += bufferChar;
- } else if ((*LoadStringData)[SeekCount] == '\n'){
+ } else if ((*loadStringData)[seekCount] == '\n'){
// Character is the new line character so mark
// the NewLine boolean as true.
- NewLine = true;
+ newLine = true;
- } else if ((*LoadStringData)[SeekCount] == ':' &&
- QuoteMode == false){
+ } else if ((*loadStringData)[seekCount] == ':' &&
+ quoteMode == false){
// Character is the colon. Set the colon
// found boolen to true.
- BufferChar = (*LoadStringData)[SeekCount];
+ bufferChar = (*loadStringData)[seekCount];
- if (ColonFound == true){
- PropertyValue += BufferChar;
+ if (colonFound == true){
+ propertyValue += bufferChar;
} else {
- ColonFound = true;
+ colonFound = true;
}
} else {
// Character is not part of a new line and is not
// the new line character itself.
- BufferChar = (*LoadStringData)[SeekCount];
+ bufferChar = (*loadStringData)[seekCount];
- if (ColonFound == false){
- PropertyName += BufferChar;
+ if (colonFound == false){
+ propertyName += bufferChar;
} else {
- PropertyValue += BufferChar;
+ propertyValue += bufferChar;
}
}
- SeekCount++;
+ seekCount++;
}
// Finish off processing any data that wasn't processed
// when the end of the string was reached.
- if (ColonFound == true &&
- PropertyName.size() > 0 &&
- PropertyValue.size() > 0){
+ if (colonFound == true &&
+ propertyName.size() > 0 &&
+ propertyValue.size() > 0){
- ObjectName.push_back(PropertyName);
- ObjectData.push_back(PropertyValue);
+ objectName.push_back(propertyName);
+ objectData.push_back(propertyValue);
}
// Check that the object contains valid data.
- CalendarObjectLoadResult StringProcResult = CALENDAROBJECTLOAD_UNITTESTFAIL;
- CalendarObjectValidResult BaseDataResult = ValidBaseObject();
- CalendarObjectValidResult EventDataResult = ValidObject();
+ CalendarObjectLoadResult stringProcResult = CALENDAROBJECTLOAD_UNITTESTFAIL;
+ CalendarObjectValidResult baseDataResult = ValidBaseObject();
+ CalendarObjectValidResult eventDataResult = ValidObject();
- if (BaseDataResult != CALENDAROBJECTVALID_OK ||
- EventDataResult != CALENDAROBJECTVALID_OK){
+ if (baseDataResult != CALENDAROBJECTVALID_OK ||
+ eventDataResult != CALENDAROBJECTVALID_OK){
- StringProcResult = CALENDAROBJECTLOAD_INVALIDFORMAT;
+ stringProcResult = CALENDAROBJECTLOAD_INVALIDFORMAT;
} else {
- StringProcResult = CALENDAROBJECTLOAD_OK;
+ stringProcResult = CALENDAROBJECTLOAD_OK;
}
- ProcessBaseData();
- ProcessData();
+ processBaseData();
+ processData();
- return StringProcResult;
+ return stringProcResult;
}
CalendarObjectValidResult CalendarObject::ValidBaseObject(){
- bool ValidBegin = false;
- bool ValidAlarmBegin = false;
- bool ValidVersion = false;
- bool ValidEnd = false;
- int SeekCount = 0;
- vector<int> DeleteLines;
- vector<string> AlarmObjectName;
- vector<string> AlarmObjectData;
+ bool validBegin = false;
+ bool validAlarmBegin = false;
+ bool validVersion = false;
+ bool validEnd = false;
+ int seekCount = 0;
+ vector<int> deleteLines;
+ vector<string> alarmObjectName;
+ vector<string> alarmObjectData;
// Check that the first line contains BEGIN:VCALENDAR
// and it only appears once.
- for (vector<string>::iterator iter = ObjectName.begin();
- iter != ObjectName.end(); iter++){
+ for (vector<string>::iterator iter = objectName.begin();
+ iter != objectName.end(); iter++){
- if (ObjectName[SeekCount] == "BEGIN" &&
- ObjectData[SeekCount] == "VCALENDAR"){
+ if (objectName[seekCount] == "BEGIN" &&
+ objectData[seekCount] == "VCALENDAR"){
- if (ValidBegin == false){
- ValidBegin = true;
+ if (validBegin == false){
+ validBegin = true;
} else {
return CALENDAROBJECTVALID_INVALIDFORMAT;
}
}
- if (ObjectName[SeekCount] == "END" &&
- ObjectData[SeekCount] == "VCALENDAR" &&
- ValidBegin == false){
+ if (objectName[seekCount] == "END" &&
+ objectData[seekCount] == "VCALENDAR" &&
+ validBegin == false){
return CALENDAROBJECTVALID_INVALIDFORMAT;
- } else if (ObjectName[SeekCount] == "END" &&
- ObjectData[SeekCount] == "VALARM" &&
- ValidAlarmBegin == false){
+ } else if (objectName[seekCount] == "END" &&
+ objectData[seekCount] == "VALARM" &&
+ validAlarmBegin == false){
return CALENDAROBJECTVALID_INVALIDFORMAT;
- } else if (ObjectName[SeekCount] == "END" &&
- ObjectData[SeekCount] == "VCALENDAR" &&
- ValidAlarmBegin == true){
+ } else if (objectName[seekCount] == "END" &&
+ objectData[seekCount] == "VCALENDAR" &&
+ validAlarmBegin == true){
return CALENDAROBJECTVALID_INVALIDFORMAT;
// Look for any VALARM sections.
- if (ValidAlarmBegin == true){
+ if (validAlarmBegin == true){
- AlarmObjectName.push_back(ObjectName[SeekCount]);
- AlarmObjectData.push_back(ObjectData[SeekCount]);
- DeleteLines.push_back(SeekCount);
+ alarmObjectName.push_back(objectName[seekCount]);
+ alarmObjectData.push_back(objectData[seekCount]);
+ deleteLines.push_back(seekCount);
}
- if (ObjectName[SeekCount] == "END" &&
- ObjectData[SeekCount] == "VALARM" &&
- ValidAlarmBegin == true){
+ if (objectName[seekCount] == "END" &&
+ objectData[seekCount] == "VALARM" &&
+ validAlarmBegin == true){
- EventAlarmName.push_back(AlarmObjectName);
- EventAlarmData.push_back(AlarmObjectData);
+ eventAlarmName.push_back(AlarmObjectName);
+ eventAlarmData.push_back(AlarmObjectData);
- AlarmObjectName.clear();
- AlarmObjectData.clear();
+ alarmObjectName.clear();
+ alarmObjectData.clear();
- ValidAlarmBegin = false;
+ validAlarmBegin = false;
}
- if (ObjectName[SeekCount] == "BEGIN" &&
- ObjectData[SeekCount] == "VALARM" &&
- ValidBegin == true){
+ if (objectName[seekCount] == "BEGIN" &&
+ objectData[seekCount] == "VALARM" &&
+ validBegin == true){
- if (ValidAlarmBegin == false){
- ValidAlarmBegin = true;
+ if (validAlarmBegin == false){
+ validAlarmBegin = true;
} else {
return CALENDAROBJECTVALID_INVALIDFORMAT;
}
- AlarmObjectName.push_back(ObjectName[SeekCount]);
- AlarmObjectData.push_back(ObjectData[SeekCount]);
- DeleteLines.push_back(SeekCount);
+ alarmObjectName.push_back(objectName[seekCount]);
+ alarmObjectData.push_back(objectData[seekCount]);
+ deleteLines.push_back(seekCount);
}
- SeekCount++;
+ seekCount++;
}
- SeekCount = 0;
+ seekCount = 0;
// Check that the last line contains END:VCALENDAR
// and it only appears once.
- for (vector<string>::iterator iter = ObjectName.begin();
- iter != ObjectName.end(); iter++){
+ for (vector<string>::iterator iter = objectName.begin();
+ iter != objectName.end(); iter++){
- if (ObjectName[SeekCount] == "END" &&
- ObjectData[SeekCount] == "VCALENDAR"){
+ if (objectName[seekCount] == "END" &&
+ objectData[seekCount] == "VCALENDAR"){
- if (ValidEnd == false){
- ValidEnd = true;
+ if (validEnd == false){
+ validEnd = true;
} else {
return CALENDAROBJECTVALID_INVALIDFORMAT;
}
}
- SeekCount++;
+ seekCount++;
}
- SeekCount = 0;
+ seekCount = 0;
// Check that the VERSION value contains 2.0 and that
// it only appears once.
- for (vector<string>::iterator iter = ObjectName.begin();
- iter != ObjectName.end(); iter++){
+ for (vector<string>::iterator iter = objectName.begin();
+ iter != objectName.end(); iter++){
- if (ObjectName[SeekCount] == "VERSION" &&
- ObjectData[SeekCount] == "2.0"){
+ if (objectName[seekCount] == "VERSION" &&
+ objectData[seekCount] == "2.0"){
- if (ValidVersion == false){
- ValidVersion = true;
+ if (validVersion == false){
+ validVersion = true;
} else {
return CALENDAROBJECTVALID_INVALIDFORMAT;
}
}
- SeekCount++;
+ seekCount++;
}
// Remove lines that aren't needed as they have
// been moved to the EventAlarm section.
- for (vector<int>::reverse_iterator deliter = DeleteLines.rbegin();
- deliter != DeleteLines.rend(); deliter++){
+ for (vector<int>::reverse_iterator deliter = deleteLines.rbegin();
+ deliter != deleteLines.rend(); deliter++){
- ObjectName.erase(ObjectName.begin()+(*deliter));
- ObjectData.erase(ObjectData.begin()+(*deliter));
+ objectName.erase(objectName.begin()+(*deliter));
+ objectData.erase(objectData.begin()+(*deliter));
}
- if (ValidBegin == true &&
- ValidEnd == true &&
- ValidVersion == true &&
- ValidAlarmBegin == false){
+ if (validBegin == true &&
+ validEnd == true &&
+ validVersion == true &&
+ validAlarmBegin == false){
return CALENDAROBJECTVALID_OK;
// Process the base object data.
- multimap<string,string> DataReceived;
+ multimap<string,string> dataReceived;
// Get the method (METHOD).
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "METHOD");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "METHOD");
- if (DataReceived.begin() != DataReceived.end()){
+ if (dataReceived.begin() != dataReceived.end()){
try {
- MethodTokens = DataReceived.begin()->first.substr(7);
+ methodTokens = dataReceived.begin()->first.substr(7);
}
catch(const out_of_range &oor){
// Do nothing as there is no data.
}
- MethodData = DataReceived.begin()->second;
+ methodData = dataReceived.begin()->second;
}
// Get the calendar scale (CALSCALE).
- DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "CALSCALE");
+ dataReceived = ProcessTextVectors(&objectName, &objectData, false, "CALSCALE");
- if (DataReceived.begin() != DataReceived.end()){
+ if (dataReceived.begin() != dataReceived.end()){
try {
- CalendarScaleTokens = DataReceived.begin()->first.substr(9);
+ calendarScaleTokens = dataReceived.begin()->first.substr(9);
}
catch(const out_of_range &oor){
// Do nothing as there is no data.
}
- CalendarScaleData = DataReceived.begin()->second;
+ calendarScaleData = dataReceived.begin()->second;
}
struct CalendarAlarmDataStruct{
- CalendarAlarmAction AlarmType = CALENDARALARM_UNSPECIFIED;
-
- string AlarmAction;
- string AlarmActionTokens;
-
- string TriggerData;
- string TriggerValue;
- string TriggerRelated;
- string TriggerTokens;
-
- string DescriptionData;
- string DescriptionAltRep;
- string DescriptionLanguage;
- string DescriptionTokens;
-
- string RepeatData;
- string RepeatTokens;
-
- string SummaryData;
- string SummaryAltRep;
- string SummaryLanguage;
- string SummaryTokens;
-
- vector<string> AttendeeList;
- vector<string> AttendeeListMember;
- vector<string> AttendeeListDelegatedFrom;
- vector<string> AttendeeListDelegatedTo;
- vector<string> AttendeeListRole;
- vector<string> AttendeeListRSVP;
- vector<string> AttendeeListDirectoryEntry;
- vector<string> AttendeeListSentBy;
- vector<string> AttendeeListCommonName;
- vector<string> AttendeeListCalendarUserType;
- vector<string> AttendeeListParticipationStatus;
- vector<string> AttendeeListLanguage;
- vector<string> AttendeeListTokens;
-
- string DurationData;
- string DurationTokens;
-
- vector<string> AttachList;
- vector<string> AttachListTokens;
- vector<string> AttachListEncoding;
- vector<string> AttachListFormatType;
- vector<string> AttachListValue;
-
- vector<string> XTokensData;
- vector<string> XTokensDataTokens;
+ CalendarAlarmAction alarmType = CALENDARALARM_UNSPECIFIED;
+
+ string alarmAction;
+ string alarmActionTokens;
+
+ string triggerData;
+ string triggerValue;
+ string triggerRelated;
+ string triggerTokens;
+
+ string descriptionData;
+ string descriptionAltRep;
+ string descriptionLanguage;
+ string descriptionTokens;
+
+ string repeatData;
+ string repeatTokens;
+
+ string summaryData;
+ string summaryAltRep;
+ string summaryLanguage;
+ string summaryTokens;
+
+ vector<string> attendeeList;
+ vector<string> attendeeListMember;
+ vector<string> attendeeListDelegatedFrom;
+ vector<string> attendeeListDelegatedTo;
+ vector<string> attendeeListRole;
+ vector<string> attendeeListRSVP;
+ vector<string> attendeeListDirectoryEntry;
+ vector<string> attendeeListSentBy;
+ vector<string> attendeeListCommonName;
+ vector<string> attendeeListCalendarUserType;
+ vector<string> attendeeListParticipationStatus;
+ vector<string> attendeeListLanguage;
+ vector<string> attendeeListTokens;
+
+ string durationData;
+ string durationTokens;
+
+ vector<string> attachList;
+ vector<string> attachListTokens;
+ vector<string> attachListEncoding;
+ vector<string> attachListFormatType;
+ vector<string> attachListValue;
+
+ vector<string> xTokensData;
+ vector<string> xTokensDataTokens;
};
class CalendarObject{
public:
- CalendarObjectLoadResult LoadFile(string LoadFilename);
- CalendarObjectLoadResult LoadString(string *LoadStringData);
- CalendarObjectSaveResult SaveFile(string SaveFilename);
- CalendarObjectSaveResult SaveString(string *SaveStringData);
+ CalendarObjectLoadResult LoadFile(string loadFilename);
+ CalendarObjectLoadResult LoadString(string *loadStringData);
+ CalendarObjectSaveResult SaveFile(string saveFilename);
+ CalendarObjectSaveResult SaveString(string *saveStringData);
CalendarObjectValidResult ValidBaseObject();
void ProcessBaseData();
virtual CalendarObjectValidResult ValidObject() { return CALENDAROBJECTVALID_OK; };
virtual void Clear() {};
- virtual void SaveObjectData(string *SaveData) {};
+ virtual void SaveObjectData(string *saveData) {};
// Object data.
- string MethodData;
- string MethodTokens;
+ string methodData;
+ string methodTokens;
- string CalendarScaleData;
- string CalendarScaleTokens;
+ string calendarScaleData;
+ string calendarScaleTokens;
- string UniqueID;
- string UniqueIDTokens;
+ string uniqueID;
+ string uniqueIDTokens;
- vector<string> AttachList;
- vector<string> AttachListTokens;
- vector<string> AttachListEncoding;
- vector<string> AttachListFormatType;
- vector<string> AttachListValue;
+ vector<string> attachList;
+ vector<string> attachListTokens;
+ vector<string> attachListEncoding;
+ vector<string> attachListFormatType;
+ vector<string> attachListValue;
- vector<string> CategoriesList;
- vector<string> CategoriesListLanguage;
- vector<string> CategoriesListTokens;
+ vector<string> categoriesList;
+ vector<string> categoriesListLanguage;
+ vector<string> categoriesListTokens;
- string ClassData;
- string ClassDataTokens;
+ string classData;
+ string classDataTokens;
- string CompletedData;
- string CompletedDataTokens;
+ string completedData;
+ string completedDataTokens;
- vector<string> CommentList;
- vector<string> CommentListAltRep;
- vector<string> CommentListLanguage;
- vector<string> CommentListTokens;
+ vector<string> commentList;
+ vector<string> commentListAltRep;
+ vector<string> commentListLanguage;
+ vector<string> commentListTokens;
- vector<string> DescriptionList;
- vector<string> DescriptionListAltRep;
- vector<string> DescriptionListLanguage;
- vector<string> DescriptionListTokens;
+ vector<string> descriptionList;
+ vector<string> descriptionListAltRep;
+ vector<string> descriptionListLanguage;
+ vector<string> descriptionListTokens;
- string GeographicData;
- string GeographicTokens;
+ string geographicData;
+ string geographicTokens;
- string LocationData;
- string LocationDataAltRep;
- string LocationDataLanguage;
- string LocationDataTokens;
+ string locationData;
+ string locationDataAltRep;
+ string locationDataLanguage;
+ string locationDataTokens;
- string PercentCompleteData;
- string PercentCompleteTokens;
+ string percentCompleteData;
+ string percentCompleteTokens;
- int PriorityData = -1;
- string PriorityTokens;
+ int priorityData = -1;
+ string priorityTokens;
- vector<string> ResourcesData;
- vector<string> ResourcesDataAltRep;
- vector<string> ResourcesDataLanguage;
- vector<string> ResourcesDataTokens;
+ vector<string> resourcesData;
+ vector<string> resourcesDataAltRep;
+ vector<string> resourcesDataLanguage;
+ vector<string> resourcesDataTokens;
- string StatusData;
- string StatusLanguage;
- string StatusTokens;
-
- string SummaryData;
- string SummaryDataAltRep;
- string SummaryDataLanguage;
- string SummaryDataTokens;
-
- string DateTimeEndData;
- string DateTimeEndDataValue;
- string DateTimeEndDataTimeZoneID;
- string DateTimeEndDataTokens;
+ string statusData;
+ string statusLanguage;
+ string statusTokens;
+
+ string summaryData;
+ string summaryDataAltRep;
+ string summaryDataLanguage;
+ string summaryDataTokens;
+
+ string dateTimeEndData;
+ string dateTimeEndDataValue;
+ string dateTimeEndDataTimeZoneID;
+ string dateTimeEndDataTokens;
- string DueData;
- string DueDataValue;
- string DueDataTimeZoneID;
- string DueDataTokens;
+ string dueData;
+ string dueDataValue;
+ string dueDataTimeZoneID;
+ string dueDataTokens;
- string DateTimeStartData;
- string DateTimeStartDataValue;
- string DateTimeStartDataTimeZoneID;
- string DateTimeStartDataTokens;
+ string dateTimeStartData;
+ string dateTimeStartDataValue;
+ string dateTimeStartDataTimeZoneID;
+ string dateTimeStartDataTokens;
- string DurationData;
- string DurationDataTokens;
+ string durationData;
+ string durationDataTokens;
- vector<string> FreeBusyList;
- vector<string> FreeBusyListType;
- vector<string> FreeBusyListTokens;
+ vector<string> freeBusyList;
+ vector<string> freeBusyListType;
+ vector<string> freeBusyListTokens;
- string TimeTransparencyData;
- string TimeTransparencyDataTokens;
+ string timeTransparencyData;
+ string timeTransparencyDataTokens;
- string TimeZoneData;
- string TimeZoneDataTokens;
+ string timeZoneData;
+ string timeZoneDataTokens;
- vector<string> TimeZoneNameList;
- vector<string> TimeZoneNameListLanguage;
- vector<string> TimeZoneNameListTokens;
+ vector<string> timeZoneNameList;
+ vector<string> timeZoneNameListLanguage;
+ vector<string> timeZoneNameListTokens;
- string TimeZoneOffsetFromData;
- string TimeZoneOffsetFromDataTokens;
+ string timeZoneOffsetFromData;
+ string timeZoneOffsetFromDataTokens;
- string TimeZoneOffsetToData;
- string TimeZoneOffsetToDataTokens;
+ string timeZoneOffsetToData;
+ string timeZoneOffsetToDataTokens;
- string TimeZoneURLData;
- string TimeZoneURLTokens;
+ string timeZoneURLData;
+ string timeZoneURLTokens;
- vector<string> AttendeeList;
- vector<string> AttendeeListMember;
- vector<string> AttendeeListDelegatedFrom;
- vector<string> AttendeeListDelegatedTo;
- vector<string> AttendeeListRole;
- vector<string> AttendeeListRSVP;
- vector<string> AttendeeListDirectoryEntry;
- vector<string> AttendeeListSentBy;
- vector<string> AttendeeListCommonName;
- vector<string> AttendeeListCalendarUserType;
- vector<string> AttendeeListParticipationStatus;
- vector<string> AttendeeListLanguage;
- vector<string> AttendeeListTokens;
+ vector<string> attendeeList;
+ vector<string> attendeeListMember;
+ vector<string> attendeeListDelegatedFrom;
+ vector<string> attendeeListDelegatedTo;
+ vector<string> attendeeListRole;
+ vector<string> attendeeListRSVP;
+ vector<string> attendeeListDirectoryEntry;
+ vector<string> attendeeListSentBy;
+ vector<string> attendeeListCommonName;
+ vector<string> attendeeListCalendarUserType;
+ vector<string> attendeeListParticipationStatus;
+ vector<string> attendeeListLanguage;
+ vector<string> attendeeListTokens;
- vector<string> ContactList;
- vector<string> ContactListAltRep;
- vector<string> ContactListLanguage;
- vector<string> ContactListTokens;
-
- string OrganiserData;
- string OrganiserDataCommonName;
- string OrganiserDataDirectoryEntry;
- string OrganiserDataSentByParam;
- string OrganiserDataLanguage;
- string OrganiserDataTokens;
-
- string RecurranceIDData;
- string RecurranceIDDataTimeZoneParam;
- string RecurranceIDDataRangeParam;
- string RecurranceIDDataValue;
- string RecurranceIDDataTokens;
-
- vector<string> RelatedToData;
- vector<string> RelatedToDataRelationType;
- vector<string> RelatedToDataTokens;
-
- string URLData;
- string URLDataTokens;
+ vector<string> contactList;
+ vector<string> contactListAltRep;
+ vector<string> contactListLanguage;
+ vector<string> contactListTokens;
+
+ string organiserData;
+ string organiserDataCommonName;
+ string organiserDataDirectoryEntry;
+ string organiserDataSentByParam;
+ string organiserDataLanguage;
+ string organiserDataTokens;
+
+ string recurranceIDData;
+ string recurranceIDDataTimeZoneParam;
+ string recurranceIDDataRangeParam;
+ string recurranceIDDataValue;
+ string recurranceIDDataTokens;
+
+ vector<string> relatedToData;
+ vector<string> relatedToDataRelationType;
+ vector<string> relatedToDataTokens;
+
+ string urlData;
+ string urlDataTokens;
- vector<string> ExcludeDateData;
- vector<string> ExcludeDateDataValue;
- vector<string> ExcludeDateDataTimeZoneParam;
- vector<string> ExcludeDateDataTokens;
-
- vector<string> RecurranceDateData;
- vector<string> RecurranceDateDataValue;
- vector<string> RecurranceDateDataTimeZoneParam;
- vector<string> RecurranceDateDataTokens;
-
- string RecurranceRuleData;
- string RecurranceRuleDataTokens;
-
- string TriggerDataList;
- string TriggerDataValue;
- string TriggerDataRelatedParam;
- string TriggerDataTokens;
-
- string DateTimeCreatedData;
- string DateTimeCreatedTokens;
+ vector<string> excludeDateData;
+ vector<string> excludeDateDataValue;
+ vector<string> excludeDateDataTimeZoneParam;
+ vector<string> excludeDateDataTokens;
+
+ vector<string> recurranceDateData;
+ vector<string> recurranceDateDataValue;
+ vector<string> recurranceDateDataTimeZoneParam;
+ vector<string> recurranceDateDataTokens;
+
+ string recurranceRuleData;
+ string recurranceRuleDataTokens;
+
+ string triggerDataList;
+ string triggerDataValue;
+ string triggerDataRelatedParam;
+ string triggerDataTokens;
+
+ string dateTimeCreatedData;
+ string dateTimeCreatedTokens;
- string DateTimeStampData;
- string DateTimeStampTokens;
+ string dateTimeStampData;
+ string dateTimeStampTokens;
- string LastModifiedData;
- string LastModifiedTokens;
+ string lastModifiedData;
+ string lastModifiedTokens;
- int SequenceData = -1;
- string SequenceTokens;
+ int sequenceData = -1;
+ string sequenceTokens;
- vector<string> XTokensData;
- vector<string> XTokensDataTokens;
+ vector<string> xTokensData;
+ vector<string> xTokensDataTokens;
- vector<string> RequestStatusData;
- vector<string> RequestStatusLanguage;
- vector<string> RequestStatusTokens;
+ vector<string> requestStatusData;
+ vector<string> requestStatusLanguage;
+ vector<string> requestStatusTokens;
- vector<CalendarAlarmDataStruct> CalendarAlarmData;
+ vector<CalendarAlarmDataStruct> calendarAlarmData;
protected:
// Initial Loading Data.
- vector<string> ObjectName;
- vector<string> ObjectData;
+ vector<string> objectName;
+ vector<string> objectData;
- vector<vector<string>> EventAlarmName;
- vector<vector<string>> EventAlarmData;
+ vector<vector<string>> eventAlarmName;
+ vector<vector<string>> eventAlarmData;
private:
virtual void ProcessData() {};