jigdo API

JigdoDesc::WrittenFile Class Reference

Like MatchedFile - used only in .tmp files to express that the file data was successfully written to the image. More...

#include <mkimage.hh>

Inheritance diagram for JigdoDesc::WrittenFile:

JigdoDesc::MatchedFile JigdoDesc

List of all members.


Public Member Functions

 WrittenFile (uint64 o, uint64 s, const RsyncSum64 &r, const MD5 &m)
bool operator== (const JigdoDesc &x) const
Type type () const
 Entry type of JigdoDesc child class.
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

Like MatchedFile - used only in .tmp files to express that the file data was successfully written to the image.

NB: Because this derives from MatchedFile and because of the implementation of JigdoDesc::operator==, MatchedFile's and WrittenFile's will compare equal if their data fields are identical.


Constructor & Destructor Documentation

JigdoDesc::WrittenFile::WrittenFile ( uint64  o,
uint64  s,
const RsyncSum64 r,
const MD5 m 
) [inline]


Member Function Documentation

bool JigdoDesc::WrittenFile::operator== ( const JigdoDesc x  )  const [inline, virtual]

Type JigdoDesc::WrittenFile::type (  )  const [inline, virtual]

Entry type of JigdoDesc child class.

Reimplemented from JigdoDesc::MatchedFile.

References JigdoDesc::WRITTEN_FILE.

ostream & JigdoDesc::WrittenFile::put ( ostream &  s  )  const [virtual]

template<class Iterator>
Iterator JigdoDesc::WrittenFile::serialize ( Iterator  i  )  const [inline]

size_t JigdoDesc::WrittenFile::serialSizeOf (  )  const [inline, virtual]

There are no virtual templates, so this wouldn't work: template<class Iterator> virtual Iterator serialize(Iterator i) const; .

Reimplemented from JigdoDesc::MatchedFile.


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

Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6