class DjVmDir0: public GPEnabled

Directory of all-in-one-file DjVu documents (also known as DjVm documents).

Inheritance:


Public Classes

[more]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

Public Methods

[more]int get_files_num(void) const
Returns the number of files in the DjVm archive
[more]GP<FileRec> get_file(const char * name)
Returns the file record with name name
[more]GP<FileRec> get_file(int file_num)
Returns the file record number file_num


Inherited from GPEnabled:

Public Methods

oGPEnabled& operator=(const GPEnabled & obj)
oint get_count(void) const

Protected Fields

ovolatile int count


Documentation

Directory of all-in-one-file DjVu documents (also known as DjVm documents). This class can read and write the directory (table of contents, in other words) of a DjVm document. This table of contents lists all files included into the document, not pages like DjVuNavDir does. It is normally stored in the document inside DIR0 chunk where "0" refers to the version number.

An object of this class can be created either as a result of the decoding of an existing DjVm file, or manually by calling the default constructor and adding later directory entries by means of add_file() function.

You normally will not want to create or decode this directory manually. DjVmFile class will do it for you.

oint get_files_num(void) const
Returns the number of files in the DjVm archive

oGP<FileRec> get_file(const char * name)
Returns the file record with name name

oGP<FileRec> get_file(int file_num)
Returns the file record number file_num


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.