ESA JPIP server
0.1
|
Contains the information of a place-holder. More...
#include <place_holder.h>
Public Member Functions | |
PlaceHolder () | |
Initializes the object. More... | |
PlaceHolder (int id, bool is_jp2c, const FileSegment &header, uint64_t data_length) | |
Initializes the object. More... | |
PlaceHolder (const PlaceHolder &place_holder) | |
Copy constructor. More... | |
template<typename T > | |
T & | SerializeWith (T &stream) |
PlaceHolder & | operator= (const PlaceHolder &place_holder) |
Copy assignment. More... | |
int | length () const |
Returns the length of the place-holder. More... | |
virtual | ~PlaceHolder () |
Public Attributes | |
int | id |
Place-holder identifier. More... | |
bool | is_jp2c |
true if refers to a codestream. More... | |
FileSegment | header |
File segment associated to the box header. More... | |
uint64_t | data_length |
Length of the place-holder data. More... | |
Friends | |
ostream & | operator<< (ostream &out, const PlaceHolder &place_holder) |
Contains the information of a place-holder.
This class can be printed and serialized.
|
inline |
Initializes the object.
|
inline |
Initializes the object.
id | Place-holder identifier. |
is_jp2c | Indicates if is a codestream place-holder. |
header | File segment of the associated header. |
data_length | Length of the place-holder data. |
|
inline |
Copy constructor.
|
inlinevirtual |
|
inline |
Returns the length of the place-holder.
|
inline |
Copy assignment.
|
inline |
|
friend |
uint64_t jpeg2000::PlaceHolder::data_length |
Length of the place-holder data.
FileSegment jpeg2000::PlaceHolder::header |
File segment associated to the box header.
int jpeg2000::PlaceHolder::id |
Place-holder identifier.
bool jpeg2000::PlaceHolder::is_jp2c |
true
if refers to a codestream.