1 #ifndef _JPEG2000_PACKET_H_
2 #define _JPEG2000_PACKET_H_
Packet(int layer, int resolution, int component, Point precinct_xy)
Initializes the object.
Definition: packet.h:35
virtual ~Packet()
Definition: packet.h:72
Packet(const Packet &packet)
Copy constructor.
Definition: packet.h:46
friend ostream & operator<<(ostream &out, const Packet &packet)
Definition: packet.h:64
Represents a couple of integer values that can be used to identify a coordinate as well as a size...
Definition: point.h:18
int layer
Quality layer.
Definition: packet.h:18
int y
Value Y.
Definition: point.h:22
Packet()
Initializes the object to zero.
Definition: packet.h:27
int x
Value X.
Definition: point.h:21
int component
Component number.
Definition: packet.h:19
int resolution
Resolution level.
Definition: packet.h:20
const Packet & operator=(const Packet &packet)
Copy assignment.
Definition: packet.h:54
Point precinct_xy
Precinct coordinate.
Definition: packet.h:21
Contains the information of a packet.
Definition: packet.h:15