1 #ifndef _JPEG2000_CODESTREAM_INDEX_H_ 2 #define _JPEG2000_CODESTREAM_INDEX_H_ 71 return (stream & header & packets & PLT_markers);
76 out <<
"Header: " << index.
header << endl;
80 for(vector<FileSegment>::const_iterator i = index.
packets.begin(); i != index.
packets.end(); i++)
83 out << endl <<
"PLT-markers: ";
static void copy(std::vector< T > &dest, const std::vector< T > &src)
Copies a vector.
Definition: base.h:30
Contains a set of classes to easy the handling of data and files, as well as the serialization.
Definition: data.h:9
const CodestreamIndex & operator=(const CodestreamIndex &index)
Copy assignment.
Definition: codestream_index.h:60
Identifies a data segment of a file.
Definition: file_segment.h:20
FileSegment header
Main header segment.
Definition: codestream_index.h:28
CodestreamIndex()
Empty constructor.
Definition: codestream_index.h:36
T & SerializeWith(T &stream)
Definition: codestream_index.h:69
virtual ~CodestreamIndex()
Definition: codestream_index.h:93
Set of classes for handling (reading and indexing) image files with the format defined in the Part 1 ...
Definition: codestream_index.h:10
void Clear()
Clears the information.
Definition: codestream_index.h:51
vector< FileSegment > PLT_markers
PLT markers segments.
Definition: codestream_index.h:30
Class used for indexing the information of a JPEG2000 codestream.
Definition: codestream_index.h:25
vector< FileSegment > packets
Tile-part packets segments.
Definition: codestream_index.h:29
ostream & operator<<(ostream &out, const Request &request)
Definition: request.cc:65
CodestreamIndex(const CodestreamIndex &index)
Copy constructor.
Definition: codestream_index.h:43