}
}
-
+ // Copy the descriptor List without ID and PATIENT_ID attributes
+ void LevelDescriptor::CopyAttributeDescriptorList()
+ {
+ mAttributeDescriptorListWID = mAttributeDescriptorList;
+ for(AttributeDescriptorListType::iterator it = mAttributeDescriptorListWID.begin();
+ it != mAttributeDescriptorListWID.end(); it++)
+ {
+ if((*it).GetKey() == "ID")
+ {
+ mAttributeDescriptorListWID.erase(it);
+ break;
+ }
+ }
+
+ for(AttributeDescriptorListType::iterator it = mAttributeDescriptorListWID.begin();
+ it != mAttributeDescriptorListWID.end(); it++)
+ {
+ if((*it).GetKey() == "PARENT_ID")
+ {
+ mAttributeDescriptorListWID.erase(it);
+ break;
+ }
+ }
+ }
}
}