ESA JPIP server  0.1
jpeg2000::Packet Class Reference

Contains the information of a packet. More...

#include <packet.h>

Collaboration diagram for jpeg2000::Packet:

Public Member Functions

 Packet ()
 Initializes the object to zero. More...
 
 Packet (int layer, int resolution, int component, Point precinct_xy)
 Initializes the object. More...
 
 Packet (const Packet &packet)
 Copy constructor. More...
 
const Packetoperator= (const Packet &packet)
 Copy assignment. More...
 
virtual ~Packet ()
 

Public Attributes

int layer
 Quality layer. More...
 
int component
 Component number. More...
 
int resolution
 Resolution level. More...
 
Point precinct_xy
 Precinct coordinate. More...
 

Friends

ostream & operator<< (ostream &out, const Packet &packet)
 

Detailed Description

Contains the information of a packet.

This class can be printed.

Constructor & Destructor Documentation

jpeg2000::Packet::Packet ( )
inline

Initializes the object to zero.

jpeg2000::Packet::Packet ( int  layer,
int  resolution,
int  component,
Point  precinct_xy 
)
inline

Initializes the object.

jpeg2000::Packet::Packet ( const Packet packet)
inline

Copy constructor.

virtual jpeg2000::Packet::~Packet ( )
inlinevirtual

Member Function Documentation

const Packet& jpeg2000::Packet::operator= ( const Packet packet)
inline

Copy assignment.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const Packet packet 
)
friend

Member Data Documentation

int jpeg2000::Packet::component

Component number.

int jpeg2000::Packet::layer

Quality layer.

Point jpeg2000::Packet::precinct_xy

Precinct coordinate.

int jpeg2000::Packet::resolution

Resolution level.


The documentation for this class was generated from the following file: