jigdo API
Last update by Admin on 2010-05-23
JigdoDesc::ImageInfo Class Reference
Information about the image file. More...
#include <mkimage.hh>
Inheritance diagram for JigdoDesc::ImageInfo:

Public Member Functions | |
ImageInfo (uint64 s, const MD5 &m, size_t b) | |
ImageInfo (uint64 s, const MD5Sum &m, size_t b) | |
bool | operator== (const JigdoDesc &x) const |
Type | type () const |
Entry type of JigdoDesc child class. | |
uint64 | size () const |
Size of image area or whole image. | |
const MD5 & | md5 () const |
size_t | blockLength () const |
virtual ostream & | put (ostream &s) const |
Output human-readable summary. | |
template<class Iterator> | |
Iterator | serialize (Iterator i) const |
size_t | serialSizeOf () const |
There are no virtual templates, so this wouldn't work: template<class Iterator> virtual Iterator serialize(Iterator i) const; . |
Detailed Description
Information about the image file.Constructor & Destructor Documentation
JigdoDesc::ImageInfo::ImageInfo | ( | uint64 | s, | |
const MD5 & | m, | |||
size_t | b | |||
) | [inline] |
JigdoDesc::ImageInfo::ImageInfo | ( | uint64 | s, | |
const MD5Sum & | m, | |||
size_t | b | |||
) | [inline] |
Member Function Documentation
bool JigdoDesc::ImageInfo::operator== | ( | const JigdoDesc & | x | ) | const [inline, virtual] |
Type JigdoDesc::ImageInfo::type | ( | ) | const [inline, virtual] |
uint64 JigdoDesc::ImageInfo::size | ( | ) | const [inline, virtual] |
Size of image area or whole image.
Implements JigdoDesc.
Referenced by JigdoDescVec::get(), main(), operator==(), put(), serialize(), and writeMerge().
const MD5& JigdoDesc::ImageInfo::md5 | ( | ) | const [inline] |
Referenced by main(), operator==(), put(), and serialize().
size_t JigdoDesc::ImageInfo::blockLength | ( | ) | const [inline] |
Referenced by put(), serialize(), writeAll(), and writeMerge().
ostream & JigdoDesc::ImageInfo::put | ( | ostream & | s | ) | const [virtual] |
Output human-readable summary.
Implements JigdoDesc.
References blockLength(), md5(), size(), and SIZE_WIDTH.
template<class Iterator>
Iterator JigdoDesc::ImageInfo::serialize | ( | Iterator | i | ) | const [inline] |
References blockLength(), JigdoDesc::IMAGE_INFO, md5(), serialize1(), serialize4(), serialize6(), and size().
Referenced by JigdoDescVec::put().
size_t JigdoDesc::ImageInfo::serialSizeOf | ( | ) | const [inline, virtual] |
There are no virtual templates, so this wouldn't work: template<class Iterator> virtual Iterator serialize(Iterator i) const;
.
Implements JigdoDesc.
The documentation for this class was generated from the following files:
Generated on Tue Sep 23 14:27:42 2008 for jigdo by
