ESA JPIP server  0.1
jpeg2000::CodestreamIndex Class Reference

Class used for indexing the information of a JPEG2000 codestream. More...

#include <codestream_index.h>

Collaboration diagram for jpeg2000::CodestreamIndex:

Public Member Functions

 CodestreamIndex ()
 Empty constructor. More...
 
 CodestreamIndex (const CodestreamIndex &index)
 Copy constructor. More...
 
void Clear ()
 Clears the information. More...
 
const CodestreamIndexoperator= (const CodestreamIndex &index)
 Copy assignment. More...
 
template<typename T >
T & SerializeWith (T &stream)
 
virtual ~CodestreamIndex ()
 

Public Attributes

FileSegment header
 Main header segment. More...
 
vector< FileSegmentpackets
 Tile-part packets segments. More...
 
vector< FileSegmentPLT_markers
 PLT markers segments. More...
 

Friends

ostream & operator<< (ostream &out, const CodestreamIndex &index)
 

Detailed Description

Class used for indexing the information of a JPEG2000 codestream.

The indexed information is the segment of the main header, the contiguous segments of packets (usually the data of each tile-part) and the segments of the existing PLT markers. This class can be printed and serialized.

See also
data::FileSegment

Constructor & Destructor Documentation

jpeg2000::CodestreamIndex::CodestreamIndex ( )
inline

Empty constructor.

jpeg2000::CodestreamIndex::CodestreamIndex ( const CodestreamIndex index)
inline

Copy constructor.

virtual jpeg2000::CodestreamIndex::~CodestreamIndex ( )
inlinevirtual

Member Function Documentation

void jpeg2000::CodestreamIndex::Clear ( )
inline

Clears the information.

const CodestreamIndex& jpeg2000::CodestreamIndex::operator= ( const CodestreamIndex index)
inline

Copy assignment.

Here is the call graph for this function:

template<typename T >
T& jpeg2000::CodestreamIndex::SerializeWith ( T &  stream)
inline

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const CodestreamIndex index 
)
friend

Member Data Documentation

FileSegment jpeg2000::CodestreamIndex::header

Main header segment.

vector<FileSegment> jpeg2000::CodestreamIndex::packets

Tile-part packets segments.

vector<FileSegment> jpeg2000::CodestreamIndex::PLT_markers

PLT markers segments.


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