artefaktur
software engineer &        architecture

 
 
 
 

class FileSystemFactory

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::FileSystemFactory Class Reference

#include <FileSystemFactory.h>

Inheritance diagram for acdk::io::FileSystemFactory:

acdk::io::ConfigFileSystemFactory acdk::io::RessourceFileSystemFactory acdk::net::ftp::FTPFileSystemFactory acdk::net::UrlFileSystemFactory acdk::vfile::tar::TarFileSystemFactory acdk::vfile::zip::ZipFileSystemFactory List of all members.

Detailed Description

Interface to a factory for file system by name.

Please refer also to  acdk::io::FileSystem.


Public Member Functions

virtual int handleFile (IN(RString) file)=0
 If the file system doesn't handle this file it should return -1 otherwise the index of the start of the root name.

virtual RFileSystem create (IN(RString) file)=0
 create a new FileImplementation of the given file name


Member Function Documentation

virtual RFileSystem acdk::io::FileSystemFactory::create IN(RString file  )  [pure virtual]
 

create a new FileImplementation of the given file name

Implemented in acdk::io::ConfigFileSystemFactory, acdk::io::RessourceFileSystemFactory, acdk::net::ftp::FTPFileSystemFactory, acdk::net::UrlFileSystemFactory, acdk::vfile::tar::TarFileSystemFactory, and acdk::vfile::zip::ZipFileSystemFactory.

virtual int acdk::io::FileSystemFactory::handleFile IN(RString file  )  [pure virtual]
 

If the file system doesn't handle this file it should return -1 otherwise the index of the start of the root name.

Sample: .ressource@tests/acdk/vfile/tar/acdk_dmi-src.tar@/dir/fname.c The RessourceFileSystem returns strlen(.ressource@), The TarFileSytem returns .ressource@tests/acdk/vfile/tar/acdk_dmi-src.tar@

Implemented in acdk::io::ConfigFileSystemFactory, acdk::io::RessourceFileSystemFactory, acdk::net::ftp::FTPFileSystemFactory, acdk::net::UrlFileSystemFactory, acdk::vfile::tar::TarFileSystemFactory, and acdk::vfile::zip::ZipFileSystemFactory.

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer