Skip to content

Refactor HduCategory #53

@kabasset

Description

@kabasset

Instead of the trits-based selection, variable-size types could be used in the form of enums wrapped in some Selector decorator which would provide the Unconstrained case and the operators.

The following enums would be added:

enum HduType { Primary, Image, Bintable };
enum ImageType { Int, Float }; // Deprecated with Compress
enum CompressionType { None, Lossless, Lossy };
enum DataBlocks { None, Single, Multiple }; // Or a long?
enum HduStatus { Untouched, Read, Edited, Created };

They could be used standalone in subsequent versions, too, e.g. Hdu::type() -> HduType.

Metadata

Metadata

Assignees

Labels

breakingWould break current APIenhancementNew feature or request related to an existing service

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions