Task #3430

Design the Abstraction to Represent a File Manifet

Added by Michael Sweatt over 4 years ago. Updated over 4 years ago.

Start date:
Due date:
% Done:


Estimated time:


class FileManifest {
name : Name; // T name of the file
data_packet_size: size_t; // The size of each data packet in this file
catalog: Container; // A catalog of names of data packets with implicit digests
digest_type : DigestAlgorithm; // Type of the digest used

  • This represents a value type
  • Should support wireEncode and wireDecode

Updated by Michael Sweatt over 4 years ago

Created the an initial proposal for the interface (
Design choices:

  • Only allow specification of the name of the file, the size of the data packets, and digest type upon initial construction

  • Expose a const reference to the catalog to simplify the interface at the expense of encapsulation

  • Expose minimal manipulators for the catalog (with the understanding that we can add more if they seem useful later)

  • No virtual methods, this type should not be extended, if we see a need later, we can provide it


Updated by Michael Sweatt over 4 years ago

  • Status changed from New to Closed

Merged to master

Also available in: Atom PDF