#include <sstream>
#include <vector>
+using namespace std;
+
enum CalendarObjectLoadResult {
CALENDAROBJECTLOAD_UNITTESTFAIL = -1,
CALENDAROBJECTLOAD_OK,
virtual CalendarObjectValidResult ValidObject() { return CALENDAROBJECTVALID_OK; };
virtual void Clear() {};
- virtual void ProcessData() {};
protected:
- std::vector<std::string> ObjectName;
- std::vector<std::string> ObjectData;
+ // Initial Loading Data.
+ vector<std::string> ObjectName;
+ vector<std::string> ObjectData;
- private:
+ // Object data.
+
+ vector<std::string> AttachList;
+ vector<std::string> AttachListTokens;
+ vector<std::string> AttachListEncoding;
+ vector<std::string> AttachListValue;
+
+ vector<std::string> CategoriesList;
+ vector<std::string> CategoriesListLanguage;
+ vector<std::string> CateogriesListTokens;
+
+ std::string ClassData;
+ std::string ClassListTokens;
+
+ vector<std::string> CommentList;
+ vector<std::string> CommentListAltID;
+ vector<std::string> CommentListLanguage;
+ vector<std::string> CommentListTokens;
+
+ vector<std::string> DescriptionList;
+ vector<std::string> DescriptionListAltID;
+ vector<std::string> DescriptionListLanguage;
+ vector<std::string> DescriptionListTokens;
+
+ std::string GeographicData;
+ std::string GeographicTokens;
+
+ std::string LocationData;
+ std::string LocationDataAltID;
+
+ std::string PercentCompleteData;
+ std::string PercentCompleteTokens;
+
+ int PriorityData;
+ std::string PriorityTokens;
+
+ std::string ResourcesData;
+ std::string ResourcesDataAltID;
+ std::string ResourcesDataLanguage;
+ std::string ResourcesDataTokens;
+
+ std::string StatusData;
+ std::string StatusTokens;
+
+ std::string SummaryData;
+ std::string SummaryDataAltID;
+ std::string SummaryDataLanguage;
+ std::string SummaryDataTokens;
+
+ std::string DataTimeEndData;
+ std::string DataTimeEndDataValue;
+ std::string DataTimeEndDataTimeZoneID;
+ std::string DataTimeEndDataTokens;
+
+ std::string DueData;
+ std::string DueDataValue;
+ std::string DueDataTimeZoneID;
+ std::string DueDataTokens;
+
+ std::string DataTimeStartData;
+ std::string DataTimeStartDataValue;
+ std::string DataTimeStartDataTimeZoneID;
+ std::string DataTimeStartDataTokens;
+ std::string DurationData;
+ std::string DurationDataTokens;
+
+ vector<std::string> FreeBusyList;
+ vector<std::string> FreeBusyListType;
+ vector<std::string> FreeBusyListTokens;
+
+ std::string TimeTransparencyData;
+ std::string TimeTransparencyDataTokens;
+
+ private:
+ virtual void ProcessData() {};
};