#139 closed defect (fixed)
psImage children stored in psArray?
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In psImage, the children in specified by the attributes children & nChildren.
It would be best to change this to a psArray as we agreed to do for psCell,
etc.
Change History (4)
comment:1 by , 22 years ago
| Owner: | changed from to |
|---|
comment:2 by , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
SDRS updated:
typedef struct psImage {
psType type; /< image data type and dimension
const int ncols, nrows; /< size of image
const int x0, y0; /< data region relative to parent
union {
psS8 S8; /< Pointers to char data
psS16 S16; /< Pointers to short-integer data
psS32 S32; /< Pointers to integer data
psS64 S64; /< Pointers to long-integer data
psU8 U8; /< Pointers to unsigned-char data
psU16 U16; /< Pointers to unsigned-short-integer data
psU32 U32; /< Pointers to unsigned-integer data
psU64 U64; /< Pointers to unsigned-long-integer data
psF32 F32; /< Pointers to floating-point data
psF64 F64; /< Pointers to double-precision data
psC32 C32; /< Pointers to complex floating-point data
psC64 C64; /< Pointers to complex floating-point data
} data;
const struct psImage *parent; /< parent, if a subimage
psArray *children; /< children of this region
} psImage;
comment:3 by , 22 years ago
| Keywords: | VERIFIED added |
|---|
Should be fixed in SDRS-07 and ADD-06 (7 September 2004).
comment:4 by , 22 years ago
| Keywords: | VERIFIED removed |
|---|

this seems like a good idea. yes, let's do it.
SDRS APIs need to be updated.