}
+ ProcessBaseData();
ProcessData();
return StringProcResult;
}
+}
+
+void CalendarObject::ProcessBaseData(){
+
+ // Process the base object data.
+
+ multimap<string,string> DataReceived;
+
+ // Get the method (METHOD).
+
+ DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "METHOD");
+
+ if (DataReceived.begin() != DataReceived.end()){
+
+ try {
+ MethodTokens = DataReceived.begin()->first.substr(7);
+ }
+
+ catch(const out_of_range &oor){
+ // Do nothing as there is no data.
+ }
+
+ MethodData = DataReceived.begin()->second;
+
+ }
+
}
\ No newline at end of file
CalendarObjectLoadResult LoadFile(std::string LoadFilename);
CalendarObjectLoadResult LoadString(std::string *LoadStringData);
CalendarObjectValidResult ValidBaseObject();
+ void ProcessBaseData();
// Setup virtual subroutines for use by objects
// inheriting from CalendarObject later on.
// Object data.
+ std::string MethodData;
+ std::string MethodTokens;
+
std::string UniqueID;
std::string UniqueIDTokens;