Public Member Functions | Static Public Member Functions | List of all members
Celartem::DjVu::StorageLocator Class Referenceabstract

#include <djv_storagelocator.h>

Inheritance diagram for Celartem::DjVu::StorageLocator:
Inheritance graph
[legend]

Public Member Functions

virtual AutoPtr< StoragelocateStorage (const String &inName)=0
 
- Public Member Functions inherited from Celartem::Referable
 Referable ()
 
void addRef () const
 
void releaseRef () const
 
size_t getReferenceCount () const
 

Static Public Member Functions

static AutoPtr< StorageLocatorcreate (const String &inIndexFileName)
 
- Static Public Member Functions inherited from Celartem::Referable
static void dumpDbgAllRefCount ()
 

Detailed Description

This class is used when locating indirect files.

Member Function Documentation

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

This function creates a new StorageLocator instance.

Parameters
inIndexFileNameThe name of the index file.
All the indirect files are placed on the same folder to the file.
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
inNameThe name of the DjVu indirect file.
Returns
Pointer to the Storage instance corresponding to the name.

Implemented in Celartem::DjVu::StorageWithRollbackLocator.


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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo