class DjVmDir0: :FileRec : public GPEnabled

Creates a new file record with name name at offset offset and size size, which is in IFF format if

Inheritance:


Public Fields

[more]GString name
Name of the file.
[more]bool iff_file
1 if the file is in IFF format.
[more]int offset
Offset of the file in the archive.
[more]int size
Size of the file

Public Methods

[more] FileRec(const char * name, bool iff_file, int offset=-1, int size=-1)
Constructs the FileRec object
[more] FileRec(void)
Default constructor


Documentation

Creates a new file record with name name at offset offset and size size, which is in IFF format if

void add_file(const char * name, bool iff_file, int offset=-1, int size=-1);

int get_size(void) const;

void encode(ByteStream & bs);

void decode(ByteStream & bs);

DjVmDir0(const DjVmDir0 & d);

DjVmDir0(void) {}; virtual ~DjVmDir0(void) {}; };

/** Describes a file record inside a DjVm document (archive)

oGString name
Name of the file.

obool iff_file
1 if the file is in IFF format.

oint offset
Offset of the file in the archive.

oint size
Size of the file

o FileRec(const char * name, bool iff_file, int offset=-1, int size=-1)
Constructs the FileRec object

o FileRec(void)
Default constructor


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


DjVu is a trademark of LizardTech, Inc.
All other products mentioned are registered trademarks or trademarks of their respective companies.