#119 closed defect (fixed)
Necessity of the psMetadata psList Member
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | IPP SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The psMetadata struct has a psList member that holds the same metadata items as
the psHash member, also in the psMetadata struct. As metadata items are added
to both psMetadata containers, it becomes difficult to keep track of the
contents of both containers because of identical names int the psMetadata
psList. Another problem is that deleting an item from psMetadata requires that
both containers must be searched and cleaned for the item in question. A final
problem is that if some metadata items have the same name, they're difficult to
remove from the psList based on index, since you wouldn't know which index
corresponds to which index in the psHash.
Since the psMetadataItem struct already has the psList "items" member, would we
be able to remove the psList member from the psMetadata struct and only use the
psHash member?
Attachments (2)
Change History (10)
by , 22 years ago
| Attachment: | metadata.txt added |
|---|
comment:1 by , 22 years ago
I also think we need to augment the set of psMetadataType with bool and string.
comment:2 by , 22 years ago
| Status: | new → assigned |
|---|
comment:3 by , 22 years ago
Thanks for the clarificataion.
I'll continue programming with two containers in psMetadata.
comment:5 by , 22 years ago
| Owner: | changed from to |
|---|
comment:7 by , 22 years ago
| Keywords: | VERIFIED added |
|---|
Should be fixed in SDRS-07 and ADD-06 (7 September 2004).
comment:8 by , 22 years ago
| Keywords: | VERIFIED removed |
|---|

response to question