Celartem::DjVu::StorageLocator Class Reference

#include <djv_storagelocator.h>

Inheritance diagram for Celartem::DjVu::StorageLocator:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual AutoPtr< StoragelocateStorage (const String &inName)=0

Static Public Member Functions

static AutoPtr< StorageLocatorcreate (const String &inIndexFileName)


Detailed Description

This class is used when locating indirect files.

Definition at line 20 of file djv_storagelocator.h.


Member Function Documentation

virtual AutoPtr<Storage> Celartem::DjVu::StorageLocator::locateStorage ( const String inName  )  [pure virtual]

This method creates a writable Storage instance from the specified indirect file name.

Parameters:
inName The name of the DjVu indirect file.
Returns:
Pointer to the Storage instance corresponding to the name.

Implemented in Celartem::DjVu::StorageWithRollbackLocator.

static AutoPtr<StorageLocator> Celartem::DjVu::StorageLocator::create ( const String inIndexFileName  )  [static]

This function creates a new StorageLocator instance.

Parameters:
inIndexFileName The name of the index file.
All the indirect files are placed on the same folder to the file.

Reimplemented in Celartem::DjVu::StorageWithRollbackLocator.


The documentation for this class was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:30 2008.